Searched refs:icm_type (Results 1 – 3 of 3) sorted by relevance
9 enum mlx5dr_icm_type icm_type; member76 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() local183 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 …]
1068 mlx5dr_icm_pool_dm_type_to_entry_size(enum mlx5dr_icm_type icm_type) in mlx5dr_icm_pool_dm_type_to_entry_size() argument1070 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() argument1089 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);
350 enum mlx5_sw_icm_type icm_type = get_icm_type(type); in handle_alloc_dm_sw_icm() local382 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()