mdio45_ethto...settings_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– mdio45_ethtool_ksettings_get β€” a Kernel API Manual moment πŸ’–

okay bestie, welcome to the kernel API manual, this one's about mdio45_ethtool_ksettings_get(9) and honestly it's giving "small function, big responsibilities" energy. let's get into it 🫢


✨ NAME ✨

mdio45_ethtool_ksettings_get β€” get settings for ETHTOOL_GLINKSETTINGS πŸ’…


🌈 SYNOPSIS 🌈

void mdio45_ethtool_ksettings_get (const struct mdio_if_info *mdio ,
struct ethtool_link_ksettings *cmd );

πŸŽ€ ARGUMENTS πŸŽ€

  • mdio β€” the MDIO interface, aka the whole reason we're here πŸ¦‹
  • cmd β€” the Ethtool request structure, the vessel that carries the settings πŸ’«

🧚 DESCRIPTION 🧚

so here's the tea β˜• β€” the CSRs for auto-negotiation using next pages are not fully standardised, and because of that this function literally does not even attempt to decode them. not its job, not its problem, no cap πŸ™ˆ

if you're trying to specify advertisement bits from next pages, you gotta go use mdio45_ethtool_ksettings_get_npage instead, iykyk πŸ’œ


πŸ”₯ SEE ALSO πŸ”₯

like, go read these too, they're all icons πŸ‘‘


and that's the whole page bestie, no crumbs left behind, we ate and left no evidence πŸ“

okay so the source on this one lives in ./include/linux and it's dated October 2026 β€” shoutout to the kernel docs for keeping it cute, mwah πŸ’‹βœ¨πŸŒΈ

πŸ“¦ where this page comes from