aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/mlx5/devx.c
diff options
context:
space:
mode:
authorJason Gunthorpe <[email protected]>2020-11-15 11:43:09 +0000
committerJason Gunthorpe <[email protected]>2020-11-16 20:53:30 +0000
commitc08fbdc57741026a440d01593e09e11b60b3e210 (patch)
treeccf7b749a9874e431e10c3429f60a2003b0f1a9e /drivers/infiniband/hw/mlx5/devx.c
parentRDMA/mlx5: Use mlx5_umem_find_best_quantized_pgoff() for QP (diff)
downloadkernel-c08fbdc57741026a440d01593e09e11b60b3e210.tar.gz
kernel-c08fbdc57741026a440d01593e09e11b60b3e210.zip
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: e126ba97dba9 ("mlx5: Add driver for Mellanox Connect-IB adapters") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Leon Romanovsky <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'drivers/infiniband/hw/mlx5/devx.c')
0 files changed, 0 insertions, 0 deletions