ethtool_adv_to_mii_adv_x(9)
π ethtool_adv_to_mii_adv_x(9) π
okay so bestie, we're in the Kernel API Manual today and this one is a tiny little helper function but she is important, so let's get into it π
πΈ NAME πΈ
ethtool_adv_to_mii_adv_x β and honestly? the original page left the description totally blank here like it forgot to finish its sentence π so there's literally nothing after the dash. No cap. We move on, the DESCRIPTION has the tea π
β¨ SYNOPSIS β¨
u32 ethtool_adv_to_mii_adv_x (u32 ethadv );
π¦ ARGUMENTS π¦
ethadvβ the ethtool advertisement settings π like, the input. the vibe. the raw advertisement bits you're handing over.
π DESCRIPTION π
so what does she actually do? she's a small helper function β tiny but booked and busy β¨ β that translates ethtool advertisement settings into phy autonegotiation advertisements for the MII_CTRL1000 register, specifically when you're in 1000Base-X mode. periodt. that's the whole job, and she does it flawlessly π
lowkey iconic that such a little function is doing the linguistic translation between two whole advertisement dialects π§
π₯ SEE ALSO π₯
sibling functions, all linked from the kernel file ./include/linux/mii.h β go say hi, they're all family π«Ά
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)mii_stat1000_mod_linkmode_lpa_t(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)
that's the whole page bestie, ily, go read the source in ./include/linux π β kernel API manual, October 2026 edition, mwah ππ
π¦ 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