rtl83xx_port_mdb_del(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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. the const 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:


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