RDMA/rxe: Fixes mr access supported list
authorBob Pearson <rpearsonhpe@gmail.com>
Tue, 13 Jun 2023 17:16:55 +0000 (12:16 -0500)
committerJason Gunthorpe <jgg@nvidia.com>
Tue, 20 Jun 2023 14:42:39 +0000 (11:42 -0300)
commitee678e5dffc0b0d63b4a2ec6129063339435bfc5
tree05832ca5cf56cd731008a4070e5334959293f015
parent830f93f47068b1632cc127871fbf27e918efdf46
RDMA/rxe: Fixes mr access supported list

A recent patch incorrectly did not include IB_ACCESS_RELAXED_ORDERING in
the list of supported access flags for the rxe driver. The driver actually
does nothing related to relaxed ordering but it causes no problems to
include it as supported but with no effect. This change caused ib_send_bw
and friends to not run correctly.

The correct approach is for the driver to allow any of the optional access
flags and otherwise ignore them. This patch adds IB_ACCESS_OPTIONAL to the
list of rxe supported flags.

Fixes: 02ed253770fb ("RDMA/rxe: Introduce rxe access supported flags")
Link: https://lore.kernel.org/r/20230613171654.19334-1-rpearsonhpe@gmail.com
Signed-off-by: Bob Pearson <rpearsonhpe@gmail.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/sw/rxe/rxe_verbs.h