From 4931dc40979c3bc3963ca6f661a269027a41b95d Mon Sep 17 00:00:00 2001 From: "Liu, Changcheng" Date: Mon, 4 Nov 2024 18:02:43 +0800 Subject: [PATCH] libibverbs: correct access range bits flag name 1. s/potential/optional/ 2. correct s/IBV_OPTIONAL_ACCESS_RANGE/IBV_ACCESS_OPTIONAL_RANGE Signed-off-by: Liu, Changcheng --- libibverbs/verbs.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libibverbs/verbs.h b/libibverbs/verbs.h index cec005519..5c3609e50 100644 --- a/libibverbs/verbs.h +++ b/libibverbs/verbs.h @@ -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);