summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorAdit Ranadive <aditr@vmware.com>2019-01-10 02:08:49 +0300
committerJason Gunthorpe <jgg@mellanox.com>2019-01-11 03:00:28 +0300
commit6325e01b6cdf4636b721cf7259c1616e3cf28ce2 (patch)
treedec6788add6ae4dd552b12787aadc3da9cabe016 /include/uapi
parent917cb8a72a94d198073ad1e087685f801292042d (diff)
downloadlinux-6325e01b6cdf4636b721cf7259c1616e3cf28ce2.tar.xz
RDMA/vmw_pvrdma: Return the correct opcode when creating WR
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>
Diffstat (limited to 'include/uapi')
-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 d13fd490b66d..6e73f0274e41 100644
--- a/include/uapi/rdma/vmw_pvrdma-abi.h
+++ b/include/uapi/rdma/vmw_pvrdma-abi.h
@@ -78,6 +78,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 {