STRUCT ETHTOOL_NETDEV_STATE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct ethtool_netdev_state(9) β€” a Kernel API Manual moment

okay so bestie, welcome to the glow-up era of your kernel's ethtool state ✨ this is the page for struct ethtool_netdev_state, which is literally the per-netdevice state for ethtool features. like, every netdevice gets its own lil vibe check locker πŸŽ€ and this struct is what's inside it.


✨ NAME ✨

struct ethtool_netdev_state β€” per-netdevice state for ethtool features 🫢


🌸 SYNOPSIS 🌸

struct ethtool_netdev_state {
    struct xarray           rss_ctx;
    struct mutex            rss_lock;
    u32 rss_indir_user_size;
    unsigned phys_id_busy:1;
    unsigned wol_enabled:1;
    unsigned module_fw_flash_in_progress:1;
 };

πŸ’– Members πŸ’– (yes, the members are the main characters here)

  • rss_ctx β€” an XArray of custom RSS contexts. it's giving "collection of situations" πŸ’…
  • rss_lock β€” this is the bouncer that protects the entries in rss_ctx. and hear me out: it may be taken from within RTNL. iykyk, that's a whole thing πŸ”₯
  • rss_indir_user_size β€” the number of user provided entries for the default (context 0) indirection table. like, the count of things the user actually brought to the party πŸŽ€
  • phys_id_busy β€” the loop blinking the device LED is running. yes, the physical-identification light show is live, periodt 🌈⭐
  • wol_enabled β€” Wake-on-LAN is enabled. your NIC can be summoned from across the network, iconic πŸ‘‘
  • module_fw_flash_in_progress β€” module firmware flashing is in progress. do NOT touch anything, this is a moment πŸ˜­πŸ’€

πŸ¦‹ SEE ALSO πŸ¦‹

bestie, the cross-reference list is long, and not me about to list every single one because we do not skip entries in this house 🫢


ok that's the whole page, no cap πŸ’œ go read the other ethtool ones next, they're lowkey obsessed with each other.

and that's the wrap bestie 🫢 this lil beauty lives in ./include/linux and dropped October 2026 β€” star it, screenshot it, send it to the group chat 🌸✨

πŸ“¦ where this page comes from