Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_icm_pool.c65 struct mlx5dr_icm_mr *icm_mr; in dr_icm_pool_mr_create() local
69 icm_mr = kvzalloc(sizeof(*icm_mr), GFP_KERNEL); in dr_icm_pool_mr_create()
70 if (!icm_mr) in dr_icm_pool_mr_create()
73 icm_mr->dmn = pool->dmn; in dr_icm_pool_mr_create()
75 icm_mr->dm.length = mlx5dr_icm_pool_chunk_size_to_byte(pool->max_log_chunk_sz, in dr_icm_pool_mr_create()
80 log_align_base = ilog2(icm_mr->dm.length); in dr_icm_pool_mr_create()
86 icm_mr->dm.type = dm_type; in dr_icm_pool_mr_create()
88 err = mlx5_dm_sw_icm_alloc(mdev, icm_mr->dm.type, icm_mr->dm.length, in dr_icm_pool_mr_create()
89 log_align_base, 0, &icm_mr->dm.addr, in dr_icm_pool_mr_create()
90 &icm_mr->dm.obj_id); in dr_icm_pool_mr_create()
[all …]
Dmlx5dr.h152 struct mlx5dr_icm_mr *icm_mr; member