Home
last modified time | relevance | path

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

/f-stack/dpdk/drivers/net/mlx5/
H A Dmlx5_flow_verbs.c196 counter->dcs_when_free = mlx5_glue->create_counter_set(ctx, &init); in flow_verbs_counter_create()
197 if (!counter->dcs_when_free) { in flow_verbs_counter_create()
210 counter->dcs_when_free = mlx5_glue->create_counters(ctx, &init); in flow_verbs_counter_create()
211 if (!counter->dcs_when_free) { in flow_verbs_counter_create()
217 ret = mlx5_glue->attach_counters(counter->dcs_when_free, &attach, NULL); in flow_verbs_counter_create()
222 (counter->dcs_when_free, &attach, NULL); in flow_verbs_counter_create()
225 claim_zero(mlx5_glue->destroy_counters(counter->dcs_when_free)); in flow_verbs_counter_create()
226 counter->dcs_when_free = NULL; in flow_verbs_counter_create()
324 cnt->dcs_when_active = cnt->dcs_when_free; in flow_verbs_counter_new()
385 .dcs_when_free = (struct ibv_counter_set *) in flow_verbs_counter_query()
H A Dmlx5.c527 (pool, j)->dcs_when_free) in mlx5_flow_counters_mng_close()
529 (cnt->dcs_when_free)); in mlx5_flow_counters_mng_close()
H A Dmlx5.h405 void *dcs_when_free; member
H A Dmlx5_flow_dv.c4838 cnt->dcs_when_free = dcs; in flow_dv_counter_pool_prepare()
4903 cnt_free->dcs_when_active = cnt_free->dcs_when_free; in flow_dv_counter_alloc()
4915 dcs = cnt_free->dcs_when_free; in flow_dv_counter_alloc()
4938 cnt_free->dcs_when_free = cnt_free->dcs_when_active; in flow_dv_counter_alloc()
5100 cnt->dcs_when_free = cnt->dcs_when_active; in flow_dv_counter_free()