rtl83xx_port_fdb_del(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 to
  • port β€” the port index, aka which port's lil world we're messing with
  • addr β€” the MAC address to delete, the actual entry getting the boot πŸ‘‹
  • vid β€” the VLAN ID associated with addr, because entries live in VLANs, that's just how it is
  • db β€” 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 ⭐

  • 0 on success πŸŽ‰ slay
  • negative value for failure 😭 not slay

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./drivers/net/dsa/realtek/rtl83xx.c β€” and the whole friend group:

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 and rtl83xx_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