summaryrefslogtreecommitdiffstats
path: root/include/rdma/ib_verbs.h
diff options
context:
space:
mode:
authorDoug Ledford <dledford@redhat.com>2017-07-24 08:33:43 -0400
committerDoug Ledford <dledford@redhat.com>2017-07-24 08:33:43 -0400
commit03da084ed8804ddc5918883be84245b53393b8fb (patch)
tree564a4860cb9c5de3f504fd6156110d95b1c9f26b /include/rdma/ib_verbs.h
parent520eccdfe187591a51ea9ab4c1a024ae4d0f68d9 (diff)
parentbc5214ee29220251e5507882696ded5ca183b169 (diff)
downloadop-kernel-dev-03da084ed8804ddc5918883be84245b53393b8fb.zip
op-kernel-dev-03da084ed8804ddc5918883be84245b53393b8fb.tar.gz
Merge branch 'hfi1' into k.o/for-4.14
Diffstat (limited to 'include/rdma/ib_verbs.h')
-rw-r--r--include/rdma/ib_verbs.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/rdma/ib_verbs.h b/include/rdma/ib_verbs.h
index b573243..593ad26 100644
--- a/include/rdma/ib_verbs.h
+++ b/include/rdma/ib_verbs.h
@@ -577,7 +577,8 @@ struct ib_device_modify {
enum ib_port_modify_flags {
IB_PORT_SHUTDOWN = 1,
IB_PORT_INIT_TYPE = (1<<2),
- IB_PORT_RESET_QKEY_CNTR = (1<<3)
+ IB_PORT_RESET_QKEY_CNTR = (1<<3),
+ IB_PORT_OPA_MASK_CHG = (1<<4)
};
struct ib_port_modify {
@@ -664,6 +665,8 @@ union rdma_network_hdr {
};
};
+#define IB_QPN_MASK 0xFFFFFF
+
enum {
IB_MULTICAST_QPN = 0xffffff
};
OpenPOWER on IntegriCloud