Searched refs:stc_pool (Results 1 – 5 of 5) sorted by relevance
| /linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/ |
| H A D | context.c | 42 ctx->stc_pool = mlx5hws_pool_create(ctx, &pool_attr); in hws_context_pools_init() 43 if (!ctx->stc_pool) { in hws_context_pools_init() 60 if (ctx->stc_pool) in hws_context_pools_uninit() 61 mlx5hws_pool_destroy(ctx->stc_pool); in hws_context_pools_uninit()
|
| H A D | debug.c | 384 struct mlx5hws_pool *stc_pool = ctx->stc_pool; in hws_debug_dump_context_stc() local 387 if (!stc_pool) in hws_debug_dump_context_stc() 390 if (stc_pool->resource[0]) { in hws_debug_dump_context_stc() 391 ret = hws_debug_dump_context_stc_resource(f, ctx, stc_pool->resource[0]); in hws_debug_dump_context_stc() 396 if (stc_pool->mirror_resource[0]) { in hws_debug_dump_context_stc() 397 ret = hws_debug_dump_context_stc_resource(f, ctx, stc_pool->mirror_resource[0]); in hws_debug_dump_context_stc()
|
| H A D | action.c | 323 struct mlx5hws_pool *stc_pool = ctx->stc_pool; in mlx5hws_action_alloc_single_stc() local 328 ret = mlx5hws_pool_chunk_alloc(stc_pool, stc); in mlx5hws_action_alloc_single_stc() 340 obj_0_id = mlx5hws_pool_chunk_get_base_id(stc_pool, stc); in mlx5hws_action_alloc_single_stc() 356 obj_1_id = mlx5hws_pool_chunk_get_base_mirror_id(stc_pool, stc); in mlx5hws_action_alloc_single_stc() 379 mlx5hws_pool_chunk_free(stc_pool, stc); in mlx5hws_action_alloc_single_stc() 389 struct mlx5hws_pool *stc_pool = ctx->stc_pool; in mlx5hws_action_free_single_stc() local 396 obj_id = mlx5hws_pool_chunk_get_base_id(stc_pool, stc); in mlx5hws_action_free_single_stc() 400 obj_id = mlx5hws_pool_chunk_get_base_mirror_id(stc_pool, stc); in mlx5hws_action_free_single_stc() 404 mlx5hws_pool_chunk_free(stc_pool, stc); in mlx5hws_action_free_single_stc() 1587 struct mlx5hws_pool *ste_pool, *stc_pool; in hws_action_create_dest_match_range_table() local [all …]
|
| H A D | context.h | 41 struct mlx5hws_pool *stc_pool; member
|
| H A D | matcher.c | 229 struct mlx5hws_pool *ste_pool, *stc_pool; in hws_matcher_create_rtc() local 318 stc_pool = ctx->stc_pool; in hws_matcher_create_rtc() 320 obj_id = mlx5hws_pool_chunk_get_base_id(stc_pool, &default_stc->default_hit); in hws_matcher_create_rtc() 335 obj_id = mlx5hws_pool_chunk_get_base_mirror_id(stc_pool, &default_stc->default_hit); in hws_matcher_create_rtc()
|