RFC RDMA/rxe: Add dma-buf support
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest3 patches 16 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | RDMA/umem: Change for rdma devices has not dma devicedrivers/ | +1 | 14 replies | |
| 2/3 | RDMA/rxe: Extract a mapping process into a functiondrivers/ | +54 | 0 replies | |
| 3/3 | RDMA/rxe: Support dma-buf as memory regiondrivers/ drivers/ drivers/ | +140 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC PATCH 0/3] RDMA/rxe: Add dma-buf support
This patch series add a support for rxe driver.
A dma-buf based memory registering has beed introduced to use the memory region that lack of associated page structures (e.g. device memory and CMA managed memory) [1]. However, to use the dma-buf based memory, each rdma device drivers require add some implementation. The rxe driver has not support yet.
[1] https://www.spinics.net/lists/linux-rdma/msg98592.html
To enable to use the memories in rxe rdma device, add some changes and implementation in this patch series.
This series consists of three patches. The first patch changes the IB core to support for rdma drivers that have not real dma device. The second patch extracts a memory mapping process of rxe as a common function to use a dma-buf support. The third patch adds the dma-buf support to rxe driver.
Related user space RDMA library changes are provided as a separate patch.
Shunsuke Mie (3):
RDMA/umem: Change for rdma devices has not dma device RDMA/rxe: Extract a mapping process into a function RDMA/rxe: Support dma-buf as memory region
drivers/infiniband/core/umem_dmabuf.c | 2 +- drivers/infiniband/sw/rxe/rxe_loc.h | 3 + drivers/infiniband/sw/rxe/rxe_mr.c | 186 +++++++++++++++++++++----- drivers/infiniband/sw/rxe/rxe_verbs.c | 36 +++++ 4 files changed, 193 insertions(+), 34 deletions(-)
Signature · 1 line
2.17.1