fiber_lpa_mo...nkmode_lpa_t(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… fiber_lpa_mod_linkmode_lpa_t(9) β€” Kernel API Manual, bestie edition πŸŽ€

okay so picture this: you're deep in the kernel, you're in the 9 section of the manual (that's the Kernel API Manual, iykyk), and the page title is literally fiber_lpa_mo...nkmode_lpa_t(9) because that NAME field was too long for the header and got folded like a fresh laundry pile. iconic behaviour honestly. anyway. let's get into it πŸ¦‹


✨ NAME ✨

fiber_lpa_mod_linkmode_lpa_t β€”

(yes that's it, that's the whole name, the original trailing dash is part of the vibe, she's mysterious, she's giving main character energy πŸ’œ)


🌸 SYNOPSIS 🌸

void fiber_lpa_mod_linkmode_lpa_t (unsigned long *advertising , u32 lpa
);

that's the whole signature, no cap. takes two things, returns nothing (void, she gives nothing and that's her right πŸ’…).


🫢 ARGUMENTS 🫢

  • advertising β€” the linkmode advertisement settings, fr fr. this is the unsigned long * pointer, she's the one getting modified in place. handle with care bestie 😭
  • lpa β€” the value of the MII_LPA register for fiber link. that's a u32, that's your raw input, that's the tea πŸ“

πŸ”₯ DESCRIPTION πŸ”₯

okay so lowkey the whole thing is: it's a tiny lil helper function 🧚 that translates MII_LPA bits into linkmode LP advertisement settings. that's the job. that's what she does. and the way that she does it β€” she only touches the bits she's supposed to πŸ’–.

here's the important part, don't skip it: other bits in advertising are left unchanged. highkey crucial. she's respectful of boundaries, she does not go rummaging through bits that aren't hers πŸ‘‘. periodt.


🌈 SEE ALSO 🌈

go read those next, bestie, they're literally in the same file, it's giving a little family reunion πŸŽ€


⭐ and that's the page!! source lives in ./drivers/net/phy, dated October 2026, and the footer still spells out fiber_lpa_mo...nkmode_lpa_t(9) one more time because she's consistent. mwah πŸ’‹ slay, you now understand this function. go touch some link bits responsibly βœ¨πŸ’–

πŸ“¦ where this page comes from