* [PATCH rdma-next 0/5] Reorganize mlx5 UMR creation flow
@ 2020-09-14 11:26 Leon Romanovsky
2020-09-18 16:05 ` Jason Gunthorpe
0 siblings, 1 reply; 2+ messages in thread
From: Leon Romanovsky @ 2020-09-14 11:26 UTC (permalink / raw)
To: Doug Ledford, Jason Gunthorpe
Cc: Leon Romanovsky, Artemy Kovalyov, linux-kernel, linux-rdma,
Moni Shoua, Yishai Hadas
From: Leon Romanovsky <leonro@nvidia.com>
This flow has become crufty and confusing. Revise it so that the rules
on how UMR is used with MRs is much clearer and more correct.
Fixes a few minor bugs in ODP and rereg_mr where disallowed things were
not properly blocked.
Thanks
Jason Gunthorpe (5):
RDMA/mlx5: Remove dead check for EAGAIN after alloc_mr_from_cache()
RDMA/mlx5: Use set_mkc_access_pd_addr_fields() in reg_create()
RDMA/mlx5: Make mkeys always owned by the kernel's PD when not enabled
RDMA/mlx5: Disable IB_DEVICE_MEM_MGT_EXTENSIONS if IB_WR_REG_MR can't
work
RDMA/mlx5: Clarify what the UMR is for when creating MRs
drivers/infiniband/hw/mlx5/main.c | 4 +-
drivers/infiniband/hw/mlx5/mlx5_ib.h | 45 +++++++--
drivers/infiniband/hw/mlx5/mr.c | 133 ++++++++++++++-------------
drivers/infiniband/hw/mlx5/odp.c | 9 +-
drivers/infiniband/hw/mlx5/wr.c | 27 +++---
5 files changed, 127 insertions(+), 91 deletions(-)
--
2.26.2
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH rdma-next 0/5] Reorganize mlx5 UMR creation flow
2020-09-14 11:26 [PATCH rdma-next 0/5] Reorganize mlx5 UMR creation flow Leon Romanovsky
@ 2020-09-18 16:05 ` Jason Gunthorpe
0 siblings, 0 replies; 2+ messages in thread
From: Jason Gunthorpe @ 2020-09-18 16:05 UTC (permalink / raw)
To: Leon Romanovsky
Cc: Doug Ledford, Leon Romanovsky, Artemy Kovalyov, linux-kernel,
linux-rdma, Moni Shoua, Yishai Hadas
On Mon, Sep 14, 2020 at 02:26:48PM +0300, Leon Romanovsky wrote:
> From: Leon Romanovsky <leonro@nvidia.com>
>
> This flow has become crufty and confusing. Revise it so that the rules
> on how UMR is used with MRs is much clearer and more correct.
>
> Fixes a few minor bugs in ODP and rereg_mr where disallowed things were
> not properly blocked.
>
> Thanks
>
> Jason Gunthorpe (5):
> RDMA/mlx5: Remove dead check for EAGAIN after alloc_mr_from_cache()
> RDMA/mlx5: Use set_mkc_access_pd_addr_fields() in reg_create()
> RDMA/mlx5: Make mkeys always owned by the kernel's PD when not enabled
> RDMA/mlx5: Disable IB_DEVICE_MEM_MGT_EXTENSIONS if IB_WR_REG_MR can't
> work
> RDMA/mlx5: Clarify what the UMR is for when creating MRs
Applied to for-next
Jason
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-09-18 16:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-14 11:26 [PATCH rdma-next 0/5] Reorganize mlx5 UMR creation flow Leon Romanovsky
2020-09-18 16:05 ` Jason Gunthorpe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome