Home
last modified time | relevance | path

Searched refs:mlx5hws_pool (Results 1 – 11 of 11) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
Dmlx5hws_pool.h24 struct mlx5hws_pool *pool;
102 typedef int (*mlx5hws_pool_db_get_chunk)(struct mlx5hws_pool *pool,
104 typedef void (*mlx5hws_pool_db_put_chunk)(struct mlx5hws_pool *pool,
106 typedef void (*mlx5hws_pool_unint_db)(struct mlx5hws_pool *pool);
108 struct mlx5hws_pool { struct
126 struct mlx5hws_pool * argument
130 int mlx5hws_pool_destroy(struct mlx5hws_pool *pool);
132 int mlx5hws_pool_chunk_alloc(struct mlx5hws_pool *pool,
135 void mlx5hws_pool_chunk_free(struct mlx5hws_pool *pool,
139 mlx5hws_pool_chunk_get_base_id(struct mlx5hws_pool *pool, in mlx5hws_pool_chunk_get_base_id()
[all …]
Dmlx5hws_pool.c23 static void hws_pool_resource_free(struct mlx5hws_pool *pool, in hws_pool_resource_free()
36 hws_pool_create_one_resource(struct mlx5hws_pool *pool, u32 log_range, in hws_pool_create_one_resource()
81 hws_pool_resource_alloc(struct mlx5hws_pool *pool, u32 log_range, int idx) in hws_pool_resource_alloc()
127 static void hws_pool_buddy_db_put_chunk(struct mlx5hws_pool *pool, in hws_pool_buddy_db_put_chunk()
142 hws_pool_buddy_get_next_buddy(struct mlx5hws_pool *pool, int idx, in hws_pool_buddy_get_next_buddy()
173 static int hws_pool_buddy_get_mem_chunk(struct mlx5hws_pool *pool, in hws_pool_buddy_get_mem_chunk()
224 static int hws_pool_buddy_db_get_chunk(struct mlx5hws_pool *pool, in hws_pool_buddy_db_get_chunk()
240 static void hws_pool_buddy_db_uninit(struct mlx5hws_pool *pool) in hws_pool_buddy_db_uninit()
257 static int hws_pool_buddy_db_init(struct mlx5hws_pool *pool, u32 log_range) in hws_pool_buddy_db_init()
281 static int hws_pool_create_resource_on_index(struct mlx5hws_pool *pool, in hws_pool_create_resource_on_index()
[all …]
Dmlx5hws_matcher.h43 struct mlx5hws_pool *pool;
51 struct mlx5hws_pool *pool;
59 struct mlx5hws_pool *pool;
Dmlx5hws_context.h40 struct mlx5hws_pool *stc_pool[MLX5HWS_TABLE_TYPE_MAX];
Dmlx5hws_rule.h45 struct mlx5hws_pool *action_ste_pool[2];
Dmlx5hws_debug.c122 struct mlx5hws_pool *ste_pool; in hws_debug_dump_matcher()
385 struct mlx5hws_pool *stc_pool; in hws_debug_dump_context_stc()
Dmlx5hws_cmd.h140 struct mlx5hws_pool *ste_pool;
Dmlx5hws_matcher.c238 struct mlx5hws_pool *ste_pool, *stc_pool; in hws_matcher_create_rtc()
367 struct mlx5hws_pool *ste_pool; in hws_matcher_destroy_rtc()
Dmlx5hws_action.c324 struct mlx5hws_pool *stc_pool = ctx->stc_pool[table_type]; in mlx5hws_action_alloc_single_stc()
390 struct mlx5hws_pool *stc_pool = ctx->stc_pool[table_type]; in mlx5hws_action_free_single_stc()
1588 struct mlx5hws_pool *ste_pool, *stc_pool; in hws_action_create_dest_match_range_table()
Dmlx5hws_rule.c233 struct mlx5hws_pool *pool; in hws_rule_free_action_ste_idx()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/
DMakefile130 steering/hws/mlx5hws_pool.o \