ice_fltr_pre...nd_broadcast(9)
π 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:
ice_fltr_free_list(9)ice_fltr_add_entry_to_list(9)ice_fltr_set_vlan_vsi_promisc(9)ice_fltr_clear_vlan_vsi_promisc(9)ice_fltr_clear_vsi_promisc(9)ice_fltr_set_vsi_promisc(9)ice_fltr_add_mac_list(9)ice_fltr_remove_mac_list(9)ice_fltr_add_vlan_list(9)ice_fltr_remove_vlan_list(9)ice_fltr_add_eth_list(9)ice_fltr_remove_eth_list(9)ice_fltr_remove_all(9)ice_fltr_add_mac_to_list(9)ice_fltr_add_vlan_to_list(9)ice_fltr_add_eth_to_list(9)ice_fltr_prepare_mac(9)ice_fltr_prepare_vlan(9)ice_fltr_prepare_eth(9)ice_fltr_add_mac(9)ice_fltr_add_mac_and_broadcast(9)ice_fltr_remove_mac(9)ice_fltr_add_vlan(9)ice_fltr_remove_vlan(9)ice_fltr_add_eth(9)ice_fltr_remove_eth(9)
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
- 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