Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/sfc/siena/
H A 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 …]
H A Defx.c429 int efx_siena_init_irq_moderation(struct efx_nic *efx, unsigned int tx_usecs, in efx_siena_init_irq_moderation() argument
440 if (tx_usecs > timer_max_us || rx_usecs > timer_max_us) in efx_siena_init_irq_moderation()
443 if (tx_usecs != rx_usecs && efx->tx_channel_offset == 0 && in efx_siena_init_irq_moderation()
456 channel->irq_moderation_us = tx_usecs; in efx_siena_init_irq_moderation()
458 channel->irq_moderation_us = tx_usecs; in efx_siena_init_irq_moderation()
464 void efx_siena_get_irq_moderation(struct efx_nic *efx, unsigned int *tx_usecs, in efx_siena_get_irq_moderation() argument
475 *tx_usecs = *rx_usecs; in efx_siena_get_irq_moderation()
480 *tx_usecs = tx_channel->irq_moderation_us; in efx_siena_get_irq_moderation()
H A 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,
/linux/drivers/net/ethernet/sfc/
H A 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 …]
H A Defx.c422 int efx_init_irq_moderation(struct efx_nic *efx, unsigned int tx_usecs, in efx_init_irq_moderation() argument
433 if (tx_usecs > timer_max_us || rx_usecs > timer_max_us) in efx_init_irq_moderation()
436 if (tx_usecs != rx_usecs && efx->tx_channel_offset == 0 && in efx_init_irq_moderation()
449 channel->irq_moderation_us = tx_usecs; in efx_init_irq_moderation()
451 channel->irq_moderation_us = tx_usecs; in efx_init_irq_moderation()
457 void efx_get_irq_moderation(struct efx_nic *efx, unsigned int *tx_usecs, in efx_get_irq_moderation() argument
468 *tx_usecs = *rx_usecs; in efx_get_irq_moderation()
473 *tx_usecs = tx_channel->irq_moderation_us; in efx_get_irq_moderation()
/linux/drivers/net/ethernet/meta/fbnic/
H A Dfbnic_netdev.h35 u16 tx_usecs; member
H A Dfbnic_netdev.c690 fbn->tx_usecs = FBNIC_TX_USECS_DEFAULT; in fbnic_netdev_alloc()
H A Dfbnic_txrx.c2210 val |= FIELD_PREP(FBNIC_INTR_CQ_REARM_TCQ_TIMEOUT, fbn->tx_usecs) | in fbnic_config_txrx_usecs()
/linux/include/uapi/linux/
H A Dvirtio_net.h393 __le32 tx_usecs; member
/linux/drivers/net/ethernet/synopsys/
H A Ddwc-xlgmac.h588 unsigned int tx_usecs; member
H A Ddwc-xlgmac-common.c215 pdata->tx_usecs = XLGMAC_INIT_DMA_TX_USECS; in xlgmac_init()
H A 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/drivers/net/ethernet/mellanox/mlx4/
H A Dmlx4_en.h547 u16 tx_usecs; member
H A Den_netdev.c1419 priv->tx_usecs = MLX4_EN_TX_COAL_TIME; in mlx4_en_set_default_moderation()
1437 cq->moder_time = priv->tx_usecs; in mlx4_en_set_default_moderation()
/linux/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-drv.c585 if (!pdata->tx_usecs) in xgbe_service_timer()
594 jiffies + usecs_to_jiffies(pdata->tx_usecs)); in xgbe_service_timer()
997 pdata->tx_usecs = XGMAC_INIT_DMA_TX_USECS; in xgbe_init_tx_coalesce()
H A Dxgbe.h1085 unsigned int tx_usecs; member
H A Dxgbe-dev.c1696 if (pdata->tx_usecs && !channel->tx_timer_active) { in xgbe_tx_start_xmit()
1699 jiffies + usecs_to_jiffies(pdata->tx_usecs)); in xgbe_tx_start_xmit()
/linux/drivers/net/ethernet/hisilicon/hns3/
H A Dhnae3.h648 u32 *tx_usecs, u32 *rx_usecs);
/linux/drivers/net/
H A Dvirtio_net.c5140 coal_tx->tx_usecs = cpu_to_le32(ec->tx_coalesce_usecs); in virtnet_send_tx_notf_coal_cmds()