Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_icm_pool.c89 return chunk->buddy_mem->icm_mr->mkey; in mlx5dr_icm_pool_get_chunk_rkey()
96 return (u64)chunk->buddy_mem->icm_mr->icm_start_addr + size * chunk->seg; in mlx5dr_icm_pool_get_chunk_icm_addr()
115 struct mlx5dr_icm_mr *icm_mr; in dr_icm_pool_mr_create() local
119 icm_mr = kvzalloc(sizeof(*icm_mr), GFP_KERNEL); in dr_icm_pool_mr_create()
120 if (!icm_mr) in dr_icm_pool_mr_create()
123 icm_mr->dmn = pool->dmn; in dr_icm_pool_mr_create()
125 icm_mr->dm.length = mlx5dr_icm_pool_chunk_size_to_byte(pool->max_log_chunk_sz, in dr_icm_pool_mr_create()
131 log_align_base = ilog2(icm_mr->dm.length); in dr_icm_pool_mr_create()
147 icm_mr->dm.type = dm_type; 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()
[all …]
Dmlx5dr.h175 struct mlx5dr_icm_mr *icm_mr; member