ice_fltr_add_eth_to_list(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🧊 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 fr
  • ethertype β€” the ethertype of the packet that matches this filter πŸ‘‘
  • flag β€” the filter direction, so like Tx or Rx, pick your vibe
  • action β€” 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):

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