phylink_mac_change(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to the Kernel API Manual page for phylink_mac_change β€” she's a tiny little notifier function and she ate, no cap ✨


🌸 NAME 🌸

phylink_mac_change β€” like, notify phylink that your MAC state changed πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

void phylink_mac_change (struct phylink *pl , bool up );

πŸŽ€ ARGUMENTS πŸŽ€

  • pl β€” a pointer to a struct phylink returned from phylink_create. yes, that struct phylink, the one you got back earlier, don't lose her 🫢
  • up β€” a bool that says whether the link is currently up. that's it, up or not up, main character energy only 😌

✨ DESCRIPTION ✨

okay so here's the vibe: the MAC driver should call this function whenever the state of its link changes.

like β€” link failure, new negotiation results, etc. etc. πŸ’… all of it. the moment something shifts, you let phylink know. it's giving "keep your bestie in the loop" fr fr πŸ”₯


πŸ‘‘ SEE ALSO πŸ‘‘

the whole phylink friend group, in all her glory:


πŸ’€ that's the whole list, don't skip any, they're all canon.

and that's the page, bestie 🌈 this little icon lives in ./drivers/net/phy, dated October 2026, and she's filed under phylink_mac_change(9) β€” periodt πŸ’œπŸŽ€πŸŒΈ

πŸ“¦ where this page comes from