Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx5/core/lib/
Ddm.c95 u32 num_blocks = DIV_ROUND_UP_ULL(length, MLX5_SW_ICM_BLOCK_SIZE(dev)); in mlx5_dm_sw_icm_alloc()
111 length & (MLX5_SW_ICM_BLOCK_SIZE(dev) - 1)) in mlx5_dm_sw_icm_alloc()
180 u32 num_blocks = DIV_ROUND_UP_ULL(length, MLX5_SW_ICM_BLOCK_SIZE(dev)); in mlx5_dm_sw_icm_dealloc()
/drivers/infiniband/hw/mlx5/
Dmlx5_ib.h123 #define MLX5_SW_ICM_BLOCK_SIZE(dev) (1 << MLX5_LOG_SW_ICM_BLOCK_SIZE(dev)) macro
Dmain.c2346 act_size = round_up(attr->length, MLX5_SW_ICM_BLOCK_SIZE(dev)); in handle_alloc_dm_sw_icm()