summaryrefslogtreecommitdiffstats
path: root/include/uapi/rdma/ib_user_mad.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/uapi/rdma/ib_user_mad.h')
-rw-r--r--include/uapi/rdma/ib_user_mad.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/uapi/rdma/ib_user_mad.h b/include/uapi/rdma/ib_user_mad.h
index c00b081..09f809f 100644
--- a/include/uapi/rdma/ib_user_mad.h
+++ b/include/uapi/rdma/ib_user_mad.h
@@ -213,7 +213,10 @@ struct ib_user_mad_reg_req {
* used.
* @rmpp_version - If set, indicates the RMPP version to use.
*/
-#define IB_USER_MAD_REG_FLAGS_CAP (0)
+enum {
+ IB_USER_MAD_USER_RMPP = (1 << 0),
+};
+#define IB_USER_MAD_REG_FLAGS_CAP (IB_USER_MAD_USER_RMPP)
struct ib_user_mad_reg_req2 {
__u32 id;
__u32 qpn;
OpenPOWER on IntegriCloud