mii_adv_to_ethtool_adv_t(9)
π mii_adv_to_ethtool_adv_t(9) β from the Kernel API Manual, bestie
okay so this is a page straight out of the Kernel API Manual and it's lowkey one of those tiny helper functions that eats and never misses β¨ it's giving "small but mighty" and honestly we stan a humble bitshuffler π«Ά
πΈ NAME πΈ
mii_adv_to_ethtool_adv_t β ngl the original page leaves this bit blank bestie, so there's literally no tagline here π the function name IS the personality, periodt.
β¨ SYNOPSIS β¨
u32 mii_adv_to_ethtool_adv_t (u32 adv );
like yes that's the whole signature, she's short and she knows it π
π ARGUMENTS π
advβ the value of theMII_ADVERTISEregister. that's it, that's the whole input, you hand her the raw register bits and she does her thing π¦
π§ DESCRIPTION π§
okay so picture this: it's a small helper function, and what she does is translate. specifically she takes the bits sitting in MII_ADVERTISE and turns them into ethtool advertisement settings π₯ that's the whole job. bits in, ethtool-flavoured bits out. no cap, that's literally it β she's the little translator bestie standing between the MII world and the ethtool world and she's slaying at it π
β SEE ALSO β
these are her friends, her mutuals, her whole group chat π and they all live in the 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)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)
ok bestie real talk: go read the ones you need, don't just vibe off the names π
π¦ SIGN-OFF π¦
this icon was brought to you by the fine people at ./include/linux, dated October 2026 β mwah, go translate some bits, ily πβ¨π
π¦ 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