History

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.

Ira Weiny committed 12 years ago

Commit 1471cb61 parent 0f29b464 files · +88 −36Browse files

Showing the changes to include/uapi (1 of 4 files). Show all

Unified · Split

include/uapi/rdma/ib_user_mad.h+4−1
@@ -213,7 +213,10 @@ struct ib_user_mad_reg_req { · 212 unmodified lines
213213 * used.
214214 * @rmpp_version - If set, indicates the RMPP version to use.
215215 */
216−#define IB_USER_MAD_REG_FLAGS_CAP (0)
216+enum {
217+ IB_USER_MAD_USER_RMPP = (1 << 0),
218+};
219+#define IB_USER_MAD_REG_FLAGS_CAP (IB_USER_MAD_USER_RMPP)
217220 struct ib_user_mad_reg_req2 {
218221 __u32 id;
219222 __u32 qpn;