icssg_prueth..._fdb_add_del(9)
π 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βtrueif synced from HSR master,falseif added directly π₯is_vlan_pathβtrueif called from VLAN interface path,falsefor direct path π¦addβtrueto add/update,falseto 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
P0if 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):
icssg_is_addr_synced(9)icssg_hsr_fdb_update(9)emac_ndo_open(9)emac_ndo_stop(9)icssg_hsr_handle_multicast_sync(9)emac_ndo_set_rx_mode(9)emac_xdp_xmit(9)emac_xdp_setup(9)emac_ndo_bpf(9)icssg_mode_firmware_names(9)
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
- 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