Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Den_ethtool.c520 struct dim_cq_moder *rx_moder, *tx_moder; in mlx5e_ethtool_get_coalesce() local
530 tx_moder = &priv->channels.params.tx_cq_moderation; in mlx5e_ethtool_get_coalesce()
531 coal->tx_coalesce_usecs = tx_moder->usec; in mlx5e_ethtool_get_coalesce()
532 coal->tx_max_coalesced_frames = tx_moder->pkts; in mlx5e_ethtool_get_coalesce()
604 struct dim_cq_moder *rx_moder, *tx_moder; in mlx5e_ethtool_set_coalesce() local
643 tx_moder = &new_params.tx_cq_moderation; in mlx5e_ethtool_set_coalesce()
644 tx_moder->usec = coal->tx_coalesce_usecs; in mlx5e_ethtool_set_coalesce()
645 tx_moder->pkts = coal->tx_max_coalesced_frames; in mlx5e_ethtool_set_coalesce()
658 if (cq_period_mode != tx_moder->cq_period_mode) { in mlx5e_ethtool_set_coalesce()