STRUCT PSE_PW_STATUS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct pse_pw_status(9) ✨

okay so bestie, welcome to the struct pse_pw_status page from the Kernel API Manual β€” this is the whole entire vibe check on PSE power detection status and honestly it's giving "small struct, big responsibilities" πŸ’…


🌸 NAME 🌸

struct pse_pw_status β€” PSE power detection status ✨ (yes that's it, that's the whole name, iconic)


πŸŽ€ SYNOPSIS πŸŽ€

struct pse_pw_status {
    enum ethtool_podl_pse_pw_d_status podl_pw_status;
    enum ethtool_c33_pse_pw_d_status c33_pw_status;
 };

look at her. two fields. no cap, that's the whole struct 🫢


πŸ¦‹ Members πŸ¦‹

  • podl_pw_status β€” the power detection status of the PoDL PSE. this one is straight out of IEEE 802.3-2018 30.15.1.1.3 aPoDLPSEPowerDetectionStatus , so yeah, it's cited, it's official, it's got receipts πŸ’–
  • c33_pw_status β€” the power detection status of the PSE. this one comes from IEEE 802.3-2022 30.9.1.1.5 aPSEPowerDetectionStatus , and before you ask, yes, different spec year, different clause, they're two separate things, don't conflate them bestie 😭
fr fr do not mix up podl_pw_status and c33_pw_status β€” they're two different enums from two different IEEE specs, and the manual is very much not joking about the exact clause numbers πŸ”₯

πŸ’œ SEE ALSO πŸ’œ

  • the kernel file ./include/linux/pse-pd/pse.h (yes, go read the source, it's right there)
  • struct pse_irq_desc(9)
  • struct pse_control_config(9)
  • struct pse_admin_state(9)
  • struct pse_ext_state_info(9)
  • struct pse_pw_limit_ranges(9)
  • struct ethtool_pse_control_status(9)
  • struct pse_controller_ops(9)
  • struct pse_pi_pairset(9)
  • struct pse_pi(9)
  • struct pse_ntf(9)
  • struct pse_controller_dev(9)
  • enum pse_budget_eval_strategies(9)

like, the whole PSE friend group showed up to the function. we love a supportive cast πŸ‘‘


and that's the page!! source path ./include/linux/pse-pd, dated October 2026 β€” mwah, go forth and detect power, bestie πŸŒˆβ­πŸ’…

πŸ“¦ where this page comes from