ice_fltr_pre...nd_broadcast(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ice_fltr_prepare_mac_and_broadcast β€” Kernel API Manual ✨

okay so bestie, welcome to the ice driver's filter corner of the kernel, this one's called ice_fltr_prepare_mac_and_broadcast(9) and it's literally the function that handles your MAC and broadcast filters πŸŽ€


🌸 NAME 🌸

ice_fltr_prepare_mac_and_broadcast β€” add or remove MAC and broadcast filter πŸ’–


✨ SYNOPSIS ✨

int ice_fltr_prepare_mac_and_broadcast (struct ice_vsi *vsi , const u8
*mac , enum ice_sw_fwd_act_type action , int(*mac_action) (struct
ice_vsi *, struct list_head *) );

like, that's the whole signature, no cap 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • vsi β€” pointer to VSI struct, she's the main character here πŸ‘‘
  • mac β€” the MAC address to add, yes bestie the actual address πŸ“
  • action β€” the action to be performed on filter match, this is the vibe check for what happens when it hits πŸ’…
  • mac_action β€” pointer to add or remove MAC function, so like, you hand it the function and it does the thing ✨

πŸ’œ SEE ALSO πŸ’œ

the kernel file lives at ./drivers/net/ethernet/intel/ice/ice_fltr.c β€” that's the source of truth, go touch grass in there 🌱

and here's the whole friend group, all the siblings and cousins:

ngl bestie, that's a lot of filters β€” but every single one of them is iconic in her own way πŸ’€βœ¨

that's the whole page, no notes, ate and left no crumbs πŸ’…

sign-off szn πŸŽ€: brought to you from ./drivers/net/ethernet/intel/ice, dated October 2026 β€” mwah πŸ’‹

πŸ“¦ where this page comes from