aboutsummaryrefslogtreecommitdiff
path: root/hw/rdma/vmw/pvrdma.h
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.h
parenteca0f2a6be86602a82edcd90ecd8f4a57b0c8007 (diff)
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.h')
-rw-r--r--hw/rdma/vmw/pvrdma.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/rdma/vmw/pvrdma.h b/hw/rdma/vmw/pvrdma.h
index 81e0e0e99c..e2d9f93cdf 100644
--- a/hw/rdma/vmw/pvrdma.h
+++ b/hw/rdma/vmw/pvrdma.h
@@ -50,6 +50,9 @@
#define PVRDMA_HW_VERSION 17
#define PVRDMA_FW_VERSION 14
+/* Some defaults */
+#define PVRDMA_PKEY 0x7FFF
+
typedef struct DSRInfo {
dma_addr_t dma;
struct pvrdma_device_shared_region *dsr;