/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.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()
|
D | efx.h | 173 unsigned int rx_usecs, bool rx_adaptive, 176 unsigned int *rx_usecs, bool *rx_adaptive);
|
/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.c | 430 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()
|
D | efx.h | 156 unsigned int rx_usecs, bool rx_adaptive, 159 unsigned int *rx_usecs, bool *rx_adaptive);
|
/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()
|
/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 | 1899 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/ |
D | xgbe-ethtool.c | 442 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()
|
D | xgbe.h | 1184 unsigned int rx_usecs; member
|
D | xgbe-dev.c | 1499 unsigned int rx_usecs = pdata->rx_usecs; in xgbe_rx_desc_reset() local 1504 if (!rx_usecs && !rx_frames) { in xgbe_rx_desc_reset()
|
D | xgbe-drv.c | 1119 pdata->rx_usecs = XGMAC_INIT_DMA_RX_USECS; in xgbe_init_rx_coalesce()
|
/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);
|
/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
|
/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 | 552 u16 rx_usecs; member
|
D | en_netdev.c | 1414 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/ |
D | hnae3.h | 629 u32 *tx_usecs, u32 *rx_usecs);
|