From: Christoph Hellwig <hch@lst.de>
To: Nitesh Shetty <nj.shetty@samsung.com>
Cc: Christoph Hellwig <hch@lst.de>, Anuj Gupta <anuj20.g@samsung.com>,
kbusch@kernel.org, axboe@kernel.dk, sagi@grimberg.me,
jgg@ziepe.ca, leon@kernel.org, asml.silence@gmail.com,
joshi.k@samsung.com, anuj1072538@gmail.com,
linux-nvme@lists.infradead.org, linux-rdma@vger.kernel.org
Subject: Re: [RFC 4/4] nvme-rdma: support dma-buf backed requests
Date: Wed, 25 Nov 2026 06:34:16 +0100 [thread overview]
Message-ID: <20261125053416.GB20407@lst.de> (raw)
In-Reply-To: <20261123111040.7b2q7fe2xd6k6777@green245.gost>
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?
prev parent reply other threads:[~2026-11-25 5:34 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20261118103434epcas5p4ddef3806fafdb60f309fe882e354881c@epcas5p4.samsung.com>
2026-11-18 10:33 ` [RFC 0/4] nvme-rdma: dma-buf backed I/O Anuj Gupta
2026-11-18 10:33 ` [RFC 1/4] nvme: move dma-buf I/O context handling to nvme-core Anuj Gupta
2026-11-18 11:36 ` sashiko-bot
2026-11-21 0:35 ` Christoph Hellwig
2026-11-18 10:33 ` [RFC 2/4] nvme: let transports provide the dma-buf attachment Anuj Gupta
2026-11-18 11:37 ` sashiko-bot
2026-11-18 10:33 ` [RFC 3/4] RDMA/core: Add ib_dma_buf_dynamic_attach() Anuj Gupta
2026-11-18 11:36 ` sashiko-bot
2026-11-18 10:33 ` [RFC 4/4] nvme-rdma: support dma-buf backed requests Anuj Gupta
2026-11-18 11:57 ` sashiko-bot
2026-11-21 0:37 ` Christoph Hellwig
2026-11-23 11:16 ` Nitesh Shetty
2026-11-25 5:34 ` Christoph Hellwig [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261125053416.GB20407@lst.de \
--to=hch@lst.de \
--cc=anuj1072538@gmail.com \
--cc=anuj20.g@samsung.com \
--cc=asml.silence@gmail.com \
--cc=axboe@kernel.dk \
--cc=jgg@ziepe.ca \
--cc=joshi.k@samsung.com \
--cc=kbusch@kernel.org \
--cc=leon@kernel.org \
--cc=linux-nvme@lists.infradead.org \
--cc=linux-rdma@vger.kernel.org \
--cc=nj.shetty@samsung.com \
--cc=sagi@grimberg.me \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox