Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_icm_pool.c10 enum mlx5dr_icm_type icm_type; member
77 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() local
186 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 …]
Ddr_types.h1059 mlx5dr_icm_pool_dm_type_to_entry_size(enum mlx5dr_icm_type icm_type) in mlx5dr_icm_pool_dm_type_to_entry_size() argument
1061 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() argument
1080 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);
/Linux-v5.15/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()