Searched refs:MLX5_LOG_SW_ICM_BLOCK_SIZE (Results 1 – 2 of 2) sorted by relevance
38 MLX5_LOG_SW_ICM_BLOCK_SIZE(dev)); in mlx5_dm_create()49 MLX5_LOG_SW_ICM_BLOCK_SIZE(dev)); in mlx5_dm_create()64 MLX5_LOG_SW_ICM_BLOCK_SIZE(dev)); in mlx5_dm_create()96 MLX5_LOG_SW_ICM_BLOCK_SIZE(dev)))); in mlx5_dm_cleanup()104 MLX5_LOG_SW_ICM_BLOCK_SIZE(dev)))); in mlx5_dm_cleanup()112 MLX5_LOG_SW_ICM_BLOCK_SIZE(dev)))); in mlx5_dm_cleanup()174 max_blocks = BIT(log_icm_size - MLX5_LOG_SW_ICM_BLOCK_SIZE(dev)); in mlx5_dm_sw_icm_alloc()176 if (log_alignment < MLX5_LOG_SW_ICM_BLOCK_SIZE(dev)) in mlx5_dm_sw_icm_alloc()177 log_alignment = MLX5_LOG_SW_ICM_BLOCK_SIZE(dev); in mlx5_dm_sw_icm_alloc()178 align_mask = BIT(log_alignment - MLX5_LOG_SW_ICM_BLOCK_SIZE(dev)) - 1; in mlx5_dm_sw_icm_alloc()[all …]
731 #define MLX5_LOG_SW_ICM_BLOCK_SIZE(dev) (MLX5_CAP_DEV_MEM(dev, log_sw_icm_alloc_granularity)) macro732 #define MLX5_SW_ICM_BLOCK_SIZE(dev) (1 << MLX5_LOG_SW_ICM_BLOCK_SIZE(dev))