Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/sfc/siena/
Dethtool.c105 unsigned int tx_usecs, rx_usecs; in efx_ethtool_get_coalesce() local
108 efx_siena_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_siena_get_irq_moderation(efx, &tx_usecs, &rx_usecs, &adaptive); in efx_ethtool_set_coalesce()
142 rx_may_override_tx = (coalesce->tx_coalesce_usecs == tx_usecs && 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()
[all …]
Defx.h155 int efx_siena_init_irq_moderation(struct efx_nic *efx, unsigned int tx_usecs,
158 void efx_siena_get_irq_moderation(struct efx_nic *efx, unsigned int *tx_usecs,
Defx.c430 int efx_siena_init_irq_moderation(struct efx_nic *efx, unsigned int tx_usecs, in efx_siena_init_irq_moderation() argument
441 if (tx_usecs > timer_max_us || rx_usecs > timer_max_us) in efx_siena_init_irq_moderation()
444 if (tx_usecs != rx_usecs && efx->tx_channel_offset == 0 && in efx_siena_init_irq_moderation()
457 channel->irq_moderation_us = tx_usecs; in efx_siena_init_irq_moderation()
459 channel->irq_moderation_us = tx_usecs; in efx_siena_init_irq_moderation()
465 void efx_siena_get_irq_moderation(struct efx_nic *efx, unsigned int *tx_usecs, in efx_siena_get_irq_moderation() argument
476 *tx_usecs = *rx_usecs; in efx_siena_get_irq_moderation()
481 *tx_usecs = tx_channel->irq_moderation_us; in efx_siena_get_irq_moderation()
/linux-6.1.9/drivers/net/ethernet/sfc/
Dethtool.c105 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()
142 rx_may_override_tx = (coalesce->tx_coalesce_usecs == tx_usecs && 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()
[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.c429 int efx_init_irq_moderation(struct efx_nic *efx, unsigned int tx_usecs, in efx_init_irq_moderation() argument
440 if (tx_usecs > timer_max_us || rx_usecs > timer_max_us) in efx_init_irq_moderation()
443 if (tx_usecs != rx_usecs && efx->tx_channel_offset == 0 && in efx_init_irq_moderation()
456 channel->irq_moderation_us = tx_usecs; in efx_init_irq_moderation()
458 channel->irq_moderation_us = tx_usecs; in efx_init_irq_moderation()
464 void efx_get_irq_moderation(struct efx_nic *efx, unsigned int *tx_usecs, in efx_get_irq_moderation() argument
475 *tx_usecs = *rx_usecs; in efx_get_irq_moderation()
480 *tx_usecs = tx_channel->irq_moderation_us; in efx_get_irq_moderation()
/linux-6.1.9/drivers/net/ethernet/sfc/falcon/
Dethtool.c585 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()
622 rx_may_override_tx = (coalesce->tx_coalesce_usecs == tx_usecs && 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()
[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.c1899 int ef4_init_irq_moderation(struct ef4_nic *efx, unsigned int tx_usecs, in ef4_init_irq_moderation() argument
1910 if (tx_usecs > timer_max_us || rx_usecs > timer_max_us) in ef4_init_irq_moderation()
1913 if (tx_usecs != rx_usecs && efx->tx_channel_offset == 0 && in ef4_init_irq_moderation()
1926 channel->irq_moderation_us = tx_usecs; in ef4_init_irq_moderation()
1932 void ef4_get_irq_moderation(struct ef4_nic *efx, unsigned int *tx_usecs, in ef4_get_irq_moderation() argument
1943 *tx_usecs = *rx_usecs; in ef4_get_irq_moderation()
1948 *tx_usecs = tx_channel->irq_moderation_us; in ef4_get_irq_moderation()
/linux-6.1.9/include/uapi/linux/
Dvirtio_net.h373 __le32 tx_usecs; member
/linux-6.1.9/drivers/net/ethernet/synopsys/
Ddwc-xlgmac.h588 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-6.1.9/drivers/net/ethernet/hisilicon/hns/
Dhns_ae_adapt.c518 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()
Dhnae.h489 u32 *tx_usecs, u32 *rx_usecs);
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx4/
Den_ethtool.c59 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()
Dmlx4_en.h544 u16 tx_usecs; member
Den_netdev.c1416 priv->tx_usecs = MLX4_EN_TX_COAL_TIME; in mlx4_en_set_default_moderation()
1434 cq->moder_time = priv->tx_usecs; in mlx4_en_set_default_moderation()
/linux-6.1.9/drivers/net/
Dvirtio_net.c277 u32 tx_usecs; member
2761 coal_tx.tx_usecs = cpu_to_le32(ec->tx_coalesce_usecs); in virtnet_send_notf_coal_cmds()
2771 vi->tx_usecs = ec->tx_coalesce_usecs; in virtnet_send_notf_coal_cmds()
2848 ec->tx_coalesce_usecs = vi->tx_usecs; in virtnet_get_coalesce()
3811 vi->tx_usecs = 0; in virtnet_probe()
/linux-6.1.9/drivers/net/ethernet/amd/xgbe/
Dxgbe.h1173 unsigned int tx_usecs; member
Dxgbe-dev.c1664 if (pdata->tx_usecs && !channel->tx_timer_active) { in xgbe_tx_start_xmit()
1667 jiffies + usecs_to_jiffies(pdata->tx_usecs)); in xgbe_tx_start_xmit()
Dxgbe-drv.c1090 pdata->tx_usecs = XGMAC_INIT_DMA_TX_USECS; in xgbe_init_tx_coalesce()
/linux-6.1.9/drivers/net/ethernet/hisilicon/hns3/
Dhnae3.h614 u32 *tx_usecs, u32 *rx_usecs);