RDMA/vmw_pvrdma: Return the correct opcode when creating WR
authorAdit Ranadive <aditr@vmware.com>
Wed, 9 Jan 2019 23:08:49 +0000 (23:08 +0000)
committerJason Gunthorpe <jgg@mellanox.com>
Fri, 11 Jan 2019 00:00:28 +0000 (17:00 -0700)
commit6325e01b6cdf4636b721cf7259c1616e3cf28ce2
treedec6788add6ae4dd552b12787aadc3da9cabe016
parent917cb8a72a94d198073ad1e087685f801292042d
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>
drivers/infiniband/hw/vmw_pvrdma/pvrdma.h
drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c
include/uapi/rdma/vmw_pvrdma-abi.h