phylink_set_port_modes(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

phylink_set_port_modes β€” bestie, this is the one that sets the port type modes in the ethtool mask πŸŽ€

Oh also hi, this is a page from the Kernel API Manual, and the function in question is phylink_set_port_modes(9) β€” literally the main character of this whole document πŸ‘‘


🌸 SYNOPSIS 🌸

void phylink_set_port_modes (unsigned long *mask );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • mask β€” the ethtool link mode mask πŸ’… yeah that's it, that's the whole argument list, she's lowkey minimalist

πŸ’– DESCRIPTION πŸ’–

Okay so picture this: you hand her an ethtool mask, and she sets all the port type modes in it. That's the whole gig. Every single port type mode gets set in the ethtool mask β€” no cap, that's what the function does 🫢


πŸ”₯ SEE ALSO πŸ”₯

Like, go read the source, it's giving "kernel file" energy πŸ’€ β€” ./drivers/net/phy/phylink.c β€” and then the whole friend group:


Okay that's the page!! Mwah πŸ’‹ this came from ./drivers/net/phy, dated October 2026, and it's literally phylink_set_port_modes(9) signing off β€” go set some port type modes bestie, you're gonna slay πŸŒˆπŸ‘‘πŸ’œ

πŸ“¦ where this page comes from