[RFC 4/4] nvme-rdma: support dma-buf backed requests
Christoph Hellwig
hch at lst.de
Tue Nov 24 21:34:16 PST 2026
On Mon, Nov 23, 2026 at 04:46:55PM +0530, Nitesh Shetty wrote:
> 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.
Ok. Can you add comments?
More information about the Linux-nvme
mailing list