Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/en/
Dmonitor_stats.c99 static int fill_monitor_counter_q_counter_set1(int cnt, int q_counter, u32 *in) in fill_monitor_counter_q_counter_set1() argument
109 q_counter); in fill_monitor_counter_q_counter_set1()
123 int q_counter = priv->q_counter; in mlx5e_set_monitor_counter() local
132 q_counter) in mlx5e_set_monitor_counter()
133 cnt += fill_monitor_counter_q_counter_set1(cnt, q_counter, in); in mlx5e_set_monitor_counter()
/Linux-v5.4/include/linux/mlx5/
Dtransobj.h73 u16 q_counter; member
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Den_stats.c319 if (priv->q_counter) in mlx5e_grp_q_get_num_stats()
332 for (i = 0; i < NUM_Q_COUNTERS && priv->q_counter; i++) in mlx5e_grp_q_fill_strings()
347 for (i = 0; i < NUM_Q_COUNTERS && priv->q_counter; i++) in mlx5e_grp_q_fill_stats()
361 if (priv->q_counter && in mlx5e_grp_q_update_stats()
362 !mlx5_core_query_q_counter(priv->mdev, priv->q_counter, 0, out, in mlx5e_grp_q_update_stats()
Dtransobj.c316 MLX5_SET(rqc, rqc, counter_set_id, params->q_counter); in mlx5_hairpin_create_rq()
Den_main.c2160 MLX5_SET(rqc, rqc, counter_set_id, priv->q_counter); in mlx5e_build_rq_param()
4984 err = mlx5_core_alloc_q_counter(mdev, &priv->q_counter); in mlx5e_create_q_counters()
4987 priv->q_counter = 0; in mlx5e_create_q_counters()
4999 if (priv->q_counter) in mlx5e_destroy_q_counters()
5000 mlx5_core_dealloc_q_counter(priv->mdev, priv->q_counter); in mlx5e_destroy_q_counters()
Den.h857 u16 q_counter; member
Den_tc.c841 params.q_counter = priv->q_counter; in mlx5e_hairpin_flow_add()