Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/
H A Ddr_icm_pool.c119 icm_mr = kvzalloc(sizeof(*icm_mr), GFP_KERNEL); in dr_icm_pool_mr_create()
120 if (!icm_mr) in dr_icm_pool_mr_create()
149 err = mlx5_dm_sw_icm_alloc(mdev, icm_mr->dm.type, icm_mr->dm.length, in dr_icm_pool_mr_create()
168 icm_mr->icm_start_addr = icm_mr->dm.addr; in dr_icm_pool_mr_create()
176 return icm_mr; in dr_icm_pool_mr_create()
181 mlx5_dm_sw_icm_dealloc(mdev, icm_mr->dm.type, icm_mr->dm.length, 0, in dr_icm_pool_mr_create()
182 icm_mr->dm.addr, icm_mr->dm.obj_id); in dr_icm_pool_mr_create()
184 kvfree(icm_mr); in dr_icm_pool_mr_create()
196 kvfree(icm_mr); in dr_icm_pool_mr_destroy()
269 if (!icm_mr) in dr_icm_buddy_create()
[all …]
H A Dmlx5dr.h180 struct mlx5dr_icm_mr *icm_mr; member