[RFC 0/4] nvme-rdma: dma-buf backed I/O

Anuj Gupta anuj20.g at samsung.com
Wed Nov 18 02:33:23 PST 2026


Hi all,

This series adds dma-buf support for NVMe over Fabrics using RDMA.

Patch 1 moves the NVMe dma-buf I/O context handling from nvme-pci to
nvme-core.

Patch 2 lets transports create and provide the dma-buf attachment.

Patch 3 adds an RDMA helper for attaching a dma-buf to the device used
for DMA.

Patch 4 adds dma-buf backed I/O support to nvme-rdma.

The series has been lightly tested with the liburing rw-dmabuf test
over NVMe/RDMA using Mellanox ConnectX-3 Pro adapters.

Anuj Gupta (1):
  RDMA/core: Add ib_dma_buf_dynamic_attach()

Nitesh Shetty (3):
  nvme: move dma-buf I/O context handling to nvme-core
  nvme: let transports provide the dma-buf attachment
  nvme-rdma: support dma-buf backed requests

 drivers/infiniband/core/verbs.c              |  28 +++
 drivers/nvme/host/Makefile                   |   2 +-
 drivers/nvme/host/{pci-dmabuf.c => dmabuf.c} |  93 ++++++++--
 drivers/nvme/host/{pci-dmabuf.h => dmabuf.h} |  46 ++++-
 drivers/nvme/host/pci.c                      |  14 +-
 drivers/nvme/host/rdma.c                     | 182 ++++++++++++++++++-
 include/rdma/ib_verbs.h                      |   7 +
 7 files changed, 334 insertions(+), 38 deletions(-)
 rename drivers/nvme/host/{pci-dmabuf.c => dmabuf.c} (58%)
 rename drivers/nvme/host/{pci-dmabuf.h => dmabuf.h} (51%)

-- 
2.25.1




More information about the Linux-nvme mailing list