Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_ethtool.c559 coal->use_adaptive_rx_coalesce = priv->channels.params.rx_dim_enabled; in mlx5e_ethtool_get_coalesce()
693 bool rx_dim_enabled, tx_dim_enabled; in mlx5e_ethtool_set_coalesce() local
731 rx_dim_enabled = !!coal->use_adaptive_rx_coalesce; in mlx5e_ethtool_set_coalesce()
739 rx_dim_enabled, false); in mlx5e_ethtool_set_coalesce()
747 reset_rx |= rx_dim_enabled != new_params.rx_dim_enabled; in mlx5e_ethtool_set_coalesce()
752 new_params.rx_dim_enabled = rx_dim_enabled; in mlx5e_ethtool_set_coalesce()
762 rx_dim_enabled); in mlx5e_ethtool_set_coalesce()
765 } else if (!rx_dim_enabled) { in mlx5e_ethtool_set_coalesce()
786 err = mlx5e_channels_rx_change_dim(&priv->channels, rx_dim_enabled); in mlx5e_ethtool_set_coalesce()
813 bool rx_dim_enabled, tx_dim_enabled; in mlx5e_ethtool_set_per_queue_coalesce() local
[all …]
H A Den.h303 bool rx_dim_enabled; member
H A Den_main.c1319 if (rq->channel && !params->rx_dim_enabled) { in mlx5e_open_rq()
1328 params->rx_dim_enabled); in mlx5e_open_rq()
1330 err = mlx5e_dim_rx_change(rq, params->rx_dim_enabled); in mlx5e_open_rq()
5220 params->rx_dim_enabled = MLX5_CAP_GEN(mdev, cq_moderation) && in mlx5e_build_nic_params()
5227 params->rx_dim_enabled); in mlx5e_build_nic_params()
H A Den_rep.c869 params->rx_dim_enabled = MLX5_CAP_GEN(mdev, cq_moderation); in mlx5e_build_rep_params()
/linux/drivers/net/
H A Dvirtio_net.c471 bool rx_dim_enabled; member
4889 if (rx_ctrl_dim_on && !vi->rx_dim_enabled) { in virtnet_send_rx_notf_coal_cmds()
4890 vi->rx_dim_enabled = true; in virtnet_send_rx_notf_coal_cmds()
4903 if (!rx_ctrl_dim_on && vi->rx_dim_enabled) { in virtnet_send_rx_notf_coal_cmds()
4904 vi->rx_dim_enabled = false; in virtnet_send_rx_notf_coal_cmds()
5123 ec->use_adaptive_rx_coalesce = vi->rx_dim_enabled; in virtnet_get_coalesce()