Home
last modified time | relevance | path

Searched refs:tx_usecs (Results 1 – 18 of 18) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/sfc/
Dethtool.c103 unsigned int tx_usecs, rx_usecs; in efx_ethtool_get_coalesce() local
106 efx_get_irq_moderation(efx, &tx_usecs, &rx_usecs, &rx_adaptive); in efx_ethtool_get_coalesce()
108 coalesce->tx_coalesce_usecs = tx_usecs; in efx_ethtool_get_coalesce()
109 coalesce->tx_coalesce_usecs_irq = tx_usecs; in efx_ethtool_get_coalesce()
122 unsigned int tx_usecs, rx_usecs; in efx_ethtool_set_coalesce() local
126 efx_get_irq_moderation(efx, &tx_usecs, &rx_usecs, &adaptive); in efx_ethtool_set_coalesce()
138 rx_may_override_tx = (coalesce->tx_coalesce_usecs == tx_usecs && in efx_ethtool_set_coalesce()
139 coalesce->tx_coalesce_usecs_irq == tx_usecs); in efx_ethtool_set_coalesce()
140 if (coalesce->tx_coalesce_usecs != tx_usecs) in efx_ethtool_set_coalesce()
141 tx_usecs = coalesce->tx_coalesce_usecs; in efx_ethtool_set_coalesce()
[all …]
Defx.h174 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,
Defx.c434 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()
/Linux-v5.10/drivers/net/ethernet/sfc/falcon/
Dethtool.c583 unsigned int tx_usecs, rx_usecs; in ef4_ethtool_get_coalesce() local
586 ef4_get_irq_moderation(efx, &tx_usecs, &rx_usecs, &rx_adaptive); in ef4_ethtool_get_coalesce()
588 coalesce->tx_coalesce_usecs = tx_usecs; in ef4_ethtool_get_coalesce()
589 coalesce->tx_coalesce_usecs_irq = tx_usecs; in ef4_ethtool_get_coalesce()
602 unsigned int tx_usecs, rx_usecs; in ef4_ethtool_set_coalesce() local
606 ef4_get_irq_moderation(efx, &tx_usecs, &rx_usecs, &adaptive); in ef4_ethtool_set_coalesce()
618 rx_may_override_tx = (coalesce->tx_coalesce_usecs == tx_usecs && in ef4_ethtool_set_coalesce()
619 coalesce->tx_coalesce_usecs_irq == tx_usecs); in ef4_ethtool_set_coalesce()
620 if (coalesce->tx_coalesce_usecs != tx_usecs) in ef4_ethtool_set_coalesce()
621 tx_usecs = coalesce->tx_coalesce_usecs; in ef4_ethtool_set_coalesce()
[all …]
Defx.h202 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,
Defx.c1908 int ef4_init_irq_moderation(struct ef4_nic *efx, unsigned int tx_usecs, in ef4_init_irq_moderation() argument
1919 if (tx_usecs > timer_max_us || rx_usecs > timer_max_us) in ef4_init_irq_moderation()
1922 if (tx_usecs != rx_usecs && efx->tx_channel_offset == 0 && in ef4_init_irq_moderation()
1935 channel->irq_moderation_us = tx_usecs; in ef4_init_irq_moderation()
1941 void ef4_get_irq_moderation(struct ef4_nic *efx, unsigned int *tx_usecs, in ef4_get_irq_moderation() argument
1952 *tx_usecs = *rx_usecs; in ef4_get_irq_moderation()
1957 *tx_usecs = tx_channel->irq_moderation_us; in ef4_get_irq_moderation()
/Linux-v5.10/drivers/net/ethernet/synopsys/
Ddwc-xlgmac.h587 unsigned int tx_usecs; member
Ddwc-xlgmac-common.c217 pdata->tx_usecs = XLGMAC_INIT_DMA_TX_USECS; in xlgmac_init()
Ddwc-xlgmac-hw.c693 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-v5.10/drivers/net/ethernet/hisilicon/hns/
Dhns_ae_adapt.c539 u32 *tx_usecs, u32 *rx_usecs) in hns_ae_get_coalesce_usecs() argument
544 *tx_usecs = hns_rcb_get_coalesce_usecs(ring_pair->rcb_common, in hns_ae_get_coalesce_usecs()
Dhnae.h495 u32 *tx_usecs, u32 *rx_usecs);
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx4/
Den_ethtool.c58 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()
Dmlx4_en.h560 u16 tx_usecs; member
Den_netdev.c1413 priv->tx_usecs = MLX4_EN_TX_COAL_TIME; in mlx4_en_set_default_moderation()
1431 cq->moder_time = priv->tx_usecs; in mlx4_en_set_default_moderation()
/Linux-v5.10/drivers/net/ethernet/hisilicon/hns3/
Dhnae3.h504 u32 *tx_usecs, u32 *rx_usecs);
/Linux-v5.10/drivers/net/ethernet/amd/xgbe/
Dxgbe.h1145 unsigned int tx_usecs; member
Dxgbe-dev.c1657 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()
Dxgbe-drv.c1085 pdata->tx_usecs = XGMAC_INIT_DMA_TX_USECS; in xgbe_init_tx_coalesce()