Home
last modified time | relevance | path

Searched refs:rx_usecs (Results 1 – 25 of 26) sorted by relevance

12

/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()
112 coalesce->rx_coalesce_usecs = rx_usecs; in efx_ethtool_get_coalesce()
113 coalesce->rx_coalesce_usecs_irq = rx_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()
132 if (coalesce->rx_coalesce_usecs != rx_usecs) in efx_ethtool_set_coalesce()
133 rx_usecs = coalesce->rx_coalesce_usecs; in efx_ethtool_set_coalesce()
135 rx_usecs = coalesce->rx_coalesce_usecs_irq; in efx_ethtool_set_coalesce()
149 rc = efx_init_irq_moderation(efx, tx_usecs, rx_usecs, adaptive, in efx_ethtool_set_coalesce()
Defx.c430 unsigned int rx_usecs, bool rx_adaptive, 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()
451 efx->irq_rx_moderation_us = rx_usecs; in efx_init_irq_moderation()
454 channel->irq_moderation_us = rx_usecs; in efx_init_irq_moderation()
465 unsigned int *rx_usecs, bool *rx_adaptive) in efx_get_irq_moderation() argument
468 *rx_usecs = efx->irq_rx_moderation_us; in efx_get_irq_moderation()
475 *tx_usecs = *rx_usecs; in efx_get_irq_moderation()
Defx.h173 unsigned int rx_usecs, bool rx_adaptive,
176 unsigned int *rx_usecs, bool *rx_adaptive);
/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()
112 coalesce->rx_coalesce_usecs = rx_usecs; in efx_ethtool_get_coalesce()
113 coalesce->rx_coalesce_usecs_irq = rx_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()
132 if (coalesce->rx_coalesce_usecs != rx_usecs) in efx_ethtool_set_coalesce()
133 rx_usecs = coalesce->rx_coalesce_usecs; in efx_ethtool_set_coalesce()
135 rx_usecs = coalesce->rx_coalesce_usecs_irq; in efx_ethtool_set_coalesce()
149 rc = efx_siena_init_irq_moderation(efx, tx_usecs, rx_usecs, adaptive, in efx_ethtool_set_coalesce()
Defx.c430 unsigned int rx_usecs, bool rx_adaptive, 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()
451 efx->irq_rx_moderation_us = rx_usecs; in efx_siena_init_irq_moderation()
454 channel->irq_moderation_us = rx_usecs; in efx_siena_init_irq_moderation()
465 unsigned int *rx_usecs, bool *rx_adaptive) in efx_siena_get_irq_moderation() argument
468 *rx_usecs = efx->irq_rx_moderation_us; in efx_siena_get_irq_moderation()
475 *tx_usecs = *rx_usecs; in efx_siena_get_irq_moderation()
Defx.h156 unsigned int rx_usecs, bool rx_adaptive,
159 unsigned int *rx_usecs, bool *rx_adaptive);
/drivers/net/ethernet/synopsys/
Ddwc-xlgmac-ethtool.c157 ec->rx_coalesce_usecs = pdata->rx_usecs; in xlgmac_ethtool_get_coalesce()
172 unsigned int rx_frames, rx_riwt, rx_usecs; in xlgmac_ethtool_set_coalesce() local
175 rx_usecs = ec->rx_coalesce_usecs; in xlgmac_ethtool_set_coalesce()
176 rx_riwt = hw_ops->usec_to_riwt(pdata, rx_usecs); in xlgmac_ethtool_set_coalesce()
189 pdata->rx_usecs = rx_usecs; in xlgmac_ethtool_set_coalesce()
Ddwc-xlgmac.h593 unsigned int rx_usecs; member
Ddwc-xlgmac-common.c222 pdata->rx_usecs = XLGMAC_INIT_DMA_RX_USECS; in xlgmac_init()
Ddwc-xlgmac-hw.c1088 unsigned int rx_usecs = pdata->rx_usecs; in xlgmac_rx_desc_reset() local
1092 if (!rx_usecs && !rx_frames) { in xlgmac_rx_desc_reset()
/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()
592 coalesce->rx_coalesce_usecs = rx_usecs; in ef4_ethtool_get_coalesce()
593 coalesce->rx_coalesce_usecs_irq = rx_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()
612 if (coalesce->rx_coalesce_usecs != rx_usecs) in ef4_ethtool_set_coalesce()
613 rx_usecs = coalesce->rx_coalesce_usecs; in ef4_ethtool_set_coalesce()
615 rx_usecs = coalesce->rx_coalesce_usecs_irq; in ef4_ethtool_set_coalesce()
629 rc = ef4_init_irq_moderation(efx, tx_usecs, rx_usecs, adaptive, in ef4_ethtool_set_coalesce()
Defx.h203 unsigned int rx_usecs, bool rx_adaptive,
206 unsigned int *rx_usecs, bool *rx_adaptive);
Defx.c1899 unsigned int rx_usecs, bool rx_adaptive, in ef4_init_irq_moderation() argument
1909 if (tx_usecs > timer_max_us || rx_usecs > timer_max_us) in ef4_init_irq_moderation()
1912 if (tx_usecs != rx_usecs && efx->tx_channel_offset == 0 && in ef4_init_irq_moderation()
1920 efx->irq_rx_moderation_us = rx_usecs; in ef4_init_irq_moderation()
1923 channel->irq_moderation_us = rx_usecs; in ef4_init_irq_moderation()
1932 unsigned int *rx_usecs, bool *rx_adaptive) in ef4_get_irq_moderation() argument
1935 *rx_usecs = efx->irq_rx_moderation_us; in ef4_get_irq_moderation()
1942 *tx_usecs = *rx_usecs; in ef4_get_irq_moderation()
/drivers/net/ethernet/amd/xgbe/
Dxgbe-ethtool.c442 ec->rx_coalesce_usecs = pdata->rx_usecs; in xgbe_get_coalesce()
457 unsigned int rx_frames, rx_riwt, rx_usecs; in xgbe_set_coalesce() local
461 rx_usecs = ec->rx_coalesce_usecs; in xgbe_set_coalesce()
465 if (rx_usecs && !rx_riwt) in xgbe_set_coalesce()
490 pdata->rx_usecs = rx_usecs; in xgbe_set_coalesce()
Dxgbe.h1184 unsigned int rx_usecs; member
Dxgbe-dev.c1499 unsigned int rx_usecs = pdata->rx_usecs; in xgbe_rx_desc_reset() local
1504 if (!rx_usecs && !rx_frames) { in xgbe_rx_desc_reset()
Dxgbe-drv.c1119 pdata->rx_usecs = XGMAC_INIT_DMA_RX_USECS; in xgbe_init_rx_coalesce()
/drivers/net/ethernet/hisilicon/hns/
Dhns_ae_adapt.c518 u32 *tx_usecs, u32 *rx_usecs) in hns_ae_get_coalesce_usecs() argument
525 *rx_usecs = hns_rcb_get_coalesce_usecs(ring_pair->rcb_common, in hns_ae_get_coalesce_usecs()
Dhnae.h489 u32 *tx_usecs, u32 *rx_usecs);
/drivers/net/ethernet/cavium/liquidio/
Dlio_ethtool.c2330 rx_coalesce_usecs = intrmod->rx_usecs; in oct_cfg_rx_intrtime()
2343 intrmod->rx_usecs = rx_coalesce_usecs; in oct_cfg_rx_intrtime()
2352 rx_coalesce_usecs = intrmod->rx_usecs; in oct_cfg_rx_intrtime()
2365 intrmod->rx_usecs = rx_coalesce_usecs; in oct_cfg_rx_intrtime()
2463 intrmod.rx_usecs = CFG_GET_OQ_INTR_TIME(octeon_get_conf(oct)); in lio_set_intr_coalesce()
Dliquidio_common.h953 u64 rx_usecs; member
/drivers/net/ethernet/mellanox/mlx4/
Den_ethtool.c74 priv->rx_cq[i]->moder_time = priv->rx_usecs; in mlx4_en_moderation_update()
1014 coal->rx_coalesce_usecs = priv->rx_usecs; in mlx4_en_get_coalesce()
1057 priv->rx_usecs = (coal->rx_coalesce_usecs == in mlx4_en_set_coalesce()
Dmlx4_en.h552 u16 rx_usecs; member
Den_netdev.c1414 priv->rx_usecs = MLX4_EN_RX_COAL_TIME; in mlx4_en_set_default_moderation()
1418 priv->dev->mtu, priv->rx_frames, priv->rx_usecs); in mlx4_en_set_default_moderation()
1424 cq->moder_time = priv->rx_usecs; in mlx4_en_set_default_moderation()
/drivers/net/ethernet/hisilicon/hns3/
Dhnae3.h629 u32 *tx_usecs, u32 *rx_usecs);

12