linux/drivers/infiniband
Jason Gunthorpe c08fbdc577 RDMA/mlx5: mlx5_umem_find_best_quantized_pgoff() for CQ
This fixes a bug where the page_offset was not being considered when
building a CQ. The HW specification says it 'must be zero', so use
a variant of mlx5_umem_find_best_quantized_pgoff() with a 0 pgoff_bitmask
to force this result.

Fixes: e126ba97db ("mlx5: Add driver for Mellanox Connect-IB adapters")
Link: https://lore.kernel.org/r/20201115114311.136250-6-leon@kernel.org
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2020-11-16 16:53:30 -04:00
..
core RDMA/efa: Remove .create_ah callback assignment 2020-11-16 16:50:30 -04:00
hw RDMA/mlx5: mlx5_umem_find_best_quantized_pgoff() for CQ 2020-11-16 16:53:30 -04:00
sw RDMA/rxe: Remove VLAN code leftovers from RXE 2020-11-12 11:38:27 -04:00
ulp IB/isert: Do not excplicitly check == false for bool 2020-11-12 12:01:37 -04:00
Kconfig IB/core: Improve ODP to use hmm_range_fault() 2020-10-01 16:39:54 -03:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00