Home
last modified time | relevance | path

Searched refs:dcs_when_free (Results 1 – 4 of 4) sorted by relevance

/dpdk/drivers/net/mlx5/
H A Dmlx5_flow_verbs.c160 counter->dcs_when_free = mlx5_glue->create_counter_set(ctx, &init); in flow_verbs_counter_create()
161 if (!counter->dcs_when_free) { in flow_verbs_counter_create()
174 counter->dcs_when_free = mlx5_glue->create_counters(ctx, &init); in flow_verbs_counter_create()
175 if (!counter->dcs_when_free) { in flow_verbs_counter_create()
181 ret = mlx5_glue->attach_counters(counter->dcs_when_free, &attach, NULL); in flow_verbs_counter_create()
186 (counter->dcs_when_free, &attach, NULL); in flow_verbs_counter_create()
189 claim_zero(mlx5_glue->destroy_counters(counter->dcs_when_free)); in flow_verbs_counter_create()
190 counter->dcs_when_free = NULL; in flow_verbs_counter_create()
275 cnt->dcs_when_active = cnt->dcs_when_free; in flow_verbs_counter_new()
332 .dcs_when_free = (struct ibv_counter_set *) in flow_verbs_counter_query()
H A Dmlx5.c618 (pool, j)->dcs_when_free) in mlx5_flow_counters_mng_close()
620 (cnt->dcs_when_free)); in mlx5_flow_counters_mng_close()
H A Dmlx5.h468 void *dcs_when_free; member
H A Dmlx5_flow_dv.c6143 cnt->dcs_when_free = dcs; in flow_dv_counter_pool_prepare()
6208 cnt_free->dcs_when_active = cnt_free->dcs_when_free; in flow_dv_counter_alloc()
6220 dcs = cnt_free->dcs_when_free; in flow_dv_counter_alloc()
6250 cnt_free->dcs_when_free = cnt_free->dcs_when_active; in flow_dv_counter_alloc()
6368 cnt->dcs_when_free = cnt->dcs_when_active; in flow_dv_counter_free()