Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/infiniband/hw/mlx5/ !
Dmr.c51 #define MLX5_UMR_ALIGN 2048 macro
1779 add_size = max_t(int, MLX5_UMR_ALIGN - ARCH_KMALLOC_MINALIGN, 0); in mlx5_alloc_priv_descs()
1780 if (is_power_of_2(MLX5_UMR_ALIGN) && add_size) { in mlx5_alloc_priv_descs()
1781 int end = max_t(int, MLX5_UMR_ALIGN, roundup_pow_of_two(size)); in mlx5_alloc_priv_descs()
1790 mr->descs = PTR_ALIGN(mr->descs_alloc, MLX5_UMR_ALIGN); in mlx5_alloc_priv_descs()