/linux-6.1.9/drivers/net/ethernet/sfc/siena/ |
D | ethtool.c | 105 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()
|
D | efx.h | 156 unsigned int rx_usecs, bool rx_adaptive, 159 unsigned int *rx_usecs, bool *rx_adaptive);
|
D | efx.c | 431 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/ |
D | ethtool.c | 105 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()
|
D | efx.h | 175 unsigned int rx_usecs, bool rx_adaptive, 178 unsigned int *rx_usecs, bool *rx_adaptive);
|
D | efx.c | 430 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/ |
D | dwc-xlgmac-ethtool.c | 157 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()
|
D | dwc-xlgmac.h | 593 unsigned int rx_usecs; member
|
D | dwc-xlgmac-common.c | 222 pdata->rx_usecs = XLGMAC_INIT_DMA_RX_USECS; in xlgmac_init()
|
D | dwc-xlgmac-hw.c | 1088 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/ |
D | xgbe-ethtool.c | 437 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()
|
D | xgbe.h | 1178 unsigned int rx_usecs; member
|
D | xgbe-dev.c | 1449 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/ |
D | ethtool.c | 585 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()
|
D | efx.h | 203 unsigned int rx_usecs, bool rx_adaptive, 206 unsigned int *rx_usecs, bool *rx_adaptive);
|
D | efx.c | 1900 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/ |
D | virtio_net.h | 385 __le32 rx_usecs; member
|
/linux-6.1.9/drivers/net/ethernet/hisilicon/hns/ |
D | hns_ae_adapt.c | 518 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()
|
D | hnae.h | 489 u32 *tx_usecs, u32 *rx_usecs);
|
/linux-6.1.9/drivers/net/ethernet/cavium/liquidio/ |
D | lio_ethtool.c | 2330 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()
|
D | liquidio_common.h | 953 u64 rx_usecs; member
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx4/ |
D | en_ethtool.c | 74 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()
|
D | mlx4_en.h | 542 u16 rx_usecs; member
|
/linux-6.1.9/drivers/net/ |
D | virtio_net.c | 278 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/ |
D | hnae3.h | 614 u32 *tx_usecs, u32 *rx_usecs);
|