phy_ethtool_set_eee_noneg(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 phy_ethtool_set_eee_noneg(9) β€” the kernel API manual, but make it make sense πŸ’…

Okay bestie, welcome to the phy_ethtool_set_eee_noneg(9) page from the Kernel API Manual ✨ this one's a little niche but honestly kind of iconic once you get the vibe, so strap in πŸŽ€


✨ NAME ✨

phy_ethtool_set_eee_noneg β€” adjusts the MAC's LPI configuration without making the PHY renegotiate anything πŸ”₯ no cap, that's the whole personality.


πŸ’– SYNOPSIS πŸ’–

void phy_ethtool_set_eee_noneg (struct phy_device *phydev , const struct
       eee_config *old_cfg );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • phydev β€” a pointer to the target PHY device structure 🫢 like, the PHY we're talking about rn.
  • old_cfg β€” a pointer to the eee_config structure holding the old EEE settings πŸ’œ it's giving "receipts of how things used to be".

πŸ‘‘ DESCRIPTION πŸ‘‘

So here's the tea β˜•: this function updates the Energy Efficient Ethernet (EEE) configuration in the very specific case where only the MAC's Low Power Idle (LPI) configuration is changing β€” and it does this without triggering PHY renegotiation. Ngl that's the whole point πŸ’…

It makes sure the MAC actually gets told about the new LPI settings by cycling the link down and then up πŸ”„ which, yes, is literally necessary for the MAC to adopt the new configuration. It's not extra, it's required, fr fr.

Small but important vibe check: this adjustment only happens if there's an actual change in the tx_lpi_enabled or tx_lpi_timer configuration πŸ™ˆ no change, no link cycling, that's the rule ✨

🌈 SEE ALSO 🌈

Kernel file ./drivers/net/phy/phy.c β€” and bestie, the friend list here is long, so let's go 🧚


And that's the whole page, bestie, you ate that πŸ“ One last lil sign-off: this one lives in ./drivers/net/phy and it's dated October 2026 β€” so like, future-core of it all πŸ’€βœ¨ mwah πŸ’‹

πŸ“¦ where this page comes from