STRUCT CDX_MCDI_DATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct cdx_mcdi_data(9) ✨

okay bestie, so this is straight out of the Kernel API Manual and it's genuinely such a cute little struct β€” it's the extra state that NICs carry around when they implement MCDI. tiny struct, big main character energy. πŸ’…


🌸 NAME 🌸

struct cdx_mcdi_data β€” extra state for NICs that implement MCDI πŸ¦‹


πŸŽ€ SYNOPSIS πŸŽ€

struct cdx_mcdi_data {
    struct cdx_mcdi_iface iface;
    u32 fn_flags;
 };

literally just two fields, no cap. so clean. ✨


πŸ’– Members πŸ’–

  • iface β€” the interface/protocol state, she's holding it all together okay 🫢
  • fn_flags β€” the flags for this function, exactly as returned by MC_CMD_DRV_ATTACH (copy it verbatim, don't be weird about it πŸ”₯)

πŸ‘‘ SEE ALSO πŸ‘‘

  • Kernel file ./include/linux/cdx/mcdi.h
  • enum cdx_mcdi_mode(9)
  • enum cdx_mcdi_cmd_state(9)
  • struct cdx_mcdi(9)
  • struct cdx_mcdi_cmd(9)
  • struct cdx_mcdi_iface(9)

like, go read the whole friend group, they're all linked πŸ’œ


ngl this one's short but she ate. no bugs to warn u about, no weird undefined behaviour, just vibes and two struct members. 🧚

that's the whole page bestie, mwah πŸ’‹

source: ./include/linux/cdx β€” dated October 2026 β€” see u in the next manpage, love u, bye!! πŸŽ€πŸ’–βœ¨

πŸ“¦ where this page comes from