Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Ddm.c152 u64 icm_start_addr; in mlx5_dm_sw_icm_alloc() local
174 icm_start_addr = MLX5_CAP64_DEV_MEM(dev, steering_sw_icm_start_address); in mlx5_dm_sw_icm_alloc()
179 icm_start_addr = MLX5_CAP64_DEV_MEM(dev, header_modify_sw_icm_start_address); in mlx5_dm_sw_icm_alloc()
185 icm_start_addr = MLX5_CAP64_DEV_MEM(dev, in mlx5_dm_sw_icm_alloc()
192 icm_start_addr = MLX5_CAP64_DEV_MEM(dev, in mlx5_dm_sw_icm_alloc()
225 icm_start_addr += block_idx << MLX5_LOG_SW_ICM_BLOCK_SIZE(dev); in mlx5_dm_sw_icm_alloc()
227 icm_start_addr); in mlx5_dm_sw_icm_alloc()
240 *addr = icm_start_addr; in mlx5_dm_sw_icm_alloc()
255 u64 icm_start_addr; in mlx5_dm_sw_icm_dealloc() local
264 icm_start_addr = MLX5_CAP64_DEV_MEM(dev, steering_sw_icm_start_address); in mlx5_dm_sw_icm_dealloc()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/
H A Ddr_icm_pool.c50 u64 icm_start_addr; member
96 return (u64)chunk->buddy_mem->icm_mr->icm_start_addr + size * chunk->seg; in mlx5dr_icm_pool_get_chunk_icm_addr()
168 icm_mr->icm_start_addr = icm_mr->dm.addr; in dr_icm_pool_mr_create()
170 if (icm_mr->icm_start_addr & (BIT(log_align_base) - 1)) { in dr_icm_pool_mr_create()