RDMA/mlx5: Use mlx5_umem_find_best_quantized_pgoff() for QP
authorJason Gunthorpe <jgg@nvidia.com>
Sun, 15 Nov 2020 11:43:08 +0000 (13:43 +0200)
committerJason Gunthorpe <jgg@nvidia.com>
Mon, 16 Nov 2020 20:53:30 +0000 (16:53 -0400)
commita59b7b05efc827929c2aa46fc2fe561982bd19fc
tree1725817f666196330a9c27820a1e9a854c12fd1c
parent7579dcdf737d76a28243add75dc78babf09e29fa
RDMA/mlx5: Use mlx5_umem_find_best_quantized_pgoff() for QP

Delete custom logic in the QP in favor of more general variant.

Link: https://lore.kernel.org/r/20201115114311.136250-5-leon@kernel.org
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/mlx5/mem.c
drivers/infiniband/hw/mlx5/mlx5_ib.h
drivers/infiniband/hw/mlx5/qp.c