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.
Showing the changes to include/uapi (1 of 4 files). Show all
Unified · Split
| @@ -213,7 +213,10 @@ struct ib_user_mad_reg_req { · 212 unmodified lines | ||
| 213 | 213 | * used. |
| 214 | 214 | * @rmpp_version - If set, indicates the RMPP version to use. |
| 215 | 215 | */ |
| 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) | |
| 217 | 220 | struct ib_user_mad_reg_req2 { |
| 218 | 221 | __u32 id; |
| 219 | 222 | __u32 qpn; |