Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_icm_pool.c69 return chunk->buddy_mem->icm_mr->mkey; in mlx5dr_icm_pool_get_chunk_rkey()
76 return (u64)chunk->buddy_mem->icm_mr->icm_start_addr + size * chunk->seg; in mlx5dr_icm_pool_get_chunk_icm_addr()
95 struct mlx5dr_icm_mr *icm_mr; in dr_icm_pool_mr_create() local
99 icm_mr = kvzalloc(sizeof(*icm_mr), GFP_KERNEL); in dr_icm_pool_mr_create()
100 if (!icm_mr) in dr_icm_pool_mr_create()
103 icm_mr->dmn = pool->dmn; in dr_icm_pool_mr_create()
105 icm_mr->dm.length = mlx5dr_icm_pool_chunk_size_to_byte(pool->max_log_chunk_sz, in dr_icm_pool_mr_create()
110 log_align_base = ilog2(icm_mr->dm.length); in dr_icm_pool_mr_create()
116 icm_mr->dm.type = dm_type; in dr_icm_pool_mr_create()
118 err = mlx5_dm_sw_icm_alloc(mdev, icm_mr->dm.type, icm_mr->dm.length, in dr_icm_pool_mr_create()
[all …]
Dmlx5dr.h164 struct mlx5dr_icm_mr *icm_mr; member