[RFC 4/4] nvme-rdma: support dma-buf backed requests
Nitesh Shetty
nj.shetty at samsung.com
Mon Nov 23 03:16:55 PST 2026
On 21/11/26 01:37AM, Christoph Hellwig wrote:
>How does this work with rxe/siw or non-PCIe based HCAs?
>
rxe/swi do not provide a DMA device, so registration fails with
-EOPNOTSUPP (patch 3).
For hardware HCAs, the dma-buf is attached to the DMA device of the
ib_device. Nothing in the mapping path is PCI specific, and if P2P is
not possible for non-PCI device, we expect the exporter's
pci_p2pdma_distance() check to take care of it. We do not have access to
non-PCI HCA setup, so that path is untested.
Thanks,
Nitesh
More information about the Linux-nvme
mailing list