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
213 * used.213 * used.
214 * @rmpp_version - If set, indicates the RMPP version to use.214 * @rmpp_version - If set, indicates the RMPP version to use.
215 */215 */
216#define IB_USER_MAD_REG_FLAGS_CAP (0)216enum {
217 IB_USER_MAD_USER_RMPP = (1 << 0),
218};
219#define IB_USER_MAD_REG_FLAGS_CAP (IB_USER_MAD_USER_RMPP)
217struct ib_user_mad_reg_req2 {220struct ib_user_mad_reg_req2 {
218 __u32 id;221 __u32 id;
219 __u32 qpn;222 __u32 qpn;