summaryrefslogtreecommitdiffstats
path: root/include/rdma/rdmavt_qp.h
diff options
context:
space:
mode:
authorDoug Ledford <dledford@redhat.com>2017-07-24 14:33:43 +0200
committerDoug Ledford <dledford@redhat.com>2017-07-24 14:33:43 +0200
commit03da084ed8804ddc5918883be84245b53393b8fb (patch)
tree564a4860cb9c5de3f504fd6156110d95b1c9f26b /include/rdma/rdmavt_qp.h
parentLinux 4.13-rc2 (diff)
parentIB/hfi1: Handle missing magic values in config file (diff)
downloadlinux-03da084ed8804ddc5918883be84245b53393b8fb.tar.xz
linux-03da084ed8804ddc5918883be84245b53393b8fb.zip
Merge branch 'hfi1' into k.o/for-4.14
Diffstat (limited to 'include/rdma/rdmavt_qp.h')
-rw-r--r--include/rdma/rdmavt_qp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rdma/rdmavt_qp.h b/include/rdma/rdmavt_qp.h
index d664d2e76280..07e2fffa6de6 100644
--- a/include/rdma/rdmavt_qp.h
+++ b/include/rdma/rdmavt_qp.h
@@ -396,7 +396,7 @@ struct rvt_srq {
#define RVT_QPNMAP_ENTRIES (RVT_QPN_MAX / PAGE_SIZE / BITS_PER_BYTE)
#define RVT_BITS_PER_PAGE (PAGE_SIZE * BITS_PER_BYTE)
#define RVT_BITS_PER_PAGE_MASK (RVT_BITS_PER_PAGE - 1)
-#define RVT_QPN_MASK 0xFFFFFF
+#define RVT_QPN_MASK IB_QPN_MASK
/*
* QPN-map pages start out as NULL, they get allocated upon