Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_icm_pool.c9 enum mlx5dr_icm_type icm_type; member
62 u32 offset = mlx5dr_icm_pool_dm_type_to_entry_size(chunk->buddy_mem->pool->icm_type); in mlx5dr_icm_pool_get_chunk_mr_addr()
74 u32 size = mlx5dr_icm_pool_dm_type_to_entry_size(chunk->buddy_mem->pool->icm_type); in mlx5dr_icm_pool_get_chunk_icm_addr()
82 chunk->buddy_mem->pool->icm_type); in mlx5dr_icm_pool_get_chunk_byte_size()
106 pool->icm_type); in dr_icm_pool_mr_create()
108 if (pool->icm_type == DR_ICM_TYPE_STE) { in dr_icm_pool_mr_create()
203 return chunk->buddy_mem->pool->icm_type; in get_chunk_icm_type()
209 enum mlx5dr_icm_type icm_type = get_chunk_icm_type(chunk); in dr_icm_chunk_destroy() local
214 if (icm_type == DR_ICM_TYPE_STE) in dr_icm_chunk_destroy()
277 if (pool->icm_type == DR_ICM_TYPE_STE) { in dr_icm_buddy_create()
[all …]
Ddr_types.h1162 mlx5dr_icm_pool_dm_type_to_entry_size(enum mlx5dr_icm_type icm_type) in mlx5dr_icm_pool_dm_type_to_entry_size() argument
1164 if (icm_type == DR_ICM_TYPE_STE) in mlx5dr_icm_pool_dm_type_to_entry_size()
1178 enum mlx5dr_icm_type icm_type) in mlx5dr_icm_pool_chunk_size_to_byte() argument
1183 entry_size = mlx5dr_icm_pool_dm_type_to_entry_size(icm_type); in mlx5dr_icm_pool_chunk_size_to_byte()
1301 enum mlx5dr_icm_type icm_type);
/linux-6.1.9/drivers/infiniband/hw/mlx5/
Ddm.c356 enum mlx5_sw_icm_type icm_type; in handle_alloc_dm_sw_icm() local
396 icm_type = get_icm_type(type); in handle_alloc_dm_sw_icm()
398 err = mlx5_dm_sw_icm_alloc(dev, icm_type, act_size, attr->alignment, in handle_alloc_dm_sw_icm()
407 mlx5_dm_sw_icm_dealloc(dev, icm_type, dm->base.size, in handle_alloc_dm_sw_icm()