Skip to content

Commit

Permalink
man: Fix the description of virtual address when FI_MR_DMABUF is set
Browse files Browse the repository at this point in the history
Update the description to reflect the addition of the base_addr field to
struct fi_mr_dmabuf.

Signed-off-by: Jianxin Xiong <[email protected]>
  • Loading branch information
j-xiong committed Nov 3, 2023
1 parent 3c645bf commit 263dd4a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions man/fi_mr.3.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,10 +236,9 @@ The following apply to memory registration.
prior to initiating any RMA or atomic operation.
For memory regions that are registered using FI_MR_DMABUF, the starting
'virtual address' of the DMA-buf region is equal to the offset field
of struct fi_mr_dmabuf that was specified through the registration call.
That is, a DMA-buf region starts at 'virtual address' 0, with offset
being used as the starting address of the registration.
'virtual address' of the DMA-buf region is obtained by adding the offset
field to the base_addr field of struct fi_mr_dmabuf that was specified
through the registration call.
*FI_MR_ALLOCATED*
: When set, all registered memory regions must be backed by physical
Expand Down

0 comments on commit 263dd4a

Please sign in to comment.