Home
last modified time | relevance | path

Searched refs:MLX5_SW_ICM_BLOCK_SIZE (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Ddm.c123 u32 num_blocks = DIV_ROUND_UP_ULL(length, MLX5_SW_ICM_BLOCK_SIZE(dev)); in mlx5_dm_sw_icm_alloc()
140 length & (MLX5_SW_ICM_BLOCK_SIZE(dev) - 1)) in mlx5_dm_sw_icm_alloc()
219 u32 num_blocks = DIV_ROUND_UP_ULL(length, MLX5_SW_ICM_BLOCK_SIZE(dev)); in mlx5_dm_sw_icm_dealloc()
/openbmc/linux/drivers/infiniband/hw/mlx5/
H A Ddm.c392 act_size = round_up(attr->length, MLX5_SW_ICM_BLOCK_SIZE(dev)); in handle_alloc_dm_sw_icm()
/openbmc/linux/include/linux/mlx5/
H A Ddriver.h732 #define MLX5_SW_ICM_BLOCK_SIZE(dev) (1 << MLX5_LOG_SW_ICM_BLOCK_SIZE(dev)) macro