/linux/drivers/net/ethernet/sfc/ |
A D | ethtool.c | 105 unsigned int tx_usecs, rx_usecs; in efx_ethtool_get_coalesce() local 108 efx_get_irq_moderation(efx, &tx_usecs, &rx_usecs, &rx_adaptive); in efx_ethtool_get_coalesce() 110 coalesce->tx_coalesce_usecs = tx_usecs; in efx_ethtool_get_coalesce() 111 coalesce->tx_coalesce_usecs_irq = tx_usecs; in efx_ethtool_get_coalesce() 126 unsigned int tx_usecs, rx_usecs; in efx_ethtool_set_coalesce() local 130 efx_get_irq_moderation(efx, &tx_usecs, &rx_usecs, &adaptive); in efx_ethtool_set_coalesce() 143 coalesce->tx_coalesce_usecs_irq == tx_usecs); in efx_ethtool_set_coalesce() 144 if (coalesce->tx_coalesce_usecs != tx_usecs) in efx_ethtool_set_coalesce() 145 tx_usecs = coalesce->tx_coalesce_usecs; in efx_ethtool_set_coalesce() 147 tx_usecs = coalesce->tx_coalesce_usecs_irq; in efx_ethtool_set_coalesce() [all …]
|
A D | efx.c | 434 int efx_init_irq_moderation(struct efx_nic *efx, unsigned int tx_usecs, in efx_init_irq_moderation() argument 445 if (tx_usecs > timer_max_us || rx_usecs > timer_max_us) in efx_init_irq_moderation() 448 if (tx_usecs != rx_usecs && efx->tx_channel_offset == 0 && in efx_init_irq_moderation() 461 channel->irq_moderation_us = tx_usecs; in efx_init_irq_moderation() 463 channel->irq_moderation_us = tx_usecs; in efx_init_irq_moderation() 469 void efx_get_irq_moderation(struct efx_nic *efx, unsigned int *tx_usecs, in efx_get_irq_moderation() argument 480 *tx_usecs = *rx_usecs; in efx_get_irq_moderation() 485 *tx_usecs = tx_channel->irq_moderation_us; in efx_get_irq_moderation()
|
A D | efx.h | 174 int efx_init_irq_moderation(struct efx_nic *efx, unsigned int tx_usecs, 177 void efx_get_irq_moderation(struct efx_nic *efx, unsigned int *tx_usecs,
|
/linux/drivers/net/ethernet/sfc/falcon/ |
A D | ethtool.c | 585 unsigned int tx_usecs, rx_usecs; in ef4_ethtool_get_coalesce() local 588 ef4_get_irq_moderation(efx, &tx_usecs, &rx_usecs, &rx_adaptive); in ef4_ethtool_get_coalesce() 590 coalesce->tx_coalesce_usecs = tx_usecs; in ef4_ethtool_get_coalesce() 591 coalesce->tx_coalesce_usecs_irq = tx_usecs; in ef4_ethtool_get_coalesce() 606 unsigned int tx_usecs, rx_usecs; in ef4_ethtool_set_coalesce() local 610 ef4_get_irq_moderation(efx, &tx_usecs, &rx_usecs, &adaptive); in ef4_ethtool_set_coalesce() 623 coalesce->tx_coalesce_usecs_irq == tx_usecs); in ef4_ethtool_set_coalesce() 624 if (coalesce->tx_coalesce_usecs != tx_usecs) in ef4_ethtool_set_coalesce() 625 tx_usecs = coalesce->tx_coalesce_usecs; in ef4_ethtool_set_coalesce() 627 tx_usecs = coalesce->tx_coalesce_usecs_irq; in ef4_ethtool_set_coalesce() [all …]
|
A D | efx.h | 202 int ef4_init_irq_moderation(struct ef4_nic *efx, unsigned int tx_usecs, 205 void ef4_get_irq_moderation(struct ef4_nic *efx, unsigned int *tx_usecs,
|
A D | efx.c | 1904 int ef4_init_irq_moderation(struct ef4_nic *efx, unsigned int tx_usecs, in ef4_init_irq_moderation() argument 1915 if (tx_usecs > timer_max_us || rx_usecs > timer_max_us) in ef4_init_irq_moderation() 1918 if (tx_usecs != rx_usecs && efx->tx_channel_offset == 0 && in ef4_init_irq_moderation() 1931 channel->irq_moderation_us = tx_usecs; in ef4_init_irq_moderation() 1937 void ef4_get_irq_moderation(struct ef4_nic *efx, unsigned int *tx_usecs, in ef4_get_irq_moderation() argument 1948 *tx_usecs = *rx_usecs; in ef4_get_irq_moderation() 1953 *tx_usecs = tx_channel->irq_moderation_us; in ef4_get_irq_moderation()
|
/linux/drivers/net/ethernet/hisilicon/hns/ |
A D | hns_ae_adapt.c | 518 u32 *tx_usecs, u32 *rx_usecs) in hns_ae_get_coalesce_usecs() argument 523 *tx_usecs = hns_rcb_get_coalesce_usecs(ring_pair->rcb_common, in hns_ae_get_coalesce_usecs()
|
A D | hnae.h | 489 u32 *tx_usecs, u32 *rx_usecs);
|
/linux/drivers/net/ethernet/synopsys/ |
A D | dwc-xlgmac.h | 587 unsigned int tx_usecs; member
|
A D | dwc-xlgmac-common.c | 217 pdata->tx_usecs = XLGMAC_INIT_DMA_TX_USECS; in xlgmac_init()
|
A 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/drivers/net/ethernet/mellanox/mlx4/ |
A D | en_ethtool.c | 59 priv->tx_cq[t][i]->moder_time = priv->tx_usecs; in mlx4_en_moderation_update() 1010 coal->tx_coalesce_usecs = priv->tx_usecs; in mlx4_en_get_coalesce() 1063 if (coal->tx_coalesce_usecs != priv->tx_usecs || in mlx4_en_set_coalesce() 1065 priv->tx_usecs = coal->tx_coalesce_usecs; in mlx4_en_set_coalesce()
|
A D | mlx4_en.h | 544 u16 tx_usecs; member
|
A D | en_netdev.c | 1415 priv->tx_usecs = MLX4_EN_TX_COAL_TIME; in mlx4_en_set_default_moderation() 1433 cq->moder_time = priv->tx_usecs; in mlx4_en_set_default_moderation()
|
/linux/drivers/net/ethernet/hisilicon/hns3/ |
A D | hnae3.h | 587 u32 *tx_usecs, u32 *rx_usecs);
|
/linux/drivers/net/ethernet/amd/xgbe/ |
A D | xgbe.h | 1145 unsigned int tx_usecs; member
|
A D | xgbe-dev.c | 1657 if (pdata->tx_usecs && !channel->tx_timer_active) { in xgbe_tx_start_xmit() 1660 jiffies + usecs_to_jiffies(pdata->tx_usecs)); in xgbe_tx_start_xmit()
|
A D | xgbe-drv.c | 1085 pdata->tx_usecs = XGMAC_INIT_DMA_TX_USECS; in xgbe_init_tx_coalesce()
|