* Question about ibv_reg_mr() and ibv_reg_mr_iova()
@ 2021-07-06 14:25 Xiao Yang
2021-07-06 17:31 ` Jason Gunthorpe
0 siblings, 1 reply; 2+ messages in thread
From: Xiao Yang @ 2021-07-06 14:25 UTC (permalink / raw)
To: jgg, rpearsonhpe, haakon.bugge, zyjzyj2000; +Cc: linux-rdma
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).
What do these three variables mean? what is the difference between them?
Best Regards,
Xiao Yang
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Question about ibv_reg_mr() and ibv_reg_mr_iova()
2021-07-06 14:25 Question about ibv_reg_mr() and ibv_reg_mr_iova() Xiao Yang
@ 2021-07-06 17:31 ` Jason Gunthorpe
0 siblings, 0 replies; 2+ messages in thread
From: Jason Gunthorpe @ 2021-07-06 17:31 UTC (permalink / raw)
To: Xiao Yang; +Cc: rpearsonhpe, haakon.bugge, zyjzyj2000, linux-rdma
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-07-06 17:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 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.