mdio45_ethto...gs_get_npage(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– mdio45_ethto...gs_get_npage(9) πŸ’–

Okay bestie, welcome to the Kernel API Manual entry for mdio45_ethto...gs_get_npage(9) β€” the full function name is mdio45_ethtool_ksettings_get_npage, and she is here to get settings for ETHTOOL_GLINKSETTINGS. Slay. πŸ’…

🌸 NAME 🌸

mdio45_ethtool_ksettings_get_npage β€” get settings for ETHTOOL_GLINKSETTINGS πŸŽ€

✨ SYNOPSIS ✨

void mdio45_ethtool_ksettings_get_npage (const struct mdio_if_info *mdio
, struct ethtool_link_ksettings *cmd , u32 npage_adv , u32 npage_lpa );

🧚 ARGUMENTS 🧚

  • mdio β€” MDIO interface. That’s the vibe. πŸ¦‹
  • cmd β€” Ethtool request structure. Iconic little request container. πŸ’–
  • npage_adv β€” Modes currently advertised on next pages. ✨
  • npage_lpa β€” Modes advertised by link partner on next pages. 🫢

πŸ”₯ DESCRIPTION πŸ”₯

The cmd parameter is expected to have been cleared before calling mdio45_ethtool_ksettings_get_npage.

⚠️ Bestie, this is a real caveat: clear cmd first, okay? Do not skip the pre-clear. πŸ’€

Since the CSRs for auto-negotiation using next pages are not fully standardised, this function does not attempt to decode them. The caller must pass them in. No cap β€” it is literally not decoding those next-page CSRs for you. 😭

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./drivers/net/mdio.c β€” plus mdio45_probe(9), mdio_set_flag(9), mdio45_links_ok(9), mdio45_nway_restart(9), and mdio_mii_ioctl(9). Go read those too, iykyk. 🌈


That’s the whole vibe check, bestie. This page comes from source/version ./drivers/net, dated October 2026, and it’s the mdio45_ethto...gs_get_npage(9) manual page. Periodt. πŸ’…βœ¨

πŸ“¦ where this page comes from