Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Den_ethtool.c525 struct dim_cq_moder *rx_moder, *tx_moder; in mlx5e_ethtool_get_coalesce() local
535 tx_moder = &priv->channels.params.tx_cq_moderation; in mlx5e_ethtool_get_coalesce()
536 coal->tx_coalesce_usecs = tx_moder->usec; in mlx5e_ethtool_get_coalesce()
537 coal->tx_max_coalesced_frames = tx_moder->pkts; in mlx5e_ethtool_get_coalesce()
609 struct dim_cq_moder *rx_moder, *tx_moder; in mlx5e_ethtool_set_coalesce() local
648 tx_moder = &new_params.tx_cq_moderation; in mlx5e_ethtool_set_coalesce()
649 tx_moder->usec = coal->tx_coalesce_usecs; in mlx5e_ethtool_set_coalesce()
650 tx_moder->pkts = coal->tx_max_coalesced_frames; in mlx5e_ethtool_set_coalesce()
663 if (cq_period_mode != tx_moder->cq_period_mode) { in mlx5e_ethtool_set_coalesce()