diff options
author | Ira Weiny <ira.weiny@intel.com> | 2014-08-09 01:00:56 +0200 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2014-08-11 05:36:00 +0200 |
commit | 1471cb6ca67990a306500e69e52ffb28c93ccbbc (patch) | |
tree | 6d9dba8e122759ff4a193487aae516a300e563f1 /include/uapi | |
parent | IB/mad: add new ioctl to ABI to support new registration options (diff) | |
download | linux-1471cb6ca67990a306500e69e52ffb28c93ccbbc.tar.xz linux-1471cb6ca67990a306500e69e52ffb28c93ccbbc.zip |
IB/mad: Add user space RMPP support
Using the new registration mechanism, define a flag that indicates the
user wishes to process RMPP messages in user space rather than have
the kernel process them.
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'include/uapi')
-rw-r--r-- | include/uapi/rdma/ib_user_mad.h | 5 |
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 c00b081dc10e..09f809f323ea 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; |