Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_ethtool.c549 struct dim_cq_moder *rx_moder, *tx_moder; in mlx5e_ethtool_get_coalesce() local
562 tx_moder = &priv->channels.params.tx_cq_moderation; in mlx5e_ethtool_get_coalesce()
563 coal->tx_coalesce_usecs = tx_moder->usec; in mlx5e_ethtool_get_coalesce()
564 coal->tx_max_coalesced_frames = tx_moder->pkts; in mlx5e_ethtool_get_coalesce()
691 struct dim_cq_moder *rx_moder, *tx_moder; in mlx5e_ethtool_set_coalesce() local
755 tx_moder = &new_params.tx_cq_moderation; in mlx5e_ethtool_set_coalesce()
774 mlx5e_reset_tx_moderation(tx_moder, new_params.tx_moder_use_cqe_mode, in mlx5e_ethtool_set_coalesce()
777 mlx5e_set_priv_channels_tx_coalesce(priv, tx_moder); in mlx5e_ethtool_set_coalesce()
779 tx_moder->usec = coal->tx_coalesce_usecs; in mlx5e_ethtool_set_coalesce()
780 tx_moder->pkts = coal->tx_max_coalesced_frames; in mlx5e_ethtool_set_coalesce()
[all …]