diff options
author | Bob Pearson <rpearsonhpe@gmail.com> | 2023-05-30 17:13:35 -0500 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2023-06-09 13:18:53 -0300 |
commit | 544c7f62cf32db2bd358f1e8a40a98bf98fa2a5c (patch) | |
tree | 6ff5d2fe548dd51eaeadf7f816747c4672369fdd /drivers/infiniband/sw/rxe/rxe_verbs.h | |
parent | 86a3fb55bc4fb2ea0c276d56f03335574a694ee4 (diff) |
RDMA/rxe: Implement rereg_user_mr
Implement the two easy cases of ib_rereg_user_mr.
Link: https://lore.kernel.org/r/20230530221334.89432-7-rpearsonhpe@gmail.com
Signed-off-by: Bob Pearson <rpearsonhpe@gmail.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/infiniband/sw/rxe/rxe_verbs.h')
-rw-r--r-- | drivers/infiniband/sw/rxe/rxe_verbs.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/infiniband/sw/rxe/rxe_verbs.h b/drivers/infiniband/sw/rxe/rxe_verbs.h index 2f2dc67f03dd..cb18b83b73c1 100644 --- a/drivers/infiniband/sw/rxe/rxe_verbs.h +++ b/drivers/infiniband/sw/rxe/rxe_verbs.h @@ -284,6 +284,11 @@ enum rxe_mr_lookup_type { RXE_LOOKUP_REMOTE, }; +enum rxe_rereg { + RXE_MR_REREG_SUPPORTED = IB_MR_REREG_PD + | IB_MR_REREG_ACCESS, +}; + static inline int rkey_is_mw(u32 rkey) { u32 index = rkey >> 8; |