From: Christoph Hellwig <hch@infradead.org>
To: Shunsuke Mie <mie@igel.co.jp>
Cc: Zhu Yanjun <zyjzyj2000@gmail.com>,
Christian K??nig <christian.koenig@amd.com>,
Alex Deucher <alexander.deucher@amd.com>,
Daniel Vetter <daniel.vetter@ffwll.ch>,
Doug Ledford <dledford@redhat.com>,
Jason Gunthorpe <jgg@ziepe.ca>,
Jianxin Xiong <jianxin.xiong@intel.com>,
Leon Romanovsky <leon@kernel.org>,
linux-kernel@vger.kernel.org, linux-rdma@vger.kernel.org,
dhobsong@igel.co.jp, taki@igel.co.jp, etom@igel.co.jp
Subject: Re: [RFC PATCH 1/3] RDMA/umem: Change for rdma devices has not dma device
Date: Wed, 8 Sep 2021 07:26:03 +0100 [thread overview]
Message-ID: <YThXe4WxHErNiwgE@infradead.org> (raw)
In-Reply-To: <20210908061611.69823-2-mie@igel.co.jp>
On Wed, Sep 08, 2021 at 03:16:09PM +0900, Shunsuke Mie wrote:
> To share memory space using dma-buf, a API of the dma-buf requires dma
> device, but devices such as rxe do not have a dma device. For those case,
> change to specify a device of struct ib instead of the dma device.
So if dma-buf doesn't actually need a device to dma map why do we ever
pass the dma_device here? Something does not add up.
next prev parent reply other threads:[~2021-09-08 6:27 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-08 6:16 [RFC PATCH 0/3] RDMA/rxe: Add dma-buf support Shunsuke Mie
2021-09-08 6:16 ` [RFC PATCH 1/3] RDMA/umem: Change for rdma devices has not dma device Shunsuke Mie
2021-09-08 6:26 ` Christoph Hellwig [this message]
2021-09-08 7:01 ` Shunsuke Mie
2021-09-08 7:19 ` Christoph Hellwig
2021-09-08 8:41 ` Shunsuke Mie
2021-09-08 11:18 ` Jason Gunthorpe
2021-09-08 13:33 ` Christian König
2021-09-08 19:22 ` Daniel Vetter
2021-09-08 23:33 ` Jason Gunthorpe
2021-09-09 9:26 ` Daniel Vetter
2021-09-10 1:46 ` Shunsuke Mie
2021-09-13 19:22 ` Daniel Vetter
2021-09-14 7:11 ` Shunsuke Mie
2021-09-14 9:38 ` Daniel Vetter
2021-09-14 10:13 ` Shunsuke Mie
2021-09-08 6:16 ` [RFC PATCH 2/3] RDMA/rxe: Extract a mapping process into a function Shunsuke Mie
2021-09-08 6:16 ` [RFC PATCH 3/3] RDMA/rxe: Support dma-buf as memory region Shunsuke Mie
2021-09-09 5:45 ` [RFC PATCH 0/3] RDMA/rxe: Add dma-buf support Zhu Yanjun
2021-09-10 2:00 ` Shunsuke Mie
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=YThXe4WxHErNiwgE@infradead.org \
--to=hch@infradead.org \
--cc=alexander.deucher@amd.com \
--cc=christian.koenig@amd.com \
--cc=daniel.vetter@ffwll.ch \
--cc=dhobsong@igel.co.jp \
--cc=dledford@redhat.com \
--cc=etom@igel.co.jp \
--cc=jgg@ziepe.ca \
--cc=jianxin.xiong@intel.com \
--cc=leon@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=mie@igel.co.jp \
--cc=taki@igel.co.jp \
--cc=zyjzyj2000@gmail.com \
/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;
as well as URLs for NNTP newsgroup(s).