STRUCT EFX_MCDI_DATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct efx_mcdi_data(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual ✨ β€” this is the page for struct efx_mcdi_data, and it's genuinely not that deep, but it IS important, so let's get into it 🫢


✨ NAME ✨

struct efx_mcdi_data β€” the extra state for NICs that implement MCDI. that's it. that's the whole vibe πŸ’…


🌸 SYNOPSIS 🌸

struct efx_mcdi_data {
    struct efx_mcdi_iface iface;
  #ifdef CONFIG_SFC_SIENA_MCDI_MON;
    struct efx_mcdi_mon hwmon;
  #endif;
    u32 fn_flags;
};

look at her. iconic. no cap, she's just a struct holding a few things together πŸŽ€


πŸ¦‹ Members πŸ¦‹

  • iface β€” the interface/protocol state, aka where the actual interface business lives πŸ’œ
  • hwmon β€” the hardware monitor state. pls note this one is wrapped in #ifdef CONFIG_SFC_SIENA_MCDI_MON, so she only shows up when that config's around πŸ™ˆ
  • fn_flags β€” flags for this function, as returned by MC_CMD_DRV_ATTACH. literally exactly what it says on the tin ⭐

🌈 SEE ALSO 🌈

  • the Kernel file ./drivers/net/ethernet/sfc/siena/mcdi.h (enum)
  • efx_mcdi_state(9)
  • enum efx_mcdi_mode(9)
  • struct efx_mcdi_iface(9)

like, go read those too, iykyk πŸ”₯


ok that's the whole page fr fr β€” nothing dangerous in here, no deprecated anything, just a struct being a struct 🧚

and that's a wrap, bestie! πŸ’– this came to you from ./drivers/net/ethernet/sfc/siena, dated October 2026 β€” catch you on the next page, mwah πŸŽ€πŸ’…βœ¨

πŸ“¦ where this page comes from