phylink_decode_usgmii_word(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, welcome to the Kernel API Manual page for phylink_decode_usgmii_word(9) β€” yes the function name is a whole mouthful, no we're not renaming it, it's iconic as is πŸŽ€


✨ NAME ✨

phylink_decode_usgmii_word β€” decode the USGMII word from a MAC PCS 🧚


πŸ¦‹ SYNOPSIS πŸ¦‹

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

🌸 ARGUMENTS 🌸

  • state β€” a pointer to a struct phylink_link_state. it's giving "here's where your results go" energy πŸ’–
  • lpa β€” a uint16_t value, and it stores the USGMII auto-negotiation word. sixteen bits of pure potential ngl ✨

πŸ‘‘ DESCRIPTION πŸ‘‘

okay so this one is a helper for MAC PCS that supports the USGMII protocol and the auto-negotiation code word β€” highkey a little specialist, we love a niche queen πŸ’…

what it does: it decodes the USGMII code word and populates the corresponding fields β€” that's speed and duplex β€” into the phylink_link_state structure. so like, in they go, popped, sorted 🫢

the way the structure for this word works: it's the same as the USXGMII word, except it only supports speeds up to 1Gbps. so don't come at it expecting 10G, she said 1Gbps and she meant it 😭


πŸ’œ SEE ALSO πŸ’œ

like the whole friend group tbh, go say hi πŸ‘‹


πŸ’€ reminder bestie: same word structure as USXGMII, but 1Gbps max, periodt. don't @ me, @ the manpage.

and that's the whole vibe check 🌈 this page lives in ./drivers/net/phy, dated October 2026, and it's brought to you by the Kernel API Manual β€” mwah, go decode some words, ily πŸ“πŸ’–

πŸ“¦ where this page comes from