Searched refs:icm_type (Results 1 – 3 of 3) sorted by relevance
10 enum mlx5dr_icm_type icm_type; member77 pool->icm_type); in dr_icm_pool_mr_create()79 if (pool->icm_type == DR_ICM_TYPE_STE) { in dr_icm_pool_mr_create()175 return chunk->buddy_mem->pool->icm_type; in get_chunk_icm_type()181 enum mlx5dr_icm_type icm_type = get_chunk_icm_type(chunk); in dr_icm_chunk_destroy() local186 if (icm_type == DR_ICM_TYPE_STE) in dr_icm_chunk_destroy()253 offset = mlx5dr_icm_pool_dm_type_to_entry_size(pool->icm_type) * seg; in dr_icm_chunk_create()262 mlx5dr_icm_pool_chunk_size_to_byte(chunk_size, pool->icm_type); in dr_icm_chunk_create()265 if (pool->icm_type == DR_ICM_TYPE_STE && dr_icm_chunk_ste_init(chunk)) { in dr_icm_chunk_create()315 if (!buddy->used_memory && pool->icm_type == DR_ICM_TYPE_STE) in dr_icm_pool_sync_all_buddy_pools()[all …]
1059 mlx5dr_icm_pool_dm_type_to_entry_size(enum mlx5dr_icm_type icm_type) in mlx5dr_icm_pool_dm_type_to_entry_size() argument1061 if (icm_type == DR_ICM_TYPE_STE) in mlx5dr_icm_pool_dm_type_to_entry_size()1075 enum mlx5dr_icm_type icm_type) in mlx5dr_icm_pool_chunk_size_to_byte() argument1080 entry_size = mlx5dr_icm_pool_dm_type_to_entry_size(icm_type); in mlx5dr_icm_pool_chunk_size_to_byte()1221 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()