RDMA/rxe: Introduce rxe access supported flags
authorBob Pearson <rpearsonhpe@gmail.com>
Tue, 30 May 2023 22:13:33 +0000 (17:13 -0500)
committerJason Gunthorpe <jgg@nvidia.com>
Fri, 9 Jun 2023 16:18:53 +0000 (13:18 -0300)
commit02ed253770fb27380c51af8e7e0903e6905469b6
tree635eaed9d009421457fca21789344f8e5d38aa91
parent425e1c9018fdf25cb4531606cc92d9d01a55534f
RDMA/rxe: Introduce rxe access supported flags

Introduce supported bit masks for setting the access attributes of MWs,
MRs, and QPs. Check these when attributes are set.

Link: https://lore.kernel.org/r/20230530221334.89432-5-rpearsonhpe@gmail.com
Signed-off-by: Bob Pearson <rpearsonhpe@gmail.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/sw/rxe/rxe_mw.c
drivers/infiniband/sw/rxe/rxe_qp.c
drivers/infiniband/sw/rxe/rxe_verbs.c
drivers/infiniband/sw/rxe/rxe_verbs.h