ENUM ETHTOOL_PHYS_ID_STATE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– enum ethtool_phys_id_state(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual β€” this one's all about enum ethtool_phys_id_state, which is genuinely just the ✨ indicator state for physical identification ✨. like, when you wanna make a network port physically blink so a human can find it in a rack. that's the whole vibe. iykyk πŸŽ€


✨ NAME ✨

enum ethtool_phys_id_state β€” indicator state for physical identification πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

enum ethtool_phys_id_state {
    ETHTOOL_ID_INACTIVE ,
    ETHTOOL_ID_ACTIVE ,
    ETHTOOL_ID_ON ,
    ETHTOOL_ID_OFF

};

bestie look at that enum. four whole constants. no cap, that's it, that's the whole thing 🌸


πŸ‘‘ Constants πŸ‘‘

  • ETHTOOL_ID_INACTIVE β€” the physical ID indicator should be deactivated. it's giving "okay the light show is over, go home" πŸ’€
  • ETHTOOL_ID_ACTIVE β€” the physical ID indicator should be activated. main character moment for that LED fr fr πŸ”₯
  • ETHTOOL_ID_ON β€” the LED should be turned on. lowkey important caveat: this one is used iff ETHTOOL_ID_ACTIVE is not supported 🫢
  • ETHTOOL_ID_OFF β€” the LED should be turned off. and same deal, babe: used iff ETHTOOL_ID_ACTIVE is not supported 🧚

🌈 SEE ALSO 🌈

the original source lives in the kernel file ./include/linux/ethtool.h β€” cute. and here's the whole friend group, like a massive group chat of related symbols, no one gets left out πŸ’œ:


ok that's genuinely everyone, i counted, don't come for me 😭

and that's the whole page bestie!! slay 🌟 this iconic little page lives at ./include/linux, dated October 2026, and it's enum ethtool_phys_id_state(9) through and through β€” catch you in the next manpage, mwah πŸ’‹πŸ’–

πŸ“¦ where this page comes from