mdio45_ethto...gs_get_npage(9)
π 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms