ethtool_adv_to_mii_adv_t(9)
π ethtool_adv_to_mii_adv_t π
okay so bestie, welcome to the Kernel API Manual β¨ we're literally about to read the whole page together, no skipping, i promise π«Ά
πΈ NAME πΈ
ethtool_adv_to_mii_adv_t β no cap, that's the whole name section in the original, so that's the whole name section here too π the function is the moment, the name IS the description, periodt.
β¨ SYNOPSIS β¨
u32 ethtool_adv_to_mii_adv_t (u32 ethadv );
like, that's it. that's the whole signature. she's tiny but she's doing the WORK π
π ARGUMENTS π
ethadvβ the ethtool advertisement settings. that's your input bestie, the raw ethtool-side vibes you're handing over π¦
π DESCRIPTION π
okay so here's the tea π: this is a small helper function β literally just a little guy, a helper β and what she does is translate ethtool advertisement settings into phy autonegotiation advertisements for the MII_ADVERTISE register. that's the whole job. she converts one dialect into another. lowkey iconic of her ngl π
so you bring your ethadv, she hands you back a u32 in MII_ADVERTISE speak. matchmaker energy fr fr π
π SEE ALSO π
okay this list is LONG, like, she has a whole extended friend group and you're gonna meet every single one of them π they all live in the kernel file ./include/linux/mii.h:
mii_nway_result(9)mii_duplex(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)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)
go read them all, bestie, they're all in the same file, it's a whole group chat π§ββοΈ
π‘ friendly reminder: every one of those references is spelled exactly like the original, so don't come for me if one looks cursed β i copied her character for character π
and that's the page!! π cute little sign-off for you: this masterpiece lives under the source path ./include/linux and it's dated October 2026, so mark your calendar bestie β ethtool_adv_to_mii_adv_t(9) ate and left no crumbs, 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