/Linux-v4.19/drivers/net/ethernet/sfc/falcon/ |
D | ethtool.c | 586 unsigned int tx_usecs, rx_usecs; in ef4_ethtool_get_coalesce() local 589 ef4_get_irq_moderation(efx, &tx_usecs, &rx_usecs, &rx_adaptive); in ef4_ethtool_get_coalesce() 591 coalesce->tx_coalesce_usecs = tx_usecs; in ef4_ethtool_get_coalesce() 592 coalesce->tx_coalesce_usecs_irq = tx_usecs; in ef4_ethtool_get_coalesce() 605 unsigned int tx_usecs, rx_usecs; in ef4_ethtool_set_coalesce() local 612 ef4_get_irq_moderation(efx, &tx_usecs, &rx_usecs, &adaptive); in ef4_ethtool_set_coalesce() 624 rx_may_override_tx = (coalesce->tx_coalesce_usecs == tx_usecs && in ef4_ethtool_set_coalesce() 625 coalesce->tx_coalesce_usecs_irq == tx_usecs); in ef4_ethtool_set_coalesce() 626 if (coalesce->tx_coalesce_usecs != tx_usecs) in ef4_ethtool_set_coalesce() 627 tx_usecs = coalesce->tx_coalesce_usecs; in ef4_ethtool_set_coalesce() [all …]
|
D | efx.h | 205 int ef4_init_irq_moderation(struct ef4_nic *efx, unsigned int tx_usecs, 208 void ef4_get_irq_moderation(struct ef4_nic *efx, unsigned int *tx_usecs,
|
D | efx.c | 1911 int ef4_init_irq_moderation(struct ef4_nic *efx, unsigned int tx_usecs, in ef4_init_irq_moderation() argument 1922 if (tx_usecs > timer_max_us || rx_usecs > timer_max_us) in ef4_init_irq_moderation() 1925 if (tx_usecs != rx_usecs && efx->tx_channel_offset == 0 && in ef4_init_irq_moderation() 1938 channel->irq_moderation_us = tx_usecs; in ef4_init_irq_moderation() 1944 void ef4_get_irq_moderation(struct ef4_nic *efx, unsigned int *tx_usecs, in ef4_get_irq_moderation() argument 1955 *tx_usecs = *rx_usecs; in ef4_get_irq_moderation() 1960 *tx_usecs = tx_channel->irq_moderation_us; in ef4_get_irq_moderation()
|
/Linux-v4.19/drivers/net/ethernet/sfc/ |
D | ethtool.c | 608 unsigned int tx_usecs, rx_usecs; in efx_ethtool_get_coalesce() local 611 efx_get_irq_moderation(efx, &tx_usecs, &rx_usecs, &rx_adaptive); in efx_ethtool_get_coalesce() 613 coalesce->tx_coalesce_usecs = tx_usecs; in efx_ethtool_get_coalesce() 614 coalesce->tx_coalesce_usecs_irq = tx_usecs; in efx_ethtool_get_coalesce() 627 unsigned int tx_usecs, rx_usecs; in efx_ethtool_set_coalesce() local 634 efx_get_irq_moderation(efx, &tx_usecs, &rx_usecs, &adaptive); in efx_ethtool_set_coalesce() 646 rx_may_override_tx = (coalesce->tx_coalesce_usecs == tx_usecs && in efx_ethtool_set_coalesce() 647 coalesce->tx_coalesce_usecs_irq == tx_usecs); in efx_ethtool_set_coalesce() 648 if (coalesce->tx_coalesce_usecs != tx_usecs) in efx_ethtool_set_coalesce() 649 tx_usecs = coalesce->tx_coalesce_usecs; in efx_ethtool_set_coalesce() [all …]
|
D | efx.h | 241 int efx_init_irq_moderation(struct efx_nic *efx, unsigned int tx_usecs, 244 void efx_get_irq_moderation(struct efx_nic *efx, unsigned int *tx_usecs,
|
D | efx.c | 2060 int efx_init_irq_moderation(struct efx_nic *efx, unsigned int tx_usecs, in efx_init_irq_moderation() argument 2071 if (tx_usecs > timer_max_us || rx_usecs > timer_max_us) in efx_init_irq_moderation() 2074 if (tx_usecs != rx_usecs && efx->tx_channel_offset == 0 && in efx_init_irq_moderation() 2087 channel->irq_moderation_us = tx_usecs; in efx_init_irq_moderation() 2093 void efx_get_irq_moderation(struct efx_nic *efx, unsigned int *tx_usecs, in efx_get_irq_moderation() argument 2104 *tx_usecs = *rx_usecs; in efx_get_irq_moderation() 2109 *tx_usecs = tx_channel->irq_moderation_us; in efx_get_irq_moderation()
|
/Linux-v4.19/drivers/net/ethernet/amazon/ena/ |
D | ena_netdev.h | 302 u32 tx_usecs, rx_usecs; /* interrupt moderation */ member
|
D | ena_netdev.c | 1530 adapter->tx_usecs = 0; in ena_restore_ethtool_params()
|
/Linux-v4.19/drivers/net/ethernet/hisilicon/hns3/ |
D | hnae3.h | 325 u32 *tx_usecs, u32 *rx_usecs);
|
/Linux-v4.19/drivers/net/ethernet/synopsys/ |
D | dwc-xlgmac.h | 587 unsigned int tx_usecs; member
|
D | dwc-xlgmac-common.c | 217 pdata->tx_usecs = XLGMAC_INIT_DMA_TX_USECS; in xlgmac_init()
|
D | dwc-xlgmac-hw.c | 693 if (pdata->tx_usecs && !channel->tx_timer_active) { in xlgmac_tx_start_xmit() 696 jiffies + usecs_to_jiffies(pdata->tx_usecs)); in xlgmac_tx_start_xmit()
|
/Linux-v4.19/drivers/net/ethernet/hisilicon/hns/ |
D | hns_ae_adapt.c | 544 u32 *tx_usecs, u32 *rx_usecs) in hns_ae_get_coalesce_usecs() argument 549 *tx_usecs = hns_rcb_get_coalesce_usecs(ring_pair->rcb_common, in hns_ae_get_coalesce_usecs()
|
D | hnae.h | 502 u32 *tx_usecs, u32 *rx_usecs);
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/ |
D | en_ethtool.c | 58 priv->tx_cq[t][i]->moder_time = priv->tx_usecs; in mlx4_en_moderation_update() 1005 coal->tx_coalesce_usecs = priv->tx_usecs; in mlx4_en_get_coalesce() 1056 if (coal->tx_coalesce_usecs != priv->tx_usecs || in mlx4_en_set_coalesce() 1058 priv->tx_usecs = coal->tx_coalesce_usecs; in mlx4_en_set_coalesce()
|
D | mlx4_en.h | 552 u16 tx_usecs; member
|
D | en_netdev.c | 1408 priv->tx_usecs = MLX4_EN_TX_COAL_TIME; in mlx4_en_set_default_moderation() 1426 cq->moder_time = priv->tx_usecs; in mlx4_en_set_default_moderation()
|
/Linux-v4.19/drivers/net/ethernet/amd/xgbe/ |
D | xgbe.h | 1152 unsigned int tx_usecs; member
|
D | xgbe-dev.c | 1647 if (pdata->tx_usecs && !channel->tx_timer_active) { in xgbe_tx_start_xmit() 1650 jiffies + usecs_to_jiffies(pdata->tx_usecs)); in xgbe_tx_start_xmit()
|
D | xgbe-drv.c | 1161 pdata->tx_usecs = XGMAC_INIT_DMA_TX_USECS; in xgbe_init_tx_coalesce()
|