STRUCT CDX_MCDI_DATA(9)
β¨ 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 byMC_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
- 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