public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH rdma-next 00/12] Refactor UMR post send logic
@ 2022-04-12  7:23 Leon Romanovsky
  2022-04-25 18:48 ` Jason Gunthorpe
  0 siblings, 1 reply; 2+ messages in thread
From: Leon Romanovsky @ 2022-04-12  7:23 UTC (permalink / raw)
  To: Jason Gunthorpe
  Cc: Leon Romanovsky, Aharon Landau, linux-kernel, linux-rdma,
	Michael Guralnik

From: Leon Romanovsky <leonro@nvidia.com>

Hi,

UMR are special QPs that require slightly different logic than other
QPs. This series from Aharon refactors the logic around UMR QP to
separate file and functions to clean the post send flow.

Thanks

Aharon Landau (12):
  RDMA/mlx5: Move init and cleanup of UMR to umr.c
  RDMA/mlx5: Move umr checks to umr.h
  RDMA/mlx5: Move mkey ctrl segment logic to umr.c
  RDMA/mlx5: Simplify get_umr_update_access_mask()
  RDMA/mlx5: Expose wqe posting helpers outside of wr.c
  RDMA/mlx5: Introduce mlx5_umr_post_send_wait()
  RDMA/mlx5: Use mlx5_umr_post_send_wait() to revoke MRs
  RDMA/mlx5: Use mlx5_umr_post_send_wait() to rereg pd access
  RDMA/mlx5: Move creation and free of translation tables to umr.c
  RDMA/mlx5: Use mlx5_umr_post_send_wait() to update MR pas
  RDMA/mlx5: Use mlx5_umr_post_send_wait() to update xlt
  RDMA/mlx5: Clean UMR QP type flow from mlx5_ib_post_send()

 drivers/infiniband/hw/mlx5/Makefile  |   1 +
 drivers/infiniband/hw/mlx5/main.c    | 109 +----
 drivers/infiniband/hw/mlx5/mlx5_ib.h |  89 +---
 drivers/infiniband/hw/mlx5/mr.c      | 421 +---------------
 drivers/infiniband/hw/mlx5/odp.c     |  63 ++-
 drivers/infiniband/hw/mlx5/qp.c      |   1 +
 drivers/infiniband/hw/mlx5/umr.c     | 700 +++++++++++++++++++++++++++
 drivers/infiniband/hw/mlx5/umr.h     |  97 ++++
 drivers/infiniband/hw/mlx5/wr.c      | 377 +++------------
 drivers/infiniband/hw/mlx5/wr.h      |  60 +++
 10 files changed, 976 insertions(+), 942 deletions(-)
 create mode 100644 drivers/infiniband/hw/mlx5/umr.c
 create mode 100644 drivers/infiniband/hw/mlx5/umr.h

-- 
2.35.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH rdma-next 00/12] Refactor UMR post send logic
  2022-04-12  7:23 [PATCH rdma-next 00/12] Refactor UMR post send logic Leon Romanovsky
@ 2022-04-25 18:48 ` Jason Gunthorpe
  0 siblings, 0 replies; 2+ messages in thread
From: Jason Gunthorpe @ 2022-04-25 18:48 UTC (permalink / raw)
  To: Leon Romanovsky
  Cc: Leon Romanovsky, Aharon Landau, linux-kernel, linux-rdma,
	Michael Guralnik

On Tue, Apr 12, 2022 at 10:23:55AM +0300, Leon Romanovsky wrote:
> From: Leon Romanovsky <leonro@nvidia.com>
> 
> Hi,
> 
> UMR are special QPs that require slightly different logic than other
> QPs. This series from Aharon refactors the logic around UMR QP to
> separate file and functions to clean the post send flow.
> 
> Thanks
> 
> Aharon Landau (12):
>   RDMA/mlx5: Move init and cleanup of UMR to umr.c
>   RDMA/mlx5: Move umr checks to umr.h
>   RDMA/mlx5: Move mkey ctrl segment logic to umr.c
>   RDMA/mlx5: Simplify get_umr_update_access_mask()
>   RDMA/mlx5: Expose wqe posting helpers outside of wr.c
>   RDMA/mlx5: Introduce mlx5_umr_post_send_wait()
>   RDMA/mlx5: Use mlx5_umr_post_send_wait() to revoke MRs
>   RDMA/mlx5: Use mlx5_umr_post_send_wait() to rereg pd access
>   RDMA/mlx5: Move creation and free of translation tables to umr.c
>   RDMA/mlx5: Use mlx5_umr_post_send_wait() to update MR pas
>   RDMA/mlx5: Use mlx5_umr_post_send_wait() to update xlt
>   RDMA/mlx5: Clean UMR QP type flow from mlx5_ib_post_send()

I moved the static to the earlier patch, but otherwise applied to
for-next, thanks

Jason

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-04-25 18:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-12  7:23 [PATCH rdma-next 00/12] Refactor UMR post send logic Leon Romanovsky
2022-04-25 18:48 ` Jason Gunthorpe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox