Skip to content

Commit

Permalink
libibverbs: correct access range bits flag name
Browse files Browse the repository at this point in the history
1. s/potential/optional/
2. correct s/IBV_OPTIONAL_ACCESS_RANGE/IBV_ACCESS_OPTIONAL_RANGE

Signed-off-by: Liu, Changcheng <changcheng.liu@aliyun.com>
  • Loading branch information
changchengx committed Nov 4, 2024
1 parent 86a3a69 commit 4931dc4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libibverbs/verbs.h
Original file line number Diff line number Diff line change
Expand Up @@ -2568,9 +2568,9 @@ static inline int ibv_close_xrcd(struct ibv_xrcd *xrcd)
* ibv_reg_mr_iova2 - Register memory region with a virtual offset address
*
* This version will be called if ibv_reg_mr or ibv_reg_mr_iova were called
* with at least one potential access flag from the IBV_OPTIONAL_ACCESS_RANGE
* flags range The optional access flags will be masked if running over kernel
* that does not support passing them.
* with at least one optional access flag from the IBV_ACCESS_OPTIONAL_RANGE
* bits flag range. The optional access flags will be masked if running over
* kernel that does not support passing them.
*/
struct ibv_mr *ibv_reg_mr_iova2(struct ibv_pd *pd, void *addr, size_t length,
uint64_t iova, unsigned int access);
Expand Down

0 comments on commit 4931dc4

Please sign in to comment.