STRUCT IB_USER_MAD_REG_REQ2(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 be 0 or 1 πŸ”₯
  • 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 be 0.
  • 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 in IB_USER_MAD_REG_FLAGS_CAP.
  • method_mask β€” the caller wishes to receive unsolicited MADs for the methods whose bit(s) is(are) set ✨ (it's method_mask[2] up in the struct, iykyk)
  • oui β€” indicates the IEEE OUI to use when mgmt_class is a vendor class in the range from 0x30 to 0x4f. 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