Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
Dmlx5hws_pool.c36 hws_pool_create_one_resource(struct mlx5hws_pool *pool, u32 log_range, in hws_pool_create_one_resource() argument
51 ste_attr.log_obj_range = log_range; in hws_pool_create_one_resource()
56 stc_attr.log_obj_range = log_range; in hws_pool_create_one_resource()
70 resource->range = 1 << 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() argument
87 opt_log_range = pool->opt_type == MLX5HWS_POOL_OPTIMIZE_ORIG ? 0 : log_range; in hws_pool_resource_alloc()
100 opt_log_range = pool->opt_type == MLX5HWS_POOL_OPTIMIZE_MIRROR ? 0 : log_range; in hws_pool_resource_alloc()
114 static unsigned long *hws_pool_create_and_init_bitmap(u32 log_range) in hws_pool_create_and_init_bitmap() argument
118 cur_bmp = bitmap_zalloc(1 << log_range, GFP_KERNEL); in hws_pool_create_and_init_bitmap()
122 bitmap_fill(cur_bmp, 1 << log_range); in hws_pool_create_and_init_bitmap()
[all …]