Home
last modified time | relevance | path

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

/dpdk/drivers/net/mlx5/
H A Dmlx5_flow_verbs.c129 pool = cmng->pools[idx / MLX5_COUNTERS_PER_POOL]; in flow_verbs_counter_get_by_idx()
133 return MLX5_POOL_GET_CNT(pool, idx % MLX5_COUNTERS_PER_POOL); in flow_verbs_counter_get_by_idx()
256 size = sizeof(*pool) + sizeof(*cnt) * MLX5_COUNTERS_PER_POOL; in flow_verbs_counter_new()
260 for (i = 0; i < MLX5_COUNTERS_PER_POOL; ++i) { in flow_verbs_counter_new()
H A Dmlx5.h355 #define MLX5_COUNTERS_PER_POOL 512 macro
383 ((pi) * MLX5_COUNTERS_PER_POOL + (offset) + 1)
H A Dmlx5.c465 for (j = 0; j < MLX5_COUNTERS_PER_POOL; ++j) in mlx5_flow_aso_age_mng_close()
609 for (j = 0; j < MLX5_COUNTERS_PER_POOL; ++j) { in mlx5_flow_counters_mng_close()
H A Dmlx5_flow_dv.c5883 MLX5_ASSERT(idx / MLX5_COUNTERS_PER_POOL < cmng->n); in flow_dv_counter_get_by_idx()
5884 pool = cmng->pools[idx / MLX5_COUNTERS_PER_POOL]; in flow_dv_counter_get_by_idx()
5905 int base = (pool->min_dcs->id / MLX5_COUNTERS_PER_POOL) * in flow_dv_is_counter_in_pool()
5906 MLX5_COUNTERS_PER_POOL; in flow_dv_is_counter_in_pool()
5908 if (id >= base && id < base + MLX5_COUNTERS_PER_POOL) in flow_dv_is_counter_in_pool()
6059 size += MLX5_COUNTERS_PER_POOL * MLX5_CNT_SIZE; in flow_dv_pool_create()
6060 size += (!age ? 0 : MLX5_COUNTERS_PER_POOL * MLX5_AGE_SIZE); in flow_dv_pool_create()
6090 cmng->max_id = base + MLX5_COUNTERS_PER_POOL - 1; in flow_dv_pool_create()
6140 i = dcs->id % MLX5_COUNTERS_PER_POOL; in flow_dv_counter_pool_prepare()
6158 for (i = 1; i < MLX5_COUNTERS_PER_POOL; ++i) { in flow_dv_counter_pool_prepare()
[all …]
H A Dmlx5_flow.c8808 MLX5_COUNTERS_PER_POOL + in mlx5_flow_create_counter_stat_mem_mng()
8827 size = sizeof(*raw_data) * MLX5_COUNTERS_PER_POOL * raws_n; in mlx5_flow_create_counter_stat_mem_mng()
8840 mem_mng->raws[i].data = raw_data + i * MLX5_COUNTERS_PER_POOL; in mlx5_flow_create_counter_stat_mem_mng()
8948 MLX5_COUNTERS_PER_POOL, in mlx5_flow_query_alarm()
8995 for (i = 0; i < MLX5_COUNTERS_PER_POOL; ++i) { in mlx5_flow_aging_check()
9499 max = MLX5_COUNTERS_PER_POOL * cmng->n_valid; in mlx5_flow_dev_dump_sh_all()