cpsw_set_mc(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie πŸ’– welcome to cpsw_set_mc(9) from the Kernel API Manual β€” yes, the manual name is folded in right here, we’re being cute about it ✨

✨ NAME ✨

okay so cpsw_set_mc is giving multicast table management: it adds a multicast entry to the table if it’s not added, or deletes it if it’s not deleted. that’s the whole vibe β€” no cap πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

int cpsw_set_mc (struct net_device *ndev , const u8 *addr , int vid ,
       int add );

πŸŽ€ ARGUMENTS πŸŽ€

  • ndev β€” device to sync 🫢
  • addr β€” address to be added or deleted πŸ‘€
  • vid β€” vlan id, if vid < 0 set/unset address for real device πŸ’‘
  • add β€” add address if the flag is set or remove otherwise πŸ”₯

🌈 SEE ALSO 🌈

  • Kernel file ./drivers/net/ethernet/ti/cpsw_new.c β€” go read the source, bestie πŸ“–βœ¨

and that’s the tea πŸ“ β€” this page’s source/version is ./drivers/net/ethernet/ti, dated October 2026, and it’s literally the cpsw_set_mc(9) manual page. bye bestie πŸ‘‹πŸ’…

πŸ“¦ where this page comes from