phylink_decode_usxgmii_word(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, welcome to the Kernel API Manual page for phylink_decode_usxgmii_word(9) β€” the little helper that decodes the USXGMII word from a MAC PCS. it's giving β€œsmall function, very specific job” energy and honestly? iconic. ✨

✨ NAME ✨

phylink_decode_usxgmii_word β€” decode the USXGMII word from a MAC PCS πŸ’…

🌸 SYNOPSIS 🌸

void phylink_decode_usxgmii_word (struct phylink_link_state *state ,
uint16_t lpa );

πŸŽ€ ARGUMENTS πŸŽ€

  • state β€” a pointer to a struct phylink_link_state. yes bestie, it points at the state struct, that's the whole assignment. 🫢
  • lpa β€” a 16 bit value which stores the USXGMII auto-negotiation word. 16 bits of auto-negotiation goodness, no cap. ✨

πŸ¦‹ DESCRIPTION πŸ¦‹

so this is a helper for MAC PCS supporting the USXGMII protocol and the auto-negotiation code word. it decodes the USXGMII code word and populates the corresponding fields (speed, duplex) into the phylink_link_state structure. that's the vibe: code word goes in, speed and duplex fields get filled out. πŸ’–

πŸ’œ SEE ALSO πŸ’œ

the whole phylink bestie squad is here, fr fr:


and that's the page, bestie πŸŽ€ β€” it comes from the Kernel API Manual, source path ./drivers/net/phy, dated October 2026, and it's literally called phylink_decode_usxgmii_word(9). slay. πŸ’…

πŸ“¦ where this page comes from