Searched refs:pool_attr (Results 1 – 2 of 2) sorted by relevance
345 mlx5hws_pool_create(struct mlx5hws_context *ctx, struct mlx5hws_pool_attr *pool_attr) in mlx5hws_pool_create() argument355 pool->type = pool_attr->pool_type; in mlx5hws_pool_create()356 pool->alloc_log_sz = pool_attr->alloc_log_sz; in mlx5hws_pool_create()357 pool->flags = pool_attr->flags; in mlx5hws_pool_create()358 pool->tbl_type = pool_attr->table_type; in mlx5hws_pool_create()359 pool->opt_type = pool_attr->opt_type; in mlx5hws_pool_create()366 pool->alloc_log_sz = pool_attr->alloc_log_sz; in mlx5hws_pool_create()367 pool->available_elems = 1 << pool_attr->alloc_log_sz; in mlx5hws_pool_create()
1591 struct mlx5hws_pool_attr pool_attr = {0}; in hws_action_create_dest_match_range_table() local1609 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()