icssg_hsr_h...lticast_sync(9)
π icssg_hsr_handle_multicast_sync π
okay bestie, welcome to the Kernel API Manual, section 9 β yes this is a kernel function page, and yes it's giving main character energy β¨ The whole thing lives at icssg_hsr_handle_multicast_sync(9), and honestly the name is lowkey a mouthful but we move π
β¨ NAME β¨
icssg_hsr_handle_multicast_sync β say it with me now: it handles HSR multicast overlapping memberships π¦
πΈ SYNOPSIS πΈ
void icssg_hsr_handle_multicast_sync (struct prueth_emac *emac );
that's it. that's the whole signature. no cap π
π ARGUMENTS π
emacβ the PRUETH EMAC private structure π like, the lil private home where all the emac's stuff lives. that's the one thing you gotta hand over.
π§ DESCRIPTION π§
so here's the vibe: this function is the post-processor for multicast addresses, and it's specifically here to deal with the messy situation where the same address gets added from multiple paths β the example the page gives is hsr0 + eth1, iykyk π
and here's the plot twist that makes this function necessary: the kernel increments the refcount without triggering callbacks π so nobody tells you when it happens. rude, honestly.
so instead of waiting for a callback that is literally never coming, this function goes and manually checks the refcount to detect what happened, then updates the FDB port membership to match. detective behaviour fr fr π΅οΈββοΈβ¨
ngl bestie, the whole point is: no callbacks = you gotta check the refcount yourself. don't miss that part π
π¦ SEE ALSO π¦
like a true bestie, this page brought its whole friend group π«Ά
- the kernel file it lives in:
./drivers/net/ethernet/ti/icssg/icssg_prueth.c icssg_is_addr_synced(9)icssg_hsr_fdb_update(9)icssg_prueth_hsr_fdb_add_del(9)emac_ndo_open(9)emac_ndo_stop(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 whole page, bestie π this lil gem comes from ./drivers/net/ethernet/ti/icssg, dated October 2026, sitting pretty in the Kernel API Manual at section 9 β go forth and sync those multicast memberships, you absolute icon ππβ
π¦ 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