Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/lib/
Ddm.c38 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 …]
/linux-6.6.21/include/linux/mlx5/
Ddriver.h731 #define MLX5_LOG_SW_ICM_BLOCK_SIZE(dev) (MLX5_CAP_DEV_MEM(dev, log_sw_icm_alloc_granularity)) macro
732 #define MLX5_SW_ICM_BLOCK_SIZE(dev) (1 << MLX5_LOG_SW_ICM_BLOCK_SIZE(dev))