rtl83xx_port_mdb_del(9)
π
rtl83xx_port_mdb_del β NAME β¨
okay so bestie, welcome to rtl83xx_port_mdb_del β it's a kernel API manual page (section 9, the big kid section, iykyk) and it's literally the function that deletes a multicast database entry from a port database. that's the whole vibe. gone. bye. π«Ά
π¦ SYNOPSIS π¦
int rtl83xx_port_mdb_del (struct dsa_switch *ds , int port , const
struct switchdev_obj_port_mdb *mdb , struct dsa_db db );
no cap, that's the exact signature β she takes four things and hands you back an int. copy it character for character or she WILL be mad at you π
π ARGUMENTS π
dsβ the DSA switch instance. your main character switch, basically πportβ the port index. which port we're doing this to, be specific β¨mdbβ the multicast database entry you wanna delete. theconst struct switchdev_obj_port_mdb *, obvs πdbβ the database where the entry should be removed.struct dsa_db, that's the one π
πΈ DESCRIPTION πΈ
so what she actually does: this function deletes a multicast database entry β and it'll do it from either the standalone port database or from a bridge database. literally either one, she's flexible like that π β¨
π CONTEXT π
Can sleep. π΄
that's it. that's the whole section. she can sleep, so act accordingly (iykyk β don't call her from an atomic context, bestie, that's giving chaos π).
π₯ RETURN π₯
0β success, slay, we ate π- negative value β failure, and not the cute kind π
π SEE ALSO π
source file is ./drivers/net/dsa/realtek/rtl83xx.c β go read the whole family fr fr, they're iconic:
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_del(9)rtl83xx_port_fdb_dump(9)rtl83xx_port_mdb_add(9)β her sister, the one who ADDS πrtl83xx_port_bridge_flags(9)rtl83xx_setup_port_flood_control(9)
alright bestie, that's the page π this one came out of ./drivers/net/dsa/realtek and it's dated October 2026 β so yeah, she's from the future, main character energy fr π§ββοΈβ¨ go delete some mdb 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