rtl83xx_port_fdb_del(9)
π rtl83xx_port_fdb_del(9)
okay so bestie, welcome to the Kernel API Manual β this is the page for rtl83xx_port_fdb_del, and honestly? she's a little icon. This is the function you call when a static FDB entry has gotta go. Not a vibe anymore, not in the database anymore. ποΈβ¨
πΈ NAME πΈ
rtl83xx_port_fdb_del β delete a static FDB entry from a port database
like, she removes things. static things. FDB things. from a port database. that's the whole job and she does it flawlessly. π
π SYNOPSIS π
int rtl83xx_port_fdb_del (struct dsa_switch *ds , int port , const
unsigned char *addr , u16 vid , struct dsa_db db );
that's the whole signature, copy it exactly bestie, do not freestyle the spacing, the kernel does not think it's cute when you typo it π«Ά
β¨ ARGUMENTS β¨
dsβ the DSA switch instance π¦ like, which switch are we even talking toportβ the port index, aka which port's lil world we're messing withaddrβ the MAC address to delete, the actual entry getting the boot πvidβ the VLAN ID associated withaddr, because entries live in VLANs, that's just how it isdbβ the database where the entry should be removed β so, which database needs to lose this entry
π₯ DESCRIPTION π₯
okay so here's the tea: this function deletes a static unicast FDB entry, and she's flexible about where from β it's either the standalone port database or a bridge database. That's it. That's the description. no cap, she just deletes the static unicast FDB entry from whichever of those two databases applies. β¨
π CONTEXT π
Can sleep. π΄
that's it, that's the whole context section. she can sleep. plan accordingly, don't call her from somewhere spicy where sleeping is illegal π
β RETURN β
0on success π slay- negative value for failure π not slay
π SEE ALSO π
Kernel file ./drivers/net/dsa/realtek/rtl83xx.c β and the whole friend group:
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_join(9)rtl83xx_port_bridge_leave(9)rtl83xx_port_fast_age(9)rtl83xx_port_fdb_add(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)
like, the whole squad. read them, love them, they're all part of the same routine πΈ
ngl bestie, remember:rtl83xx_port_fdb_add(9)puts entries in andrtl83xx_port_fdb_del(9)takes them out. balance. harmony. main character energy. π
and that's the page!! sign-off time π this one lives under ./drivers/net/dsa/realtek, dated October 2026, and it's giving kernel documentation but make it cute. mwah, go delete some FDB entries responsibly ππ§
π¦ 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