diff options
author | Xiao Yang <yangx.jy@fujitsu.com> | 2021-09-14 16:02:52 +0800 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2021-09-28 11:42:24 -0300 |
commit | 45216d63630a4ce80679c336685d948ec7478bb6 (patch) | |
tree | d05fe313255c43cce8fad367ef317db3be5e8c4c /drivers/infiniband/sw/rxe/rxe_opcode.h | |
parent | 373efe0f3095ef60a31876376c33c932f4721823 (diff) | |
download | linux-next-45216d63630a4ce80679c336685d948ec7478bb6.tar.gz |
RDMA/rxe: Add MASK suffix for RXE_READ_OR_ATOMIC and RXE_WRITE_OR_SEND
To reflect the intention, since it is not just a single bit.
Link: https://lore.kernel.org/r/20210914080253.1145353-3-yangx.jy@fujitsu.com
Signed-off-by: Xiao Yang <yangx.jy@fujitsu.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/infiniband/sw/rxe/rxe_opcode.h')
-rw-r--r-- | drivers/infiniband/sw/rxe/rxe_opcode.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/infiniband/sw/rxe/rxe_opcode.h b/drivers/infiniband/sw/rxe/rxe_opcode.h index bbeccb1dcec7..e3a46b287c15 100644 --- a/drivers/infiniband/sw/rxe/rxe_opcode.h +++ b/drivers/infiniband/sw/rxe/rxe_opcode.h @@ -82,8 +82,8 @@ enum rxe_hdr_mask { RXE_LOOPBACK_MASK = BIT(NUM_HDR_TYPES + 12), - RXE_READ_OR_ATOMIC = (RXE_READ_MASK | RXE_ATOMIC_MASK), - RXE_WRITE_OR_SEND = (RXE_WRITE_MASK | RXE_SEND_MASK), + RXE_READ_OR_ATOMIC_MASK = (RXE_READ_MASK | RXE_ATOMIC_MASK), + RXE_WRITE_OR_SEND_MASK = (RXE_WRITE_MASK | RXE_SEND_MASK), RXE_READ_OR_WRITE_MASK = (RXE_READ_MASK | RXE_WRITE_MASK), }; |