From: Jason Gunthorpe <jgg@nvidia.com>
To: Xiao Yang <ice_yangxiao@163.com>
Cc: rpearsonhpe@gmail.com, haakon.bugge@oracle.com,
zyjzyj2000@gmail.com, linux-rdma@vger.kernel.org
Subject: Re: Question about ibv_reg_mr() and ibv_reg_mr_iova()
Date: Tue, 6 Jul 2021 14:31:26 -0300 [thread overview]
Message-ID: <20210706173126.GY4459@nvidia.com> (raw)
In-Reply-To: <56061c0b-89bc-4ca1-599b-c47ce9a5e5f7@163.com>
On Tue, Jul 06, 2021 at 10:25:00PM +0800, Xiao Yang wrote:
> Hi all,
>
> After reading the implementation of ibv_reg_mr() and ibv_reg_mr_iova(), I am
> confused about three variables(i.e. addr, iova, hca_va).
Addr is the 'void *'
iova/hca_va reflect the address placed in the RDMA packets
There is a translation between the CPU virtual address and the RDMA
MR's address space.
Jason
prev parent reply other threads:[~2021-07-06 17:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-06 14:25 Question about ibv_reg_mr() and ibv_reg_mr_iova() Xiao Yang
2021-07-06 17:31 ` Jason Gunthorpe [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=20210706173126.GY4459@nvidia.com \
--to=jgg@nvidia.com \
--cc=haakon.bugge@oracle.com \
--cc=ice_yangxiao@163.com \
--cc=linux-rdma@vger.kernel.org \
--cc=rpearsonhpe@gmail.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.