RDMA/rxe: Replace WR_REG_MASK by WR_LOCAL_OP_MASK
authorBob Pearson <rpearsonhpe@gmail.com>
Tue, 8 Jun 2021 04:25:48 +0000 (23:25 -0500)
committerJason Gunthorpe <jgg@nvidia.com>
Wed, 16 Jun 2021 23:51:18 +0000 (20:51 -0300)
commit886441fb2e658e601e22705c1a9c856ac2e8a464
tree6674afd9f1ae746eb20e111ffb12c1fa026d165c
parentbeec0239c3fae5828cc2f4b8869d75d8b3e82ee7
RDMA/rxe: Replace WR_REG_MASK by WR_LOCAL_OP_MASK

Rxe has two mask bits WR_LOCAL_MASK and WR_REG_MASK with WR_REG_MASK used
to indicate any local operation and WR_LOCAL_MASK unused. This patch
replaces both of these with one mask bit WR_LOCAL_OP_MASK which is
clearer.

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