Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_icm_pool.c12 struct mlx5dr_icm_buddy_mem *buddy_mem; member
82 u32 offset = mlx5dr_icm_pool_dm_type_to_entry_size(chunk->buddy_mem->pool->icm_type); in mlx5dr_icm_pool_get_chunk_mr_addr()
89 return chunk->buddy_mem->icm_mr->mkey; in mlx5dr_icm_pool_get_chunk_rkey()
94 u32 size = mlx5dr_icm_pool_dm_type_to_entry_size(chunk->buddy_mem->pool->icm_type); in mlx5dr_icm_pool_get_chunk_icm_addr()
96 return (u64)chunk->buddy_mem->icm_mr->icm_start_addr + size * chunk->seg; in mlx5dr_icm_pool_get_chunk_icm_addr()
102 chunk->buddy_mem->pool->icm_type); in mlx5dr_icm_pool_get_chunk_byte_size()
212 struct mlx5dr_icm_buddy_mem *buddy = chunk->buddy_mem; in dr_icm_chunk_ste_init()
331 chunk->buddy_mem = buddy_mem_pool; in dr_icm_chunk_init()
354 mlx5dr_buddy_free_mem(hot_chunk->buddy_mem, in dr_icm_pool_clear_hot_chunks_arr()
356 hot_chunk->buddy_mem->used_memory -= in dr_icm_pool_clear_hot_chunks_arr()
[all …]
Ddr_types.h1176 struct mlx5dr_icm_buddy_mem *buddy_mem; member
Ddr_ste.c540 struct mlx5dr_icm_pool *pool = htbl->chunk->buddy_mem->pool; in mlx5dr_ste_htbl_free()