summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAdit Ranadive <aditr@vmware.com>2019-01-09 23:08:49 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-05-16 19:42:29 +0200
commitfc038565f1b6418a00b4a2ea96158fe15e1f7cbf (patch)
tree8175b4bb03c89404a7bf77fb1cffe1b33ea3f5d4 /include
parent34572dadff451568b2db16e9765b0d32b3430514 (diff)
RDMA/vmw_pvrdma: Return the correct opcode when creating WR
[ Upstream commit 6325e01b6cdf4636b721cf7259c1616e3cf28ce2 ] Since the IB_WR_REG_MR opcode value changed, let's set the PVRDMA device opcodes explicitly. Reported-by: Ruishuang Wang <ruishuangw@vmware.com> Fixes: 9a59739bd01f ("IB/rxe: Revise the ib_wr_opcode enum") Cc: stable@vger.kernel.org Reviewed-by: Bryan Tan <bryantan@vmware.com> Reviewed-by: Ruishuang Wang <ruishuangw@vmware.com> Reviewed-by: Vishnu Dasa <vdasa@vmware.com> Signed-off-by: Adit Ranadive <aditr@vmware.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com> Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/rdma/vmw_pvrdma-abi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/rdma/vmw_pvrdma-abi.h b/include/uapi/rdma/vmw_pvrdma-abi.h
index 912ea1556a0b..fd801c7be120 100644
--- a/include/uapi/rdma/vmw_pvrdma-abi.h
+++ b/include/uapi/rdma/vmw_pvrdma-abi.h
@@ -76,6 +76,7 @@ enum pvrdma_wr_opcode {
PVRDMA_WR_MASKED_ATOMIC_FETCH_AND_ADD,
PVRDMA_WR_BIND_MW,
PVRDMA_WR_REG_SIG_MR,
+ PVRDMA_WR_ERROR,
};
enum pvrdma_wc_status {