Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
A Dpool.c344 mlx5hws_pool_create(struct mlx5hws_context *ctx, struct mlx5hws_pool_attr *pool_attr) in mlx5hws_pool_create() argument
354 pool->type = pool_attr->pool_type; in mlx5hws_pool_create()
355 pool->alloc_log_sz = pool_attr->alloc_log_sz; in mlx5hws_pool_create()
356 pool->flags = pool_attr->flags; in mlx5hws_pool_create()
357 pool->tbl_type = pool_attr->table_type; in mlx5hws_pool_create()
358 pool->opt_type = pool_attr->opt_type; in mlx5hws_pool_create()
365 pool->alloc_log_sz = pool_attr->alloc_log_sz; in mlx5hws_pool_create()
366 pool->available_elems = 1 << pool_attr->alloc_log_sz; in mlx5hws_pool_create()
A Dcontext.c23 struct mlx5hws_pool_attr pool_attr = {0}; in hws_context_pools_init() local
36 pool_attr.pool_type = MLX5HWS_POOL_TYPE_STC; in hws_context_pools_init()
38 pool_attr.alloc_log_sz = max(max_log_sz, ctx->caps->stc_alloc_log_gran); in hws_context_pools_init()
40 pool_attr.table_type = MLX5HWS_TABLE_TYPE_FDB; in hws_context_pools_init()
41 ctx->stc_pool = mlx5hws_pool_create(ctx, &pool_attr); in hws_context_pools_init()
A Daction_ste_pool.c26 struct mlx5hws_pool_attr pool_attr = { 0 }; in hws_action_ste_table_create_pool() local
28 pool_attr.pool_type = MLX5HWS_POOL_TYPE_STE; in hws_action_ste_table_create_pool()
29 pool_attr.table_type = MLX5HWS_TABLE_TYPE_FDB; in hws_action_ste_table_create_pool()
30 pool_attr.flags = MLX5HWS_POOL_FLAG_BUDDY; in hws_action_ste_table_create_pool()
31 pool_attr.opt_type = opt; in hws_action_ste_table_create_pool()
32 pool_attr.alloc_log_sz = log_sz; in hws_action_ste_table_create_pool()
34 action_tbl->pool = mlx5hws_pool_create(ctx, &pool_attr); in hws_action_ste_table_create_pool()
A Dpool.h89 struct mlx5hws_pool_attr *pool_attr);
A Daction.c1591 struct mlx5hws_pool_attr pool_attr = {0}; in hws_action_create_dest_match_range_table() local
1609 pool_attr.table_type = MLX5HWS_TABLE_TYPE_FDB; in hws_action_create_dest_match_range_table()
1610 pool_attr.pool_type = MLX5HWS_POOL_TYPE_STE; in hws_action_create_dest_match_range_table()
1611 pool_attr.alloc_log_sz = 1; in hws_action_create_dest_match_range_table()
1612 table_ste->pool = mlx5hws_pool_create(ctx, &pool_attr); in hws_action_create_dest_match_range_table()

Completed in 12 milliseconds