Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_arg.c232 struct mlx5dr_arg_mgr *pool_mgr; in mlx5dr_arg_mgr_create() local
238 pool_mgr = kzalloc(sizeof(*pool_mgr), GFP_KERNEL); in mlx5dr_arg_mgr_create()
239 if (!pool_mgr) in mlx5dr_arg_mgr_create()
242 pool_mgr->dmn = dmn; in mlx5dr_arg_mgr_create()
245 pool_mgr->pools[i] = dr_arg_pool_create(dmn, i); in mlx5dr_arg_mgr_create()
246 if (!pool_mgr->pools[i]) in mlx5dr_arg_mgr_create()
250 return pool_mgr; in mlx5dr_arg_mgr_create()
254 dr_arg_pool_destroy(pool_mgr->pools[i]); in mlx5dr_arg_mgr_create()
256 kfree(pool_mgr); in mlx5dr_arg_mgr_create()