Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx5/core/lib/
Ddm.c35 MLX5_LOG_SW_ICM_BLOCK_SIZE(dev)); in mlx5_dm_create()
47 MLX5_LOG_SW_ICM_BLOCK_SIZE(dev)); in mlx5_dm_create()
77 MLX5_LOG_SW_ICM_BLOCK_SIZE(dev)))); in mlx5_dm_cleanup()
85 MLX5_LOG_SW_ICM_BLOCK_SIZE(dev)))); in mlx5_dm_cleanup()
138 max_blocks = BIT(log_icm_size - MLX5_LOG_SW_ICM_BLOCK_SIZE(dev)); 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()
215 start_idx = (addr - icm_start_addr) >> MLX5_LOG_SW_ICM_BLOCK_SIZE(dev); in mlx5_dm_sw_icm_dealloc()
/drivers/infiniband/hw/mlx5/
Dmlx5_ib.h121 #define MLX5_LOG_SW_ICM_BLOCK_SIZE(dev) \ macro
123 #define MLX5_SW_ICM_BLOCK_SIZE(dev) (1 << MLX5_LOG_SW_ICM_BLOCK_SIZE(dev))