/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 | 429 unsigned int rx_usecs, bool rx_adaptive, in efx_init_irq_moderation() argument 439 if (tx_usecs > timer_max_us || rx_usecs > timer_max_us) in efx_init_irq_moderation() 442 if (tx_usecs != rx_usecs && efx->tx_channel_offset == 0 && in efx_init_irq_moderation() 450 efx->irq_rx_moderation_us = rx_usecs; in efx_init_irq_moderation() 453 channel->irq_moderation_us = rx_usecs; in efx_init_irq_moderation() 464 unsigned int *rx_usecs, bool *rx_adaptive) in efx_get_irq_moderation() argument 467 *rx_usecs = efx->irq_rx_moderation_us; in efx_get_irq_moderation() 474 *tx_usecs = *rx_usecs; in efx_get_irq_moderation()
|
D | efx.h | 175 unsigned int rx_usecs, bool rx_adaptive, 178 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 | 592 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 | 1909 unsigned int rx_usecs, bool rx_adaptive, in ef4_init_irq_moderation() argument 1919 if (tx_usecs > timer_max_us || rx_usecs > timer_max_us) in ef4_init_irq_moderation() 1922 if (tx_usecs != rx_usecs && efx->tx_channel_offset == 0 && in ef4_init_irq_moderation() 1930 efx->irq_rx_moderation_us = rx_usecs; in ef4_init_irq_moderation() 1933 channel->irq_moderation_us = rx_usecs; in ef4_init_irq_moderation() 1942 unsigned int *rx_usecs, bool *rx_adaptive) in ef4_get_irq_moderation() argument 1945 *rx_usecs = efx->irq_rx_moderation_us; in ef4_get_irq_moderation() 1952 *tx_usecs = *rx_usecs; in ef4_get_irq_moderation()
|
/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-ethtool.c | 444 ec->rx_coalesce_usecs = pdata->rx_usecs; in xgbe_get_coalesce() 459 unsigned int rx_frames, rx_riwt, rx_usecs; in xgbe_set_coalesce() local 463 rx_usecs = ec->rx_coalesce_usecs; in xgbe_set_coalesce() 467 if (rx_usecs && !rx_riwt) in xgbe_set_coalesce() 492 pdata->rx_usecs = rx_usecs; in xgbe_set_coalesce()
|
D | xgbe.h | 1151 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()
|
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 | 519 u32 *tx_usecs, u32 *rx_usecs) in hns_ae_get_coalesce_usecs() argument 526 *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 | 2325 rx_coalesce_usecs = intrmod->rx_usecs; in oct_cfg_rx_intrtime() 2338 intrmod->rx_usecs = rx_coalesce_usecs; in oct_cfg_rx_intrtime() 2347 rx_coalesce_usecs = intrmod->rx_usecs; in oct_cfg_rx_intrtime() 2360 intrmod->rx_usecs = rx_coalesce_usecs; in oct_cfg_rx_intrtime() 2458 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 | 73 priv->rx_cq[i]->moder_time = priv->rx_usecs; in mlx4_en_moderation_update() 1011 coal->rx_coalesce_usecs = priv->rx_usecs; in mlx4_en_get_coalesce() 1054 priv->rx_usecs = (coal->rx_coalesce_usecs == in mlx4_en_set_coalesce()
|
D | mlx4_en.h | 539 u16 rx_usecs; member
|
D | en_netdev.c | 1413 priv->rx_usecs = MLX4_EN_RX_COAL_TIME; in mlx4_en_set_default_moderation() 1417 priv->dev->mtu, priv->rx_frames, priv->rx_usecs); in mlx4_en_set_default_moderation() 1423 cq->moder_time = priv->rx_usecs; in mlx4_en_set_default_moderation()
|
/drivers/net/ethernet/hisilicon/hns3/ |
D | hnae3.h | 580 u32 *tx_usecs, u32 *rx_usecs);
|