Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/
Dmonitor_stats.c97 static int fill_monitor_counter_q_counter_set1(int cnt, int q_counter, u32 *in) in fill_monitor_counter_q_counter_set1() argument
107 q_counter); in fill_monitor_counter_q_counter_set1()
112 static void mlx5e_set_monitor_counter(struct mlx5_core_dev *mdev, int q_counter) in mlx5e_set_monitor_counter() argument
127 q_counter) in mlx5e_set_monitor_counter()
128 cnt += fill_monitor_counter_q_counter_set1(cnt, q_counter, in); in mlx5e_set_monitor_counter()
148 mlx5e_set_monitor_counter(pos, priv->q_counter[i]); in mlx5e_monitor_counter_init()
Dtrap.c66 u16 q_counter; in mlx5e_open_trap_rq() local
71 q_counter = priv->q_counter[0]; in mlx5e_open_trap_rq()
84 err = mlx5e_open_rq(&t->params, rq_param, NULL, node, q_counter, rq); in mlx5e_open_trap_rq()
Dptp.c718 u16 q_counter; in mlx5e_ptp_open_rq() local
725 q_counter = c->priv->q_counter[sd_ix]; in mlx5e_ptp_open_rq()
726 return mlx5e_open_rq(params, rq_param, NULL, node, q_counter, &c->rq); in mlx5e_ptp_open_rq()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/
Dsetup.c97 u16 q_counter = c->priv->q_counter[c->sd_ix]; in mlx5e_open_xsk_rq() local
105 err = mlx5e_open_rq(params, rq_params, xsk, cpu_to_node(c->cpu), q_counter, xskrq); in mlx5e_open_xsk_rq()
/linux-6.12.1/include/linux/mlx5/
Dtransobj.h66 u16 q_counter; member
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/
Den.h910 u16 q_counter[MLX5_SD_MAX_GROUP_SZ]; member
1026 struct mlx5e_xsk_param *xsk, int node, u16 q_counter,
1031 int mlx5e_create_rq(struct mlx5e_rq *rq, struct mlx5e_rq_param *param, u16 q_counter);
Den_main.c1046 int mlx5e_create_rq(struct mlx5e_rq *rq, struct mlx5e_rq_param *param, u16 q_counter) in mlx5e_create_rq() argument
1073 MLX5_SET(rqc, rqc, counter_set_id, q_counter); in mlx5e_create_rq()
1295 struct mlx5e_xsk_param *xsk, int node, u16 q_counter, in mlx5e_open_rq() argument
1308 err = mlx5e_create_rq(rq, param, q_counter); in mlx5e_open_rq()
2465 u16 q_counter = c->priv->q_counter[c->sd_ix]; in mlx5e_open_rxq_rq() local
2472 return mlx5e_open_rq(params, rq_params, NULL, cpu_to_node(c->cpu), q_counter, &c->rq); in mlx5e_open_rxq_rq()
5596 priv->q_counter[i] = in mlx5e_create_q_counters()
5615 if (priv->q_counter[i]) { in mlx5e_destroy_q_counters()
5617 priv->q_counter[i]); in mlx5e_destroy_q_counters()
Dtransobj.c285 MLX5_SET(rqc, rqc, counter_set_id, params->q_counter); in mlx5_hairpin_create_rq()
Den_stats.c581 if (priv->q_counter[i++]) in q_counter_any()
637 if (priv->q_counter[i]) { in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS()
639 priv->q_counter[i]); in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS()
Den_tc.c1171 params.q_counter = priv->q_counter[0]; in mlx5e_hairpin_flow_add()