diff options
| author | Jason Gunthorpe <[email protected]> | 2020-11-15 11:43:09 +0000 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2020-11-16 20:53:30 +0000 |
| commit | c08fbdc57741026a440d01593e09e11b60b3e210 (patch) | |
| tree | ccf7b749a9874e431e10c3429f60a2003b0f1a9e /drivers/infiniband/hw/mlx5/devx.c | |
| parent | RDMA/mlx5: Use mlx5_umem_find_best_quantized_pgoff() for QP (diff) | |
| download | kernel-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
