Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dpool.h20 struct mlx5hws_pool *pool;
63 typedef int (*mlx5hws_pool_db_get_chunk)(struct mlx5hws_pool *pool,
65 typedef void (*mlx5hws_pool_db_put_chunk)(struct mlx5hws_pool *pool,
67 typedef void (*mlx5hws_pool_unint_db)(struct mlx5hws_pool *pool);
69 struct mlx5hws_pool { struct
87 struct mlx5hws_pool * argument
91 void mlx5hws_pool_destroy(struct mlx5hws_pool *pool);
93 int mlx5hws_pool_chunk_alloc(struct mlx5hws_pool *pool,
96 void mlx5hws_pool_chunk_free(struct mlx5hws_pool *pool,
99 static inline u32 mlx5hws_pool_get_base_id(struct mlx5hws_pool *pool) in mlx5hws_pool_get_base_id()
[all …]
H A Dpool.c23 static void hws_pool_resource_free(struct mlx5hws_pool *pool) in hws_pool_resource_free()
35 hws_pool_create_one_resource(struct mlx5hws_pool *pool, u32 log_range, in hws_pool_create_one_resource()
77 static int hws_pool_resource_alloc(struct mlx5hws_pool *pool) in hws_pool_resource_alloc()
112 static int hws_pool_buddy_init(struct mlx5hws_pool *pool) in hws_pool_buddy_init()
136 static int hws_pool_buddy_db_get_chunk(struct mlx5hws_pool *pool, in hws_pool_buddy_db_get_chunk()
153 static void hws_pool_buddy_db_put_chunk(struct mlx5hws_pool *pool, in hws_pool_buddy_db_put_chunk()
167 static void hws_pool_buddy_db_uninit(struct mlx5hws_pool *pool) in hws_pool_buddy_db_uninit()
179 static int hws_pool_buddy_db_init(struct mlx5hws_pool *pool) in hws_pool_buddy_db_init()
207 static int hws_pool_bitmap_init(struct mlx5hws_pool *pool) in hws_pool_bitmap_init()
230 static int hws_pool_bitmap_db_get_chunk(struct mlx5hws_pool *pool, in hws_pool_bitmap_db_get_chunk()
[all …]
H A Daction_ste_pool.h19 struct mlx5hws_pool *pool;
H A Dcontext.h41 struct mlx5hws_pool *stc_pool;
H A Daction.h122 struct mlx5hws_pool *pool;
H A Dcmd.h140 struct mlx5hws_pool *ste_pool;
H A Ddebug.c364 struct mlx5hws_pool *stc_pool = ctx->stc_pool; in hws_debug_dump_context_stc()
H A Daction.c246 struct mlx5hws_pool *pool; in hws_action_fixup_stc_attr()
327 struct mlx5hws_pool *stc_pool = ctx->stc_pool; in mlx5hws_action_alloc_single_stc()
393 struct mlx5hws_pool *stc_pool = ctx->stc_pool; in mlx5hws_action_free_single_stc()
1592 struct mlx5hws_pool *ste_pool, *stc_pool; in hws_action_create_dest_match_range_table()