Home
last modified time | relevance | path

Searched refs:stc_pool (Results 1 – 6 of 6) sorted by relevance

/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
A Ddebug.c364 struct mlx5hws_pool *stc_pool = ctx->stc_pool; in hws_debug_dump_context_stc() local
367 if (!stc_pool) in hws_debug_dump_context_stc()
370 if (stc_pool->resource) { in hws_debug_dump_context_stc()
372 stc_pool->resource); in hws_debug_dump_context_stc()
377 if (stc_pool->mirror_resource) { in hws_debug_dump_context_stc()
378 struct mlx5hws_pool_resource *res = stc_pool->mirror_resource; in hws_debug_dump_context_stc()
A Dcontext.c41 ctx->stc_pool = mlx5hws_pool_create(ctx, &pool_attr); in hws_context_pools_init()
42 if (!ctx->stc_pool) { in hws_context_pools_init()
59 if (ctx->stc_pool) in hws_context_pools_uninit()
60 mlx5hws_pool_destroy(ctx->stc_pool); in hws_context_pools_uninit()
A Daction.c327 struct mlx5hws_pool *stc_pool = ctx->stc_pool; in mlx5hws_action_alloc_single_stc() local
332 ret = mlx5hws_pool_chunk_alloc(stc_pool, stc); in mlx5hws_action_alloc_single_stc()
344 obj_0_id = mlx5hws_pool_get_base_id(stc_pool); in mlx5hws_action_alloc_single_stc()
383 mlx5hws_pool_chunk_free(stc_pool, stc); in mlx5hws_action_alloc_single_stc()
393 struct mlx5hws_pool *stc_pool = ctx->stc_pool; in mlx5hws_action_free_single_stc() local
400 obj_id = mlx5hws_pool_get_base_id(stc_pool); in mlx5hws_action_free_single_stc()
404 obj_id = mlx5hws_pool_get_base_mirror_id(stc_pool); in mlx5hws_action_free_single_stc()
408 mlx5hws_pool_chunk_free(stc_pool, stc); in mlx5hws_action_free_single_stc()
1592 struct mlx5hws_pool *ste_pool, *stc_pool; in hws_action_create_dest_match_range_table() local
1641 stc_pool = ctx->stc_pool; in hws_action_create_dest_match_range_table()
[all …]
A Dcontext.h41 struct mlx5hws_pool *stc_pool; member
A Daction_ste_pool.c65 mlx5hws_pool_get_base_mirror_id(ctx->stc_pool); in hws_action_ste_table_create_single_rtc()
72 rtc_attr.stc_base = mlx5hws_pool_get_base_id(ctx->stc_pool); in hws_action_ste_table_create_single_rtc()
A Dmatcher.c521 obj_id = mlx5hws_pool_get_base_id(ctx->stc_pool); in hws_matcher_create_rtc()
537 obj_id = mlx5hws_pool_get_base_mirror_id(ctx->stc_pool); in hws_matcher_create_rtc()

Completed in 22 milliseconds