phylink_ethtool_set_eee(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so this one's from the Kernel API Manual (section 9, kernel internals bestie 🫢), and it's literally the function that sets your Energy Efficient Ethernet params. EEE! the sleepy-time-for-your-NIC feature πŸ’€ no cap.


🌸 NAME 🌸

phylink_ethtool_set_eee β€” set the energy efficient ethernet parameters. that's it, that's the whole job πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

int phylink_ethtool_set_eee(struct phylink *pl, struct ethtool_keee *eee);

she returns an int, she takes two pointers, she slays πŸ’…


πŸ’– ARGUMENTS πŸ’–

  • pl β€” a pointer to a struct phylink β€” and not just any one, it's the one you got handed back from phylink_create. like, the original. the source. don't be out here making up your own πŸ‘‘
  • eee β€” a pointer to a struct ethtool_keee holding the parameters you desire. yes bestie, the desired parameters, your dream EEE config 🌈

πŸŽ€ SEE ALSO πŸŽ€

the main character file first, obviously: the kernel file ./drivers/net/phy/phylink.c plus struct phylink(9) β€” that's the struct, that's where it all lives 🏠

and then the whole extended friend group, all 47 of them, no one gets left out fr fr:

like, the whole rollout 😭 every single one of them is invited to the group chat πŸ’œ (and yeah, usxgmii and usgmii are both in there β€” two different words, both real, don't @ me πŸ’€)


ngl this page is short but she's iconic. go set those EEE params, bestie πŸ¦‹

signing off from ./drivers/net/phy 🌸 version October 2026 πŸŽ€ that's the vibe, that's the release, periodt πŸ’…βœ¨

πŸ“¦ where this page comes from