Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/infiniband/hw/mlx5/
Dmr.c53 #define MLX5_UMR_ALIGN 2048 macro
1909 add_size = max_t(int, MLX5_UMR_ALIGN - ARCH_KMALLOC_MINALIGN, 0); in mlx5_alloc_priv_descs()
1910 if (is_power_of_2(MLX5_UMR_ALIGN) && add_size) { in mlx5_alloc_priv_descs()
1911 int end = max_t(int, MLX5_UMR_ALIGN, roundup_pow_of_two(size)); in mlx5_alloc_priv_descs()
1920 mr->descs = PTR_ALIGN(mr->descs_alloc, MLX5_UMR_ALIGN); in mlx5_alloc_priv_descs()