mii_stat100...thtool_lpa_t(9)
π
mii_stat1000_to_ethtool_lpa_t(9) β like, the Kernel API Manual page, bestie β¨
okay so picture this: it's the Kernel API Manual, and this page is all about one tiny little helper. lowkey iconic. let's get into it π«Ά
πΈ NAME πΈ
mii_stat1000_to_ethtool_lpa_t β that's the whole name, no extra tagline, the original page didn't give us one and I'm not about to invent lore π
β¨ SYNOPSIS β¨
u32 mii_stat1000_to_ethtool_lpa_t (u32 lpa );
that's it. returns a u32, takes a u32 called lpa. simple. clean. main character energy π
π ARGUMENTS π
lpaβ bestie... the manpage literally says-- undescribed --. no cap. that's all we get. the docs said "figure it out" and honestly? relatable π
π¦ DESCRIPTION π¦
so what does this little function do. it's a small helper function β a small one, the page said small, I'm not overselling β that takes MII_STAT1000 bits and translates them, when you're in 1000Base-T mode, into ethtool advertisement settings. that's the whole vibe check π₯
think of it like a translator between two friend groups who both speak "network speed" but with different slang. MII_STAT1000 bits walk in, ethtool advertisement settings walk out. slay π
heads up bestie: the 1000Base-T mode part is not a suggestion, it's the condition. that's the mode this translation is for β
π SEE ALSO π
the original page shouts out the kernel file these live in β ./include/linux/mii.h β and then drops a whole friend group of related functions. all of them, no skips, here we go:
mii_nway_result(9)mii_duplex(9)ethtool_adv_to_mii_adv_t(9)linkmode_adv_to_mii_adv_t(9)mii_adv_to_ethtool_adv_t(9)ethtool_adv_to_mii_ctrl1000_t(9)linkmode_adv_to_mii_ctrl1000_t(9)mii_ctrl1000_to_ethtool_adv_t(9)mii_lpa_to_ethtool_lpa_t(9)mii_stat1000_mod_linkmode_lpa_t(9)ethtool_adv_to_mii_adv_x(9)mii_adv_to_ethtool_adv_x(9)mii_adv_mod_linkmode_adv_t(9)mii_adv_to_linkmode_adv_t(9)mii_lpa_to_linkmode_lpa_t(9)mii_lpa_mod_linkmode_lpa_t(9)linkmode_adv_to_lcl_adv_t(9)mii_lpa_mod_linkmode_x(9)linkmode_adv_to_mii_adv_x(9)mii_advertise_flowctrl(9)mii_resolve_flowctrl_fdx(9)mii_bmcr_encode_fixed(9)
and that's the whole page, bestie, we ate and left no crumbs π this came from the ./include/linux source, dated October 2026, and the title was mii_stat100...thtool_lpa_t(9) because even the header got truncated and honestly? she's thriving anyway πβ¨
π¦ 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