mii_lpa_mod_linkmode_x(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… mii_lpa_mod_linkmode_x(9) β€” Kernel API Manual

Okay bestie, welcome to the mii_lpa_mod_linkmode_x(9) page ✨ This is the kernel helper that decodes the link partner’s config_reg into link modes. It’s giving β€œtranslate their side into our link-mode language,” and honestly? Iconic.


✨ NAME ✨

mii_lpa_mod_linkmode_x β€” decodes the link partner’s config_reg to linkmodes 🫢


🌸 SYNOPSIS 🌸

void mii_lpa_mod_linkmode_x (unsigned long *linkmodes , u16 lpa , int
       fd_bit );

πŸŽ€ ARGUMENTS πŸŽ€

  • linkmodes β€” the link modes array, no cap πŸ’…
  • lpa β€” the config_reg word from the link partner πŸ‘€
  • fd_bit β€” the link mode for the 1000XFULL bit, periodt ✨

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file: ./include/linux/mii.h β€” and here’s the whole squad, bestie:


Sign-off time πŸŽ€ this lil page comes from ./include/linux, dated October 2026 β€” mwah, slay, bye bestie πŸ’–πŸ’…

πŸ“¦ where this page comes from