STRUCT IB_USER_MAD_REG_REQ2(9)
β¨ NAME β¨
struct ib_user_mad_reg_req2 β the MAD registration request struct, straight from the Kernel API Manual, bestie π
πΈ SYNOPSIS πΈ
struct ib_user_mad_reg_req2 {
__u32 id;
__u32 qpn;
__u8 mgmt_class;
__u8 mgmt_class_version;
__u16 res;
__u32 flags;
__aligned_u64 method_mask[2];
__u32 oui;
__u8 rmpp_version;
__u8 reserved[3];
};
π Members π
The whole struct squad is up in the synopsis β the tea on each member is right below ππ
π§ Description π§
idβ set by the kernel (yes, the kernel handles this part, not you π); userspace uses it to identify the registered agent in future requests.qpnβ queue pair number; must be0or1π₯mgmt_classβ says which management class of MADs the caller should receive. This field is only required if the user wants to receive unsolicited MADs; otherwise it should be0.mgmt_class_versionβ says which version of MADs for the given management class to receive.resβ ignored πflagsβ additional registration flags; must be in the set of flags defined inIB_USER_MAD_REG_FLAGS_CAP.method_maskβ the caller wishes to receive unsolicited MADs for the methods whose bit(s) is(are) set β¨ (it'smethod_mask[2]up in the struct, iykyk)ouiβ indicates the IEEE OUI to use whenmgmt_classis a vendor class in the range from0x30to0x4f. Otherwise not used.rmpp_versionβ if set, indicates the RMPP version to use.reserved[3]β it's in the struct, bestie; the original member list doesn't give it its own description, so no invented lore here π«Ά
π SEE ALSO π
- Kernel file
./include/uapi/rdma/ib_user_mad.h struct ib_user_mad_hdr_old(9)struct ib_user_mad_hdr(9)struct ib_user_mad(9)struct ib_user_mad_reg_req(9)
And that's the whole page, bestie π«Ά this one's from ./include/uapi/rdma, dated October 2026, and it's struct ib_user_mad_reg_req2(9) β periodt π
β¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms