Home
last modified time | relevance | path

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

/f-stack/dpdk/drivers/net/mlx5/
H A Dmlx5_flow_verbs.c165 pool = cmng->pools[idx / MLX5_COUNTERS_PER_POOL]; in flow_verbs_counter_get_by_idx()
169 return MLX5_POOL_GET_CNT(pool, idx % MLX5_COUNTERS_PER_POOL); in flow_verbs_counter_get_by_idx()
298 size = sizeof(*pool) + sizeof(*cnt) * MLX5_COUNTERS_PER_POOL; in flow_verbs_counter_new()
302 for (i = 0; i < MLX5_COUNTERS_PER_POOL; ++i) { in flow_verbs_counter_new()
H A Dmlx5.h291 #define MLX5_COUNTERS_PER_POOL 512 macro
317 ((pi) * MLX5_COUNTERS_PER_POOL + (offset) + 1)
H A Dmlx5_flow_dv.c4578 MLX5_ASSERT(idx / MLX5_COUNTERS_PER_POOL < cmng->n); in flow_dv_counter_get_by_idx()
4579 pool = cmng->pools[idx / MLX5_COUNTERS_PER_POOL]; in flow_dv_counter_get_by_idx()
4600 int base = (pool->min_dcs->id / MLX5_COUNTERS_PER_POOL) * in flow_dv_is_counter_in_pool()
4601 MLX5_COUNTERS_PER_POOL; in flow_dv_is_counter_in_pool()
4603 if (id >= base && id < base + MLX5_COUNTERS_PER_POOL) in flow_dv_is_counter_in_pool()
4754 size += MLX5_COUNTERS_PER_POOL * MLX5_CNT_SIZE; in flow_dv_pool_create()
4755 size += (!age ? 0 : MLX5_COUNTERS_PER_POOL * MLX5_AGE_SIZE); in flow_dv_pool_create()
4785 cmng->max_id = base + MLX5_COUNTERS_PER_POOL - 1; in flow_dv_pool_create()
4835 i = dcs->id % MLX5_COUNTERS_PER_POOL; in flow_dv_counter_pool_prepare()
4853 for (i = 1; i < MLX5_COUNTERS_PER_POOL; ++i) { in flow_dv_counter_pool_prepare()
[all …]
H A Dmlx5.c413 for (j = 0; j < MLX5_COUNTERS_PER_POOL; ++j) in mlx5_flow_aso_age_mng_close()
518 for (j = 0; j < MLX5_COUNTERS_PER_POOL; ++j) { in mlx5_flow_counters_mng_close()
H A Dmlx5_flow.c6419 MLX5_COUNTERS_PER_POOL + in mlx5_flow_create_counter_stat_mem_mng()
6437 size = sizeof(*raw_data) * MLX5_COUNTERS_PER_POOL * raws_n; in mlx5_flow_create_counter_stat_mem_mng()
6466 mem_mng->raws[i].data = raw_data + i * MLX5_COUNTERS_PER_POOL; in mlx5_flow_create_counter_stat_mem_mng()
6574 MLX5_COUNTERS_PER_POOL, in mlx5_flow_query_alarm()
6621 for (i = 0; i < MLX5_COUNTERS_PER_POOL; ++i) { in mlx5_flow_aging_check()