Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_icm_pool.c9 enum mlx5dr_icm_type icm_type; member
76 pool->icm_type); in dr_icm_pool_mr_create()
78 if (pool->icm_type == DR_ICM_TYPE_STE) { in dr_icm_pool_mr_create()
172 return chunk->buddy_mem->pool->icm_type; in get_chunk_icm_type()
178 enum mlx5dr_icm_type icm_type = get_chunk_icm_type(chunk); in dr_icm_chunk_destroy() local
183 if (icm_type == DR_ICM_TYPE_STE) in dr_icm_chunk_destroy()
246 if (pool->icm_type == DR_ICM_TYPE_STE) { in dr_icm_buddy_create()
280 if (buddy->pool->icm_type == DR_ICM_TYPE_STE) in dr_icm_buddy_destroy()
299 offset = mlx5dr_icm_pool_dm_type_to_entry_size(pool->icm_type) * seg; in dr_icm_chunk_create()
308 mlx5dr_icm_pool_chunk_size_to_byte(chunk_size, pool->icm_type); in dr_icm_chunk_create()
[all …]
Ddr_types.h1068 mlx5dr_icm_pool_dm_type_to_entry_size(enum mlx5dr_icm_type icm_type) in mlx5dr_icm_pool_dm_type_to_entry_size() argument
1070 if (icm_type == DR_ICM_TYPE_STE) in mlx5dr_icm_pool_dm_type_to_entry_size()
1084 enum mlx5dr_icm_type icm_type) in mlx5dr_icm_pool_chunk_size_to_byte() argument
1089 entry_size = mlx5dr_icm_pool_dm_type_to_entry_size(icm_type); in mlx5dr_icm_pool_chunk_size_to_byte()
1230 enum mlx5dr_icm_type icm_type);
/drivers/infiniband/hw/mlx5/
Ddm.c350 enum mlx5_sw_icm_type icm_type = get_icm_type(type); in handle_alloc_dm_sw_icm() local
382 err = mlx5_dm_sw_icm_alloc(dev, icm_type, act_size, attr->alignment, in handle_alloc_dm_sw_icm()
391 mlx5_dm_sw_icm_dealloc(dev, icm_type, dm->base.size, in handle_alloc_dm_sw_icm()