Home
last modified time | relevance | path

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

12

/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()
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.h156 unsigned int rx_usecs, bool rx_adaptive,
159 unsigned int *rx_usecs, bool *rx_adaptive);
Defx.c431 unsigned int rx_usecs, bool rx_adaptive, 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()
452 efx->irq_rx_moderation_us = rx_usecs; in efx_siena_init_irq_moderation()
455 channel->irq_moderation_us = rx_usecs; in efx_siena_init_irq_moderation()
466 unsigned int *rx_usecs, bool *rx_adaptive) in efx_siena_get_irq_moderation() argument
469 *rx_usecs = efx->irq_rx_moderation_us; in efx_siena_get_irq_moderation()
476 *tx_usecs = *rx_usecs; 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()
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.h175 unsigned int rx_usecs, bool rx_adaptive,
178 unsigned int *rx_usecs, bool *rx_adaptive);
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()
/linux-6.1.9/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()
/linux-6.1.9/drivers/net/ethernet/amd/xgbe/
Dxgbe-ethtool.c437 ec->rx_coalesce_usecs = pdata->rx_usecs; in xgbe_get_coalesce()
452 unsigned int rx_frames, rx_riwt, rx_usecs; in xgbe_set_coalesce() local
456 rx_usecs = ec->rx_coalesce_usecs; in xgbe_set_coalesce()
460 if (rx_usecs && !rx_riwt) in xgbe_set_coalesce()
485 pdata->rx_usecs = rx_usecs; in xgbe_set_coalesce()
Dxgbe.h1178 unsigned int rx_usecs; member
Dxgbe-dev.c1449 unsigned int rx_usecs = pdata->rx_usecs; in xgbe_rx_desc_reset() local
1454 if (!rx_usecs && !rx_frames) { in xgbe_rx_desc_reset()
/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()
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.c1900 unsigned int rx_usecs, bool rx_adaptive, 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()
1921 efx->irq_rx_moderation_us = rx_usecs; in ef4_init_irq_moderation()
1924 channel->irq_moderation_us = rx_usecs; in ef4_init_irq_moderation()
1933 unsigned int *rx_usecs, bool *rx_adaptive) in ef4_get_irq_moderation() argument
1936 *rx_usecs = efx->irq_rx_moderation_us; in ef4_get_irq_moderation()
1943 *tx_usecs = *rx_usecs; in ef4_get_irq_moderation()
/linux-6.1.9/include/uapi/linux/
Dvirtio_net.h385 __le32 rx_usecs; member
/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
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);
/linux-6.1.9/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
/linux-6.1.9/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.h542 u16 rx_usecs; member
/linux-6.1.9/drivers/net/
Dvirtio_net.c278 u32 rx_usecs; member
2774 coal_rx.rx_usecs = cpu_to_le32(ec->rx_coalesce_usecs); in virtnet_send_notf_coal_cmds()
2784 vi->rx_usecs = ec->rx_coalesce_usecs; in virtnet_send_notf_coal_cmds()
2847 ec->rx_coalesce_usecs = vi->rx_usecs; in virtnet_get_coalesce()
3810 vi->rx_usecs = 0; in virtnet_probe()
/linux-6.1.9/drivers/net/ethernet/hisilicon/hns3/
Dhnae3.h614 u32 *tx_usecs, u32 *rx_usecs);

12