mii_stat100...nkmode_lpa_t(9)
π mii_stat100...nkmode_lpa_t(9) π
okay bestie, welcome to the Kernel API Manual π β today's main character is mii_stat1000_mod_linkmode_lpa_t, a little function with a big name and honestly a very specific job. sit down, grab a strawberry π, let's get into it.
β¨ NAME β¨
mii_stat1000_mod_linkmode_lpa_t β no, there's no description here, the name IS the description, that's just how kernel devs roll π
πΈ SYNOPSIS πΈ
void mii_stat1000_mod_linkmode_lpa_t (unsigned long *advertising , u32
lpa );
that's it. that's the whole vibe check. two args, returns nothing, moves on with its life π
π¦ ARGUMENTS π¦
advertisingβ the target for your linkmode advertisement settings. like, this is where the results get written, it's the destination, the moment, the whole point π«Άlpaβ ngl the original page literally says-- undescribed --and we're not gonna invent lore that isn't there, so. it's au32. that's the tea π
π₯ DESCRIPTION π₯
so what does this icon actually do? it's a small helper function (small but mighty, main character energy fr fr) that translates MII_STAT1000 bits β but only when you're in 1000Base-T mode β over to linkmode advertisement settings β¨
and the important bit: other bits in advertising are not changed. it only touches what it needs to touch. respectful. boundaries. we love to see it π
π©· heads up bestie: the original says "Other bits in advertising are not changes." β that's a typo on their end, not ours. the meaning is clear though: untouched bits stay untouched. no cap.
π SEE ALSO π
the whole friend group, in order, and yes we're listing every single one because every single one is iconic π§:
Kernel file ./include/linux/mii.h
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_to_ethtool_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)
like, twenty-two siblings. one big happy MII family π
sign-off time, bestie π«Ά this page lives in ./include/linux, it's dated October 2026, and it's from the Kernel API Manual. go forth, translate those 1000Base-T bits, and slay πβ¨π
π¦ 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