Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Ddm.c128 u64 icm_start_addr; in mlx5_dm_sw_icm_alloc() local
150 icm_start_addr = MLX5_CAP64_DEV_MEM(dev, steering_sw_icm_start_address); in mlx5_dm_sw_icm_alloc()
155 icm_start_addr = MLX5_CAP64_DEV_MEM(dev, header_modify_sw_icm_start_address); in mlx5_dm_sw_icm_alloc()
161 icm_start_addr = MLX5_CAP64_DEV_MEM(dev, in mlx5_dm_sw_icm_alloc()
194 icm_start_addr += block_idx << MLX5_LOG_SW_ICM_BLOCK_SIZE(dev); in mlx5_dm_sw_icm_alloc()
196 icm_start_addr); in mlx5_dm_sw_icm_alloc()
209 *addr = icm_start_addr; in mlx5_dm_sw_icm_alloc()
224 u64 icm_start_addr; in mlx5_dm_sw_icm_dealloc() local
233 icm_start_addr = MLX5_CAP64_DEV_MEM(dev, steering_sw_icm_start_address); in mlx5_dm_sw_icm_dealloc()
241 icm_start_addr = MLX5_CAP64_DEV_MEM(dev, in mlx5_dm_sw_icm_dealloc()
[all …]
/openbmc/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()