ice_fltr_add_mac(9)
π ice_fltr_add_mac β¨
okay so bestie, welcome to the Kernel API Manual β this is the page for ice_fltr_add_mac, and it's literally the whole "add single MAC filter" situation π
πΈ NAME πΈ
ice_fltr_add_mac β add single MAC filter π«
like, one filter. a single one. not a list. that's a different function, we'll get there, iykyk π«Ά
β¨ SYNOPSIS β¨
int ice_fltr_add_mac (struct ice_vsi *vsi , const u8 *mac , enum
ice_sw_fwd_act_type action );
it's giving "returns an int", it's giving "takes three things", we love a clear signature ngl π
π¦ ARGUMENTS π¦
vsiβ pointer to VSI struct π§ β like, the whole VSI. a pointer to it. that's the vibe.macβ MAC to add π β yes the actual MAC, and yes it'sconst u8 *, so hands off, no cap.actionβ action to be performed on filter match π₯ β anenum ice_sw_fwd_act_type, so like, what happens when the filter matches. that's the whole point fr fr.
π SEE ALSO π
kay so this is the part where the manpage just lists the entire friend group π and honestly? iconic. all of these are (9) pages, and the kernel file they live in is ./drivers/net/ethernet/intel/ice/ice_fltr.c β go say hi to the source bestie π
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_mac_and_broadcast(9)ice_fltr_prepare_vlan(9)ice_fltr_prepare_eth(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)
π reminder bestie: this one adds a single MAC filter. if you need a whole list, the list girlies are right up there in SEE ALSO. don't come for me, i'm just the messenger π«Ά
and that's the page!! π it lives in ./drivers/net/ethernet/intel/ice, and this version is dated October 2026 β so like, pretty recent, slay π
mwah, go add your MAC filter, you're gonna do great ππΈ
π¦ 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