rtl83xx_port_bridge_leave(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… rtl83xx_port_bridge_leave β€” the Kernel API Manual, bestie edition ✨

Okay so real quick, before we get into it: this is rtl83xx_port_bridge_leave(9), and yes it's from the Kernel API Manual (very official, very demure). Lowkey obsessed already. Let's go πŸŽ€


🌸 NAME 🌸

rtl83xx_port_bridge_leave β€” literally just means leave a bridge, no cap πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

void rtl83xx_port_bridge_leave (struct dsa_switch *ds , int port ,
       struct dsa_bridge bridge );

That's the whole vibe check right there. Void function, three args, in and out, periodt ✨


πŸŽ€ ARGUMENTS πŸŽ€

  • ds β€” the DSA switch instance πŸ’– like, the whole switch, the main character
  • port β€” the port index, aka which port we're talking about, iykyk
  • bridge β€” the bridge being left 🫢 the one this port is walking away from

✨ DESCRIPTION ✨

Okay so picture this: a port needs to dip out of a bridge. That's the whole job, and that's what this function handles β€” removing a port from a bridge. 🌈

It's not just a flounce-and-leave situation though, because it also updates the port isolation masks and the EFID. Both of them. Every time. No skipping steps, bestie πŸ™ˆ


🧚 CONTEXT 🧚

It can sleep. 😴 That's it, that's the note. So don't go calling it somewhere you're not allowed to catch some Zs, ok? πŸ’€


⭐ RETURN ⭐

Nothing. Nada. It returns void β€” no return value, no little gift at the end. And honestly? Iconic. It did the work, it doesn't need to prove anything πŸ‘‘


πŸ’œ SEE ALSO πŸ’œ

Kernel file ./drivers/net/dsa/realtek/rtl83xx.c β€” that's where the magic lives fr fr. And here's the whole friend group, in order:


Note the rtl83xx_port_bridge_join(9) right there in the mix β€” the leave function and the join function, reunited, as they should be. πŸ₯Ή

Okay that's the whole page!! Sending you off with the receipts: this one's sourced from ./drivers/net/dsa/realtek and dated October 2026 β€” go forth and let those ports leave their bridges, bestie πŸ’–πŸ¦‹πŸŽ€βœ¨

πŸ“¦ where this page comes from