rtl83xx_port_bridge_join(9)
π
rtl83xx_port_bridge_join(9) π
okay bestie, welcome to the Kernel API Manual page for rtl83xx_port_bridge_join β this one is literally about making a port join a bridge, and yes, it's giving main-character kernel energy πβ¨
πΈ NAME πΈ
rtl83xx_port_bridge_join β join a port to a bridge ππ
β¨ SYNOPSIS β¨
int rtl83xx_port_bridge_join (struct dsa_switch *ds , int port , struct dsa_bridge bridge , bool *tx_forward_offload , struct netlink_ext_ack *extack );
π«Ά ARGUMENTS π«Ά
dsβ the DSA switch instance πΈportβ port index π’bridgeβ the bridge being joined πtx_forward_offloadβ if the switch can offload TX forwarding π€extackβ netlink extended ack for reporting errors π¨
π DESCRIPTION π
okay so this function handles joining a port to a bridge. That's the quest π«Ά it updates the port isolation masks and EFID β yes, both, bestie, no skipping the bookkeeping π β¨
π΄ CONTEXT π΄
Can sleep. that's the whole context note, bestie π΄π€
π RETURN π
0 on success, negative value for failure. that's the return tea π΅β¨
π¦ SEE ALSO π¦
Kernel file: ./drivers/net/dsa/realtek/rtl83xx.c β that's the home base π and here's the whole squad:
rtl83xx_lock(9)rtl83xx_unlock(9)rtl83xx_setup_user_mdio(9)rtl83xx_probe(9)rtl83xx_register_switch(9)rtl83xx_unregister_switch(9)rtl83xx_shutdown(9)rtl83xx_remove(9)rtl83xx_port_bridge_leave(9)rtl83xx_port_fast_age(9)rtl83xx_port_fdb_add(9)rtl83xx_port_fdb_del(9)rtl83xx_port_fdb_dump(9)rtl83xx_port_mdb_add(9)rtl83xx_port_mdb_del(9)rtl83xx_port_bridge_flags(9)rtl83xx_setup_port_flood_control(9)
mwah π end-of-page sign-off: Kernel API Manual Β· source ./drivers/net/dsa/realtek Β· date October 2026 Β· page rtl83xx_port_bridge_join(9) β¨ππ«Ά
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms