Searched refs:tx_usecs (Results 1 – 6 of 6) sorted by relevance
/drivers/net/ethernet/sfc/ |
D | ethtool.c | 612 unsigned int tx_usecs, rx_usecs; in efx_ethtool_get_coalesce() local 615 efx_get_irq_moderation(efx, &tx_usecs, &rx_usecs, &rx_adaptive); in efx_ethtool_get_coalesce() 617 coalesce->tx_coalesce_usecs = tx_usecs; in efx_ethtool_get_coalesce() 618 coalesce->tx_coalesce_usecs_irq = tx_usecs; in efx_ethtool_get_coalesce() 631 unsigned int tx_usecs, rx_usecs; in efx_ethtool_set_coalesce() local 638 efx_get_irq_moderation(efx, &tx_usecs, &rx_usecs, &adaptive); in efx_ethtool_set_coalesce() 650 rx_may_override_tx = (coalesce->tx_coalesce_usecs == tx_usecs && in efx_ethtool_set_coalesce() 651 coalesce->tx_coalesce_usecs_irq == tx_usecs); in efx_ethtool_set_coalesce() 652 if (coalesce->tx_coalesce_usecs != tx_usecs) in efx_ethtool_set_coalesce() 653 tx_usecs = coalesce->tx_coalesce_usecs; in efx_ethtool_set_coalesce() [all …]
|
D | efx.h | 130 extern int efx_init_irq_moderation(struct efx_nic *efx, unsigned int tx_usecs, 133 extern void efx_get_irq_moderation(struct efx_nic *efx, unsigned int *tx_usecs,
|
D | efx.c | 1711 int efx_init_irq_moderation(struct efx_nic *efx, unsigned int tx_usecs, in efx_init_irq_moderation() argument 1724 if (tx_usecs > irq_mod_max || rx_usecs > irq_mod_max) in efx_init_irq_moderation() 1727 tx_ticks = irq_mod_ticks(tx_usecs, efx->timer_quantum_ns); in efx_init_irq_moderation() 1749 void efx_get_irq_moderation(struct efx_nic *efx, unsigned int *tx_usecs, in efx_get_irq_moderation() argument 1766 *tx_usecs = *rx_usecs; in efx_get_irq_moderation() 1768 *tx_usecs = DIV_ROUND_UP( in efx_get_irq_moderation()
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | en_ethtool.c | 55 priv->tx_cq[i].moder_time = priv->tx_usecs; in mlx4_en_moderation_update() 396 coal->tx_coalesce_usecs = priv->tx_usecs; in mlx4_en_get_coalesce() 425 if (coal->tx_coalesce_usecs != priv->tx_usecs || in mlx4_en_set_coalesce() 427 priv->tx_usecs = coal->tx_coalesce_usecs; in mlx4_en_set_coalesce()
|
D | mlx4_en.h | 478 u16 tx_usecs; member
|
D | en_netdev.c | 1245 priv->tx_usecs = MLX4_EN_TX_COAL_TIME; in mlx4_en_set_default_moderation() 1262 cq->moder_time = priv->tx_usecs; in mlx4_en_set_default_moderation()
|