Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/en/
Dmonitor_stats.c85 static int fill_monitor_counter_q_counter_set1(int cnt, int q_counter, u32 *in) in fill_monitor_counter_q_counter_set1() argument
95 q_counter); in fill_monitor_counter_q_counter_set1()
108 int q_counter = priv->q_counter; in mlx5e_set_monitor_counter() local
117 q_counter) in mlx5e_set_monitor_counter()
118 cnt += fill_monitor_counter_q_counter_set1(cnt, q_counter, in); in mlx5e_set_monitor_counter()
Dparams.h136 u16 q_counter,
139 u16 q_counter,
154 u16 q_counter,
Dparams.c498 u16 q_counter, in mlx5e_build_rq_param() argument
536 MLX5_SET(rqc, rqc, counter_set_id, q_counter); in mlx5e_build_rq_param()
547 u16 q_counter, in mlx5e_build_drop_rq_param() argument
556 MLX5_SET(rqc, rqc, counter_set_id, q_counter); in mlx5e_build_drop_rq_param()
690 u16 q_counter, in mlx5e_build_channel_param() argument
696 err = mlx5e_build_rq_param(mdev, params, NULL, q_counter, &cparam->rq); in mlx5e_build_channel_param()
Dtrap.c111 int max_mtu, u16 q_counter, in mlx5e_build_trap_params() argument
119 mlx5e_build_rq_param(mdev, params, NULL, q_counter, &t->rq_param); in mlx5e_build_trap_params()
133 mlx5e_build_trap_params(priv->mdev, netdev->max_mtu, priv->q_counter, t); in mlx5e_open_trap()
Dptp.c458 u16 q_counter, in mlx5e_ptp_build_rq_param() argument
467 mlx5e_build_rq_param(mdev, params, NULL, q_counter, rq_params); in mlx5e_ptp_build_rq_param()
490 mlx5e_ptp_build_rq_param(c->mdev, c->netdev, c->priv->q_counter, cparams); in mlx5e_ptp_build_params()
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/
Dsetup.c41 u16 q_counter, in mlx5e_build_xsk_cparam() argument
44 mlx5e_build_rq_param(mdev, params, xsk, q_counter, &cparam->rq); in mlx5e_build_xsk_cparam()
110 mlx5e_build_xsk_cparam(priv->mdev, params, xsk, priv->q_counter, cparam); in mlx5e_open_xsk()
/Linux-v5.15/include/linux/mlx5/
Dtransobj.h66 u16 q_counter; member
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/
Den_stats.c494 if (priv->q_counter) in MLX5E_DECLARE_STATS_GRP_OP_NUM_STATS()
507 for (i = 0; i < NUM_Q_COUNTERS && priv->q_counter; i++) in MLX5E_DECLARE_STATS_GRP_OP_FILL_STRS()
522 for (i = 0; i < NUM_Q_COUNTERS && priv->q_counter; i++) in MLX5E_DECLARE_STATS_GRP_OP_FILL_STATS()
540 if (priv->q_counter) { in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS()
542 priv->q_counter); in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS()
Dtransobj.c285 MLX5_SET(rqc, rqc, counter_set_id, params->q_counter); in mlx5_hairpin_create_rq()
Den.h855 u16 q_counter; member
Den_main.c2087 err = mlx5e_build_channel_param(priv->mdev, &chs->params, priv->q_counter, cparam); in mlx5e_open_channels()
4542 priv->q_counter = in mlx5e_create_q_counters()
4557 if (priv->q_counter) { in mlx5e_destroy_q_counters()
4559 priv->q_counter); in mlx5e_destroy_q_counters()
Den_tc.c866 params.q_counter = priv->q_counter; in mlx5e_hairpin_flow_add()