Home
last modified time | relevance | path

Searched refs:et_coalesce (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/socionext/
Dnetsec.c263 struct ethtool_coalesce et_coalesce; member
489 struct ethtool_coalesce *et_coalesce) in netsec_et_get_coalesce() argument
493 *et_coalesce = priv->et_coalesce; in netsec_et_get_coalesce()
499 struct ethtool_coalesce *et_coalesce) in netsec_et_set_coalesce() argument
503 priv->et_coalesce = *et_coalesce; in netsec_et_set_coalesce()
505 if (priv->et_coalesce.tx_coalesce_usecs < 50) in netsec_et_set_coalesce()
506 priv->et_coalesce.tx_coalesce_usecs = 50; in netsec_et_set_coalesce()
507 if (priv->et_coalesce.tx_max_coalesced_frames < 1) in netsec_et_set_coalesce()
508 priv->et_coalesce.tx_max_coalesced_frames = 1; in netsec_et_set_coalesce()
511 priv->et_coalesce.tx_max_coalesced_frames); in netsec_et_set_coalesce()
[all …]
/Linux-v4.19/drivers/infiniband/hw/nes/
Dnes_nic.c1321 struct ethtool_coalesce *et_coalesce) in nes_netdev_set_coalesce() argument
1330 if (et_coalesce->rx_max_coalesced_frames_low) { in nes_netdev_set_coalesce()
1331 shared_timer->threshold_low = et_coalesce->rx_max_coalesced_frames_low; in nes_netdev_set_coalesce()
1333 if (et_coalesce->rx_max_coalesced_frames_irq) { in nes_netdev_set_coalesce()
1334 shared_timer->threshold_target = et_coalesce->rx_max_coalesced_frames_irq; in nes_netdev_set_coalesce()
1336 if (et_coalesce->rx_max_coalesced_frames_high) { in nes_netdev_set_coalesce()
1337 shared_timer->threshold_high = et_coalesce->rx_max_coalesced_frames_high; in nes_netdev_set_coalesce()
1339 if (et_coalesce->rx_coalesce_usecs_low) { in nes_netdev_set_coalesce()
1340 shared_timer->timer_in_use_min = et_coalesce->rx_coalesce_usecs_low; in nes_netdev_set_coalesce()
1342 if (et_coalesce->rx_coalesce_usecs_high) { in nes_netdev_set_coalesce()
[all …]