| /linux/drivers/net/ethernet/sfc/siena/ |
| H A 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() 110 coalesce->tx_coalesce_usecs = tx_usecs; in efx_ethtool_get_coalesce() 111 coalesce->tx_coalesce_usecs_irq = tx_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() 142 rx_may_override_tx = (coalesce->tx_coalesce_usecs == tx_usecs && in efx_ethtool_set_coalesce() 143 coalesce->tx_coalesce_usecs_irq == tx_usecs); in efx_ethtool_set_coalesce() 144 if (coalesce->tx_coalesce_usecs != tx_usecs) in efx_ethtool_set_coalesce() 145 tx_usecs = coalesce->tx_coalesce_usecs; in efx_ethtool_set_coalesce() [all …]
|
| H A D | efx.c | 429 int efx_siena_init_irq_moderation(struct efx_nic *efx, unsigned int tx_usecs, 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() 456 channel->irq_moderation_us = tx_usecs; in efx_siena_init_irq_moderation() 458 channel->irq_moderation_us = tx_usecs; in efx_siena_init_irq_moderation() 464 void efx_siena_get_irq_moderation(struct efx_nic *efx, unsigned int *tx_usecs, in efx_siena_get_irq_moderation() argument 475 *tx_usecs = *rx_usecs; in efx_siena_get_irq_moderation() 480 *tx_usecs = tx_channel->irq_moderation_us; in efx_siena_get_irq_moderation()
|
| H A D | efx.h | 155 int efx_siena_init_irq_moderation(struct efx_nic *efx, unsigned int tx_usecs, 158 void efx_siena_get_irq_moderation(struct efx_nic *efx, unsigned int *tx_usecs,
|
| /linux/drivers/net/ethernet/sfc/ |
| H A 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() 110 coalesce->tx_coalesce_usecs = tx_usecs; in efx_ethtool_get_coalesce() 111 coalesce->tx_coalesce_usecs_irq = tx_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() 142 rx_may_override_tx = (coalesce->tx_coalesce_usecs == tx_usecs && in efx_ethtool_set_coalesce() 143 coalesce->tx_coalesce_usecs_irq == tx_usecs); in efx_ethtool_set_coalesce() 144 if (coalesce->tx_coalesce_usecs != tx_usecs) in efx_ethtool_set_coalesce() 145 tx_usecs = coalesce->tx_coalesce_usecs; in efx_ethtool_set_coalesce() [all …]
|
| H A D | efx.c | 422 int efx_init_irq_moderation(struct efx_nic *efx, unsigned int tx_usecs, in efx_init_irq_moderation() argument 433 if (tx_usecs > timer_max_us || rx_usecs > timer_max_us) in efx_init_irq_moderation() 436 if (tx_usecs != rx_usecs && efx->tx_channel_offset == 0 && in efx_init_irq_moderation() 449 channel->irq_moderation_us = tx_usecs; in efx_init_irq_moderation() 451 channel->irq_moderation_us = tx_usecs; in efx_init_irq_moderation() 457 void efx_get_irq_moderation(struct efx_nic *efx, unsigned int *tx_usecs, in efx_get_irq_moderation() argument 468 *tx_usecs = *rx_usecs; in efx_get_irq_moderation() 473 *tx_usecs = tx_channel->irq_moderation_us; in efx_get_irq_moderation()
|
| H A D | efx.h | 171 int efx_init_irq_moderation(struct efx_nic *efx, unsigned int tx_usecs, 174 void efx_get_irq_moderation(struct efx_nic *efx, unsigned int *tx_usecs,
|
| /linux/drivers/net/ethernet/amd/xgbe/ |
| H A D | xgbe-ethtool.c | 338 ec->tx_coalesce_usecs = pdata->tx_usecs; in xgbe_get_coalesce() 352 unsigned int tx_frames, tx_usecs; in xgbe_set_coalesce() local 378 tx_usecs = ec->tx_coalesce_usecs; in xgbe_set_coalesce() 382 if (!tx_usecs) { in xgbe_set_coalesce() 386 if (tx_usecs > XGMAC_MAX_COAL_TX_TICK) { in xgbe_set_coalesce() 399 if (tx_usecs % jiffy_us) { in xgbe_set_coalesce() 400 tx_usecs = rounddown(tx_usecs, jiffy_us); in xgbe_set_coalesce() 401 if (!tx_usecs) in xgbe_set_coalesce() 402 tx_usecs = jiffy_us; in xgbe_set_coalesce() 405 tx_usecs, jiffy_us); in xgbe_set_coalesce() [all …]
|
| H A D | xgbe-drv.c | 616 if (!pdata->tx_usecs) in xgbe_service_timer() 625 jiffies + usecs_to_jiffies(pdata->tx_usecs)); in xgbe_service_timer() 1043 pdata->tx_usecs = XGMAC_INIT_DMA_TX_USECS; in xgbe_init_tx_coalesce()
|
| H A D | xgbe.h | 1101 unsigned int tx_usecs; member
|
| H A D | xgbe-dev.c | 1579 if (pdata->tx_usecs && !channel->tx_timer_active) { in xgbe_tx_start_xmit() 1582 jiffies + usecs_to_jiffies(pdata->tx_usecs)); in xgbe_tx_start_xmit()
|
| /linux/drivers/net/ethernet/sfc/falcon/ |
| H A D | ethtool.c | 579 unsigned int tx_usecs, rx_usecs; in ef4_ethtool_get_coalesce() local 582 ef4_get_irq_moderation(efx, &tx_usecs, &rx_usecs, &rx_adaptive); in ef4_ethtool_get_coalesce() 584 coalesce->tx_coalesce_usecs = tx_usecs; in ef4_ethtool_get_coalesce() 585 coalesce->tx_coalesce_usecs_irq = tx_usecs; in ef4_ethtool_get_coalesce() 600 unsigned int tx_usecs, rx_usecs; in ef4_ethtool_set_coalesce() local 604 ef4_get_irq_moderation(efx, &tx_usecs, &rx_usecs, &adaptive); in ef4_ethtool_set_coalesce() 616 rx_may_override_tx = (coalesce->tx_coalesce_usecs == tx_usecs && in ef4_ethtool_set_coalesce() 617 coalesce->tx_coalesce_usecs_irq == tx_usecs); in ef4_ethtool_set_coalesce() 618 if (coalesce->tx_coalesce_usecs != tx_usecs) in ef4_ethtool_set_coalesce() 619 tx_usecs = coalesce->tx_coalesce_usecs; in ef4_ethtool_set_coalesce() [all …]
|
| H A D | efx.h | 201 int ef4_init_irq_moderation(struct ef4_nic *efx, unsigned int tx_usecs, 204 void ef4_get_irq_moderation(struct ef4_nic *efx, unsigned int *tx_usecs,
|
| H A D | efx.c | 1889 int ef4_init_irq_moderation(struct ef4_nic *efx, unsigned int tx_usecs, in ef4_init_irq_moderation() argument 1900 if (tx_usecs > timer_max_us || rx_usecs > timer_max_us) in ef4_init_irq_moderation() 1903 if (tx_usecs != rx_usecs && efx->tx_channel_offset == 0 && in ef4_init_irq_moderation() 1916 channel->irq_moderation_us = tx_usecs; in ef4_init_irq_moderation() 1922 void ef4_get_irq_moderation(struct ef4_nic *efx, unsigned int *tx_usecs, in ef4_get_irq_moderation() argument 1933 *tx_usecs = *rx_usecs; in ef4_get_irq_moderation() 1938 *tx_usecs = tx_channel->irq_moderation_us; in ef4_get_irq_moderation()
|
| /linux/drivers/net/ethernet/meta/fbnic/ |
| H A D | fbnic_netdev.h | 39 u16 tx_usecs; member
|
| H A D | fbnic_netdev.c | 763 fbn->tx_usecs = FBNIC_TX_USECS_DEFAULT; in fbnic_netdev_alloc()
|
| H A D | fbnic_ethtool.c | 232 ec->tx_coalesce_usecs = fbn->tx_usecs; in fbnic_get_coalesce() 262 fbn->tx_usecs = ec->tx_coalesce_usecs; in fbnic_set_coalesce()
|
| /linux/include/uapi/linux/ |
| H A D | virtio_net.h | 427 __le32 tx_usecs; member
|
| /linux/drivers/net/ethernet/hisilicon/hns/ |
| H A D | hns_ae_adapt.c | 517 u32 *tx_usecs, u32 *rx_usecs) in hns_ae_get_coalesce_usecs() argument 522 *tx_usecs = hns_rcb_get_coalesce_usecs(ring_pair->rcb_common, in hns_ae_get_coalesce_usecs()
|
| H A D | hnae.h | 489 u32 *tx_usecs, u32 *rx_usecs);
|
| /linux/drivers/net/ethernet/synopsys/ |
| H A D | dwc-xlgmac.h | 588 unsigned int tx_usecs; member
|
| H A D | dwc-xlgmac-common.c | 215 pdata->tx_usecs = XLGMAC_INIT_DMA_TX_USECS; in xlgmac_init()
|
| H A D | dwc-xlgmac-hw.c | 693 if (pdata->tx_usecs && !channel->tx_timer_active) { in xlgmac_tx_start_xmit() 696 jiffies + usecs_to_jiffies(pdata->tx_usecs)); in xlgmac_tx_start_xmit()
|
| /linux/drivers/net/ethernet/mellanox/mlx4/ |
| H A D | en_ethtool.c | 59 priv->tx_cq[t][i]->moder_time = priv->tx_usecs; in mlx4_en_moderation_update() 991 coal->tx_coalesce_usecs = priv->tx_usecs; in mlx4_en_get_coalesce() 1044 if (coal->tx_coalesce_usecs != priv->tx_usecs || in mlx4_en_set_coalesce() 1046 priv->tx_usecs = coal->tx_coalesce_usecs; in mlx4_en_set_coalesce()
|
| H A D | mlx4_en.h | 547 u16 tx_usecs; member
|
| /linux/drivers/net/ethernet/hisilicon/hns3/ |
| H A D | hnae3.h | 655 u32 *tx_usecs, u32 *rx_usecs);
|