Use ib_umem_find_best_pgsz() for all umems
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | RDMA/mlx5: Use ib_umem_find_best_pgsz() for devxdrivers/ drivers/ include/ | +91 | 0 replies | |
| 2/6 | RDMA/mlx5: Use ib_umem_find_best_pgoff() for SRQdrivers/ drivers/ drivers/ | +70 | 0 replies | |
| 3/6 | RDMA/mlx5: Use mlx5_umem_find_best_quantized_pgoff() for WQdrivers/ | +31 | 2 replies | |
| 4/6 | RDMA/mlx5: Use mlx5_umem_find_best_quantized_pgoff() for QPdrivers/ drivers/ drivers/ | +23 | 0 replies | |
| 5/6 | RDMA/mlx5: mlx5_umem_find_best_quantized_pgoff() for CQdrivers/ drivers/ drivers/ | +45 | 0 replies | |
| 6/6 | RDMA/mlx5: Lower setting the umem's PAS for SRQdrivers/ drivers/ drivers/ | +79 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH rdma-next 0/6] Use ib_umem_find_best_pgsz() for all umems
From: Leon Romanovsky <[email protected]>
From Jason:
Move the remaining cases working with umems to use versions of ib_umem_find_best_pgsz() tailored to the calculations the devices requires.
Unlike a MR there is no IOVA, instead a page offset from the starting page is possible, with various restrictions.
Compute the best page size to meet the page_offset restrictions.
Thanks
Jason Gunthorpe (6):
RDMA/mlx5: Use ib_umem_find_best_pgsz() for devx RDMA/mlx5: Use ib_umem_find_best_pgoff() for SRQ RDMA/mlx5: Use mlx5_umem_find_best_quantized_pgoff() for WQ RDMA/mlx5: Use mlx5_umem_find_best_quantized_pgoff() for QP RDMA/mlx5: mlx5_umem_find_best_quantized_pgoff() for CQ RDMA/mlx5: Lower setting the umem's PAS for SRQ
drivers/infiniband/hw/mlx5/cq.c | 48 ++++++++--- drivers/infiniband/hw/mlx5/devx.c | 56 ++++++------ drivers/infiniband/hw/mlx5/mem.c | 115 +++++++++---------------- drivers/infiniband/hw/mlx5/mlx5_ib.h | 56 ++++++++++-- drivers/infiniband/hw/mlx5/qp.c | 124 ++++++++++++--------------- drivers/infiniband/hw/mlx5/srq.c | 27 +----- drivers/infiniband/hw/mlx5/srq.h | 1 + drivers/infiniband/hw/mlx5/srq_cmd.c | 80 ++++++++++++++++- include/rdma/ib_umem.h | 42 +++++++++ 9 files changed, 326 insertions(+), 223 deletions(-)
--
2.26.2