]> www.infradead.org Git - users/dwmw2/linux.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Jan 2019 20:09:53 +0000 (21:09 +0100)
commit6c6f0b13f77d99f0bd936c9afb2d2866ca028447
treecee5cf2d9618dfd5aef45bce61b198b356bfb5f6
parent47a3f9dd77317d88fd64866abc02c83351daafe7
RDMA/vmw_pvrdma: Return the correct opcode when creating WR

commit 6325e01b6cdf4636b721cf7259c1616e3cf28ce2 upstream.

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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/infiniband/hw/vmw_pvrdma/pvrdma.h
drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c
include/uapi/rdma/vmw_pvrdma-abi.h