ice_fltr_prepare_eth(9)
π ice_fltr_prepare_eth β the kernel API manual, bestie edition π
Okay so bestie, welcome to the ice_fltr_prepare_eth(9) page β¨ β yes that's the kernel API manual, and yes we're about to make ethertype filters make sense. Sit down, hydrate, let's go π«Ά
πΈ NAME πΈ
ice_fltr_prepare_eth β literally the function that adds or removes an ethertype filter. That's it, that's the whole vibe check π
β¨ SYNOPSIS β¨
int ice_fltr_prepare_eth (struct ice_vsi *vsi , u16 ethertype , u16 flag
, enum ice_sw_fwd_act_type action , int (*eth_action)(struct ice_vsi *,
struct list_head *) );
Not me pasting the whole signature exactly because precision is the moment π copy it character for character, no cap.
π ARGUMENTS π
vsiβ pointer to the VSI struct, aka the main character of this whole operation πethertypeβ the ethertype of the packet we're filtering, iykyk π¦flagβ the direction of the packet,TxorRx, pick your lane bestie πactionβ the action to be performed when the filter matches, slay π₯eth_actionβ pointer to the add-or-remove ethertype function, the little helper doing the actual work π
π SEE ALSO π
Lowkey the whole friend group shows up here, so let's give them all their moment β
The kernel file lives at ./drivers/net/ethernet/intel/ice/ice_fltr.c β go say hi π§
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_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)
All of them. Every single one. We don't skip the boring parts here, we give them full main character energy π
no cap bestie, that's every argument, every function and the file path exactly as they were β I just made it cute π
And that's the page! This one comes courtesy of the ./drivers/net/ethernet/intel/ice directory, dated October 2026, and it's filed under ice_fltr_prepare_eth(9) if you ever need to find it again πβ¨ bye bestie, go filter some ethertypes π
π¦ 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