RDMA/rxe: Add dma-buf support for Soft-RoCE
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | RDMA/umem: Change for rdma devices has not dma devicedrivers/ include/ | +35 | 1 reply | |
| 2/2 | RDMA/rxe: Add dma-buf supportdrivers/ drivers/ drivers/ +3 more | +126 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] RDMA/rxe: Add dma-buf support for Soft-RoCE
This patchset introduces dma-buf support for the Soft-RoCE (RXE) driver. By enabling dma-buf, RXE can now participate in zero-copy data transfers with other providers (such as GPUs) that export memory via dma-buf fds.
Traditionally, RXE only supported user-space memory regions (UMEM) based on system RAM. This change extends RXE’s capability to handle peer-to-peer (P2P) like workflows in a software-defined RDMA environment.
This patchset pass the rdma-core tests with the following link for the rdma-core:
https://github.com/linux-rdma/rdma-core/pull/1055
Zhu Yanjun (2):
RDMA/umem: Change for rdma devices has not dma device RDMA/rxe: Add dma-buf support
drivers/infiniband/core/umem_dmabuf.c | 35 ++++++++++- drivers/infiniband/sw/rxe/rxe.c | 2 + drivers/infiniband/sw/rxe/rxe_loc.h | 2 + drivers/infiniband/sw/rxe/rxe_mr.c | 89 ++++++++++++++++++++++++--- drivers/infiniband/sw/rxe/rxe_odp.c | 2 +- drivers/infiniband/sw/rxe/rxe_verbs.c | 40 ++++++++++++ drivers/infiniband/sw/rxe/rxe_verbs.h | 2 +- include/rdma/ib_umem.h | 1 + 8 files changed, 161 insertions(+), 12 deletions(-)
Signature · 1 line
2.53.0