Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/lib/
Ddm.c100 u64 icm_start_addr; in mlx5_dm_sw_icm_alloc() local
121 icm_start_addr = MLX5_CAP64_DEV_MEM(dev, steering_sw_icm_start_address); in mlx5_dm_sw_icm_alloc()
126 icm_start_addr = MLX5_CAP64_DEV_MEM(dev, header_modify_sw_icm_start_address); in mlx5_dm_sw_icm_alloc()
155 icm_start_addr += block_idx << MLX5_LOG_SW_ICM_BLOCK_SIZE(dev); in mlx5_dm_sw_icm_alloc()
157 icm_start_addr); in mlx5_dm_sw_icm_alloc()
170 *addr = icm_start_addr; in mlx5_dm_sw_icm_alloc()
185 u64 icm_start_addr; in mlx5_dm_sw_icm_dealloc() local
194 icm_start_addr = MLX5_CAP64_DEV_MEM(dev, steering_sw_icm_start_address); in mlx5_dm_sw_icm_dealloc()
198 icm_start_addr = MLX5_CAP64_DEV_MEM(dev, header_modify_sw_icm_start_address); in mlx5_dm_sw_icm_dealloc()
215 start_idx = (addr - icm_start_addr) >> MLX5_LOG_SW_ICM_BLOCK_SIZE(dev); in mlx5_dm_sw_icm_dealloc()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_icm_pool.c66 u64 icm_start_addr; member
138 icm_mr->icm_start_addr = icm_mr->dm.addr; in dr_icm_pool_mr_create()
141 align_diff = icm_mr->icm_start_addr & (align_base - 1); in dr_icm_pool_mr_create()
250 chunk->icm_addr = (uintptr_t)icm_mr->icm_start_addr + icm_mr->used_length; in dr_icm_chunks_create()