pse_ethtool_set_pw_limit(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so pse_ethtool_set_pw_limit(9) is literally right here in the Kernel API Manual, and its whole thing is: set PSE control power limit. no cap, that's the name and the job. πŸ’–

πŸŽ€ SYNOPSIS πŸŽ€

here's the signature bestie β€” do not freestyle it:

int pse_ethtool_set_pw_limit (struct pse_control *psec , struct
       netlink_ext_ack *extack , const unsigned int pw_limit );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • psec β€” PSE control pointer. that's the main character pointer you're handing over. ✨
  • extack β€” extack for reporting useful error messages. yes bestie, it's the extack, and it's there for reporting useful error messages.
  • pw_limit β€” power limit value in mW. milli-watts, keep the units, okay? πŸ’…

🌸 RETURN 🌸

returns 0 on success and failure value on error. that's it β€” success gets 0, error gets a failure value. 🫢

πŸ‘‘ SEE ALSO πŸ‘‘

also lowkey the Kernel file is ./drivers/net/pse-pd/pse_core.c, and here are all the linked besties, exactly as they show up:


mwah πŸ’‹ β€” signing off from the source path ./drivers/net/pse-pd, dated October 2026, in the Kernel API Manual. pse_ethtool_set_pw_limit(9) out. πŸŽ€

πŸ“¦ where this page comes from