ENUM ETHTOOL_PHYS_ID_STATE(9)
π 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 iffETHTOOL_ID_ACTIVEis not supported π«ΆETHTOOL_ID_OFFβ the LED should be turned off. and same deal, babe: used iffETHTOOL_ID_ACTIVEis 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 π:
- the kernel file mentioned above defines
struct kernel_ethtool_ringparam(9)enum ethtool_supported_ring_param(9)ethtool_rxfh_indir_default(9)struct ethtool_rxfh_context(9)ethtool_link_ksettings_zero_link_mode(9)ethtool_link_ksettings_add_link_mode(9)ethtool_link_ksettings_del_link_mode(9)ethtool_link_ksettings_test_link_mode(9)ethtool_intersect_link_masks(9)struct ethtool_phy_stats(9)struct ethtool_pause_stats(9)struct ethtool_fec_hist_range(9)struct ethtool_fec_stats(9)struct ethtool_rmon_hist_range(9)struct ethtool_rmon_stats(9)struct ethtool_ts_stats(9)struct ethtool_module_eeprom(9)struct ethtool_module_power_mode_params(9)struct ethtool_mm_state(9)struct ethtool_mm_cfg(9)struct ethtool_mm_stats(9)struct ethtool_mmsv_ops(9)struct ethtool_mmsv(9)struct ethtool_rxfh_param(9)struct ethtool_rxfh_fields(9)struct kernel_ethtool_ts_info(9)struct ethtool_ops(9)struct ethtool_netdev_state(9)struct ethtool_phy_ops(9)ethtool_set_ethtool_phy_ops(9)ethtool_params_from_link_mode(9)ethtool_get_phc_vclocks(9)ethtool_mm_frag_size_add_to_min(9)ethtool_mm_frag_size_min_to_add(9)ethtool_get_ts_info_by_layer(9)ethtool_sprintf(9)ethtool_puts(9)ethtool_cpy(9)
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
- 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