RDMA: Support CQs with user memory
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 2 repliesApplied
- v12 patches 5 repliesSuperseded
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | RDMA/uverbs: Add a common way to create CQ with umemdrivers/ drivers/ include/ +1 more | +90 | 0 replies | |
| 2/3 | RDMA/core: Add umem "is_contiguous" and "start_dma_addr" helpersinclude/ | +21 | 0 replies | |
| 3/3 | RDMA/efa: Add CQ with external memory supportdrivers/ drivers/ drivers/ +1 more | +53 | 0 replies |
Reviews trailers per patch
1 of 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Daniel Kranzdorf | Yonatan Nachum | Jason Gunthorpe |
|---|---|---|---|
| Series | R-b | ||
| 1/3 | |||
| 2/3 | |||
| 3/3 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH for-next v2 0/3] RDMA: Support CQs with user memory
This series is adding a common way for creating CQs on top of preallocated memory supplied by userspace. The memory buffer can be provided as a virtual address or by dmabuf, in both cases a umem object is created for driver's use.
EFA is the first to support this new interface, new drivers or existing drivers that want/need to get the memory from userspace are expected to use this flow.
It's follow-up of the discussion in [1].
Changelog
=========
Changes from v1 [2]:
- Added a new "create_cq_umem" driver op instead of a flag set by supporting drivers
- Added ib_umem_is_contiguous() and ib_umem_start_dma_addr() helpers in a new patch
- Dropped references to umem scatter-gather list in EFA implementation and using the new helpers that hide the details instead
References
==========
[1] https://lore.kernel.org/all/[email protected]/
[2] https://lore.kernel.org/all/[email protected]/
Thanks
Michael Margolin (3):
RDMA/uverbs: Add a common way to create CQ with umem RDMA/core: Add umem "is_contiguous" and "start_dma_addr" helpers RDMA/efa: Add CQ with external memory support
drivers/infiniband/core/device.c | 1 + drivers/infiniband/core/uverbs_std_types_cq.c | 87 +++++++++++++++++-- drivers/infiniband/hw/efa/efa.h | 3 + drivers/infiniband/hw/efa/efa_main.c | 1 + drivers/infiniband/hw/efa/efa_verbs.c | 61 ++++++++++--- include/rdma/ib_umem.h | 25 +++++- include/rdma/ib_verbs.h | 4 + include/uapi/rdma/efa-abi.h | 3 +- include/uapi/rdma/ib_user_ioctl_cmds.h | 4 + 9 files changed, 164 insertions(+), 25 deletions(-)
Signature · 1 line
2.47.1