aboutsummaryrefslogtreecommitdiff
path: root/hw/rdma/vmw/pvrdma_cmd.c
diff options
context:
space:
mode:
authorYuval Shaia <yuval.shaia@oracle.com>2018-08-05 18:35:10 +0300
committerMarcel Apfelbaum <marcel.apfelbaum@gmail.com>2018-08-18 17:59:58 +0300
commit6e7dba23af1a8f30eac42022cfb94d8693ed20e2 (patch)
tree54885d13c8eec61aa80a29ef8050078d9cc6c58a /hw/rdma/vmw/pvrdma_cmd.c
parenteca0f2a6be86602a82edcd90ecd8f4a57b0c8007 (diff)
downloadqemu-6e7dba23af1a8f30eac42022cfb94d8693ed20e2.zip
qemu-6e7dba23af1a8f30eac42022cfb94d8693ed20e2.tar.gz
qemu-6e7dba23af1a8f30eac42022cfb94d8693ed20e2.tar.bz2
hw/pvrdma: Make default pkey 0xFFFF
0x7FFF is not the default pkey - fix it. Signed-off-by: Yuval Shaia <yuval.shaia@oracle.com> Reviewed-by: Marcel Apfelbaum <marcel.apfelbaum@gmail.com> Message-Id: <20180805153518.2983-6-yuval.shaia@oracle.com> Signed-off-by: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
Diffstat (limited to 'hw/rdma/vmw/pvrdma_cmd.c')
-rw-r--r--hw/rdma/vmw/pvrdma_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/rdma/vmw/pvrdma_cmd.c b/hw/rdma/vmw/pvrdma_cmd.c
index e7d6589..4f74b29 100644
--- a/hw/rdma/vmw/pvrdma_cmd.c
+++ b/hw/rdma/vmw/pvrdma_cmd.c
@@ -166,7 +166,7 @@ static int query_pkey(PVRDMADev *dev, union pvrdma_cmd_req *req,
resp->hdr.ack = PVRDMA_CMD_QUERY_PKEY_RESP;
resp->hdr.err = 0;
- resp->pkey = 0x7FFF;
+ resp->pkey = PVRDMA_PKEY;
pr_dbg("pkey=0x%x\n", resp->pkey);
return 0;