ice_fltr_add_eth_to_list(9)
π§ ice_fltr_add_eth_to_list(9) β Kernel API Manual, bestie edition
Okay so picture this: you're deep in the kernel source and you trip over ice_fltr_add_eth_to_list(9). That's the one we're doing today. Come sit, I got you π«Ά
β¨ NAME β¨
ice_fltr_add_eth_to_list β adds ethertype filter info to an existing list π (the original page spells it "exsisting" and honestly? iconic typo, we're keeping the energy but the meaning is existing list, no cap)
πΈ SYNOPSIS πΈ
int ice_fltr_add_eth_to_list (struct ice_vsi *vsi , struct list_head
*list , u16 ethertype , u16 flag , enum ice_sw_fwd_act_type action );
Yup, it hands you back an int. Five things go in, filter info goes onto the list. Slay β¨
π¦ ARGUMENTS π¦
vsiβ pointer to the VSI struct. Like, the VSI struct. Your main character πlistβ the list you're adding the filter info to, fr frethertypeβ the ethertype of the packet that matches this filter πflagβ the filter direction, so like Tx or Rx, pick your vibeactionβ the filter action. That's the whole of it, no extra lore π
π SEE ALSO π
The kernel file lives right here, go peek:
./drivers/net/ethernet/intel/ice/ice_fltr.c
And the whole friend group, in order, all of them, don't skip a single one (iykyk):
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_prepare_mac(9)ice_fltr_prepare_mac_and_broadcast(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)
That's twenty-six little legends and every single one made the list π
Heads up bestie: this page only tells you what the arguments are and what the function does β it says nothing about return values or errors, so don't go inventing any, okay? π
And that's the whole vibe check π This page comes from the source tree at ./drivers/net/ethernet/intel/ice, dated October 2026, and yes that's ice_fltr_add_eth_to_list(9) signing off. Periodt. πβ¨
π¦ 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