Home
last modified time | relevance | path

Searched refs:buddy_mem (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_icm_pool.c62 u32 offset = mlx5dr_icm_pool_dm_type_to_entry_size(chunk->buddy_mem->pool->icm_type); in mlx5dr_icm_pool_get_chunk_mr_addr()
69 return chunk->buddy_mem->icm_mr->mkey; in mlx5dr_icm_pool_get_chunk_rkey()
74 u32 size = mlx5dr_icm_pool_dm_type_to_entry_size(chunk->buddy_mem->pool->icm_type); in mlx5dr_icm_pool_get_chunk_icm_addr()
76 return (u64)chunk->buddy_mem->icm_mr->icm_start_addr + size * chunk->seg; in mlx5dr_icm_pool_get_chunk_icm_addr()
82 chunk->buddy_mem->pool->icm_type); in mlx5dr_icm_pool_get_chunk_byte_size()
180 struct mlx5dr_icm_buddy_mem *buddy = chunk->buddy_mem; in dr_icm_chunk_ste_init()
192 struct mlx5dr_icm_buddy_mem *buddy = chunk->buddy_mem; in dr_icm_chunk_ste_cleanup()
203 return chunk->buddy_mem->pool->icm_type; in get_chunk_icm_type()
334 chunk->buddy_mem = buddy_mem_pool; in dr_icm_chunk_create()
470 struct mlx5dr_icm_buddy_mem *buddy = chunk->buddy_mem; in mlx5dr_icm_free_chunk()
Ddr_types.h1107 struct mlx5dr_icm_buddy_mem *buddy_mem; member