icssg_prueth..._fdb_add_del(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… icssg_prueth..._fdb_add_del(9) β€” the group-chat version πŸŽ€

okay bestie, so this is a page from the Kernel API Manual, and the function we're obsessing over is icssg_prueth_hsr_fdb_add_del ✨ (yes the header up top is icssg_prueth..._fdb_add_del(9), the kernel just loves a dramatic abbreviation, iykyk). it lives in the land of HSR multicast and it's literally the bouncer for FDB port membership 🌈


✨ NAME ✨

icssg_prueth_hsr_fdb_add_del β€” Manage FDB port membership for HSR multicast πŸ’–

like, that's the whole vibe. it manages the FDB port membership. for HSR multicast. periodt 🌸


πŸ¦‹ SYNOPSIS πŸ¦‹

void icssg_prueth_hsr_fdb_add_del (struct prueth_emac *emac , const u8
*addr , u8 vid , bool is_synced , bool is_vlan_path , bool add );

note the void β€” she returns nothing, she just does πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

six args, no skips, let's go 😭

  • emac β€” PRUETH EMAC private data. the main character's personal stash of internals 🫢
  • addr β€” multicast MAC address. yes, multicast, keep that in mind πŸ‘‘
  • vid β€” VLAN ID 🧚
  • is_synced β€” true if synced from HSR master, false if added directly πŸ”₯
  • is_vlan_path β€” true if called from VLAN interface path, false for direct path πŸ¦‹
  • add β€” true to add/update, false to remove. the whole plot twist lives in this bool πŸ’€

🌟 DESCRIPTION 🌟

so what does she actually do? she manages the FDB port membership bits β€” that's P0/P1/P2 β€” for multicast addresses ✨

  • on add: it accumulates membership with existing ports 🌸 (not me just adding to what's already there, no cap)
  • on delete: it removes only the specific port, and cleans up orphaned P0 if needed 🧹
lowkey important: the delete side is surgical. only the specific port gets the boot, and the orphaned P0 cleanup is a whole separate little rescue mission πŸ™ˆ

πŸ’œ SEE ALSO πŸ’œ

kernel file: ./drivers/net/ethernet/ti/icssg/icssg_prueth.c β€” go read it, it's giving source-of-truth ⭐

the whole friend group of related functions (squad, fr fr):


and that's the page bestie πŸŽ€ sign-off time: this one comes from ./drivers/net/ethernet/ti/icssg, dated October 2026, filed under icssg_prueth..._fdb_add_del(9) 🌈 ily, go manage some FDB membership bits πŸ’–

πŸ“¦ where this page comes from