linkmode_adv_to_mii_adv_t(9)
๐ linkmode_adv_to_mii_adv_t(9) โ the Kernel API Manual cutie
okay so this is a page from the Kernel API Manual, and honestly it's a short one but she's important, so let's get into it ๐
โจ NAME โจ
linkmode_adv_to_mii_adv_t โ bestie, the name is literally the whole plot: it's the tiny translator function that turns linkmode advertisement settings into phy autonegotiation advertisements for the MII_ADVERTISE register ๐ฆ
๐ธ SYNOPSIS ๐ธ
u32 linkmode_adv_to_mii_adv_t (const unsigned long *advertising );
๐ง ARGUMENTS ๐ง
advertisingโ the linkmode advertisement settings ๐ like, this is the input, the vibe, the raw material she's working with
๐ DESCRIPTION ๐
So here's the tea โ: she's a small helper function, and her whole job is translating linkmode advertisement settings into phy autonegotiation advertisements for the MII_ADVERTISE register. That's it! That's the whole function! Small but mighty, lowkey iconic, no cap ๐ฅ
๐ฎ SEE ALSO ๐ฎ
The kernel file lives at ./include/linux/mii.h and she keeps very good company โ here's the whole friend group, fr fr ๐
mii_nway_result(9)mii_duplex(9)ethtool_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)
ngl bestie, if you're messing with linkmode โ mii conversions, this whole little family is your main character energy support system ๐ซถ
okay that's the whole page, mwah ๐ this lore drop comes from ./include/linux, dated October 2026, and she's filed under linkmode_adv_to_mii_adv_t(9) โ go forth and autonegotiate, queen ๐๐
๐ฆ 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