Home
last modified time | relevance | path

Searched refs:rx_usecs (Results 1 – 6 of 6) sorted by relevance

/drivers/net/ethernet/sfc/
Dethtool.c612 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()
619 coalesce->rx_coalesce_usecs = rx_usecs; in efx_ethtool_get_coalesce()
620 coalesce->rx_coalesce_usecs_irq = rx_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()
640 if (coalesce->rx_coalesce_usecs != rx_usecs) in efx_ethtool_set_coalesce()
641 rx_usecs = coalesce->rx_coalesce_usecs; in efx_ethtool_set_coalesce()
643 rx_usecs = coalesce->rx_coalesce_usecs_irq; in efx_ethtool_set_coalesce()
657 rc = efx_init_irq_moderation(efx, tx_usecs, rx_usecs, adaptive, in efx_ethtool_set_coalesce()
Defx.h131 unsigned int rx_usecs, bool rx_adaptive,
134 unsigned int *rx_usecs, bool *rx_adaptive);
Defx.c1712 unsigned int rx_usecs, bool rx_adaptive, in efx_init_irq_moderation() argument
1724 if (tx_usecs > irq_mod_max || rx_usecs > irq_mod_max) in efx_init_irq_moderation()
1728 rx_ticks = irq_mod_ticks(rx_usecs, efx->timer_quantum_ns); in efx_init_irq_moderation()
1750 unsigned int *rx_usecs, bool *rx_adaptive) in efx_get_irq_moderation() argument
1757 *rx_usecs = DIV_ROUND_UP(efx->irq_rx_moderation * in efx_get_irq_moderation()
1766 *tx_usecs = *rx_usecs; in efx_get_irq_moderation()
/drivers/net/ethernet/mellanox/mlx4/
Den_ethtool.c66 priv->rx_cq[i].moder_time = priv->rx_usecs; in mlx4_en_moderation_update()
398 coal->rx_coalesce_usecs = priv->rx_usecs; in mlx4_en_get_coalesce()
419 priv->rx_usecs = (coal->rx_coalesce_usecs == in mlx4_en_set_coalesce()
Dmlx4_en.h476 u16 rx_usecs; member
Den_netdev.c1243 priv->rx_usecs = MLX4_EN_RX_COAL_TIME; in mlx4_en_set_default_moderation()
1247 priv->dev->mtu, priv->rx_frames, priv->rx_usecs); in mlx4_en_set_default_moderation()
1253 cq->moder_time = priv->rx_usecs; in mlx4_en_set_default_moderation()