Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/
H A Ddr_icm_pool.c18 enum mlx5dr_icm_type icm_type; member
128 switch (pool->icm_type) { in dr_icm_pool_mr_create()
144 WARN_ON(pool->icm_type); in dr_icm_pool_mr_create()
306 enum mlx5dr_icm_type icm_type = buddy->pool->icm_type; in dr_icm_buddy_destroy() local
358 pool->icm_type); in dr_icm_pool_clear_hot_chunks_arr()
517 pool->icm_type = icm_type; in mlx5dr_icm_pool_create()
523 switch (icm_type) { in mlx5dr_icm_pool_create()
527 pool->icm_type) * in mlx5dr_icm_pool_create()
533 pool->icm_type) * in mlx5dr_icm_pool_create()
539 pool->icm_type) * in mlx5dr_icm_pool_create()
[all …]
H A Ddr_types.h1233 mlx5dr_icm_pool_dm_type_to_entry_size(enum mlx5dr_icm_type icm_type) in mlx5dr_icm_pool_dm_type_to_entry_size() argument
1235 if (icm_type == DR_ICM_TYPE_STE) in mlx5dr_icm_pool_dm_type_to_entry_size()
1249 enum mlx5dr_icm_type icm_type) in mlx5dr_icm_pool_chunk_size_to_byte() argument
1254 entry_size = mlx5dr_icm_pool_dm_type_to_entry_size(icm_type); in mlx5dr_icm_pool_chunk_size_to_byte()
1386 enum mlx5dr_icm_type icm_type);
/openbmc/linux/drivers/infiniband/hw/mlx5/
H A 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()