ice_fltr_add_eth(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– ice_fltr_add_eth(9) πŸ’–

okay so bestie, welcome to the manual page for ice_fltr_add_eth from the Kernel API Manual ✨ β€” yes it's a kernel function, yes it's that girl, and yes we're gonna get through it together 🫢


🌸 NAME 🌸

ice_fltr_add_eth β€” add specyfic ethertype filter

(and yes, "specyfic" is exactly how it's spelled up there, no cap, we're keeping it πŸ’… β€” the kernel said what it said)


✨ SYNOPSIS ✨

int ice_fltr_add_eth (struct ice_vsi *vsi , u16 ethertype , u16 flag ,
       enum ice_sw_fwd_act_type action );

that return type is int, just so we're clear from the jump πŸ”₯


πŸ¦‹ ARGUMENTS πŸ¦‹

  • vsi β€” pointer to VSI struct πŸ’œ like, this is the lil struct you're pointing at, that's the whole vibe
  • ethertype β€” ethertype of filter πŸŽ€ which filter are we talking about, ethertype-wise
  • flag β€” direction of packet to be filtered, Tx or Rx 🌈 so pick a lane: transmit or receive, those are your two options
  • action β€” action to be performed on filter match ⭐ what should go down the moment the filter matches, that's what this one's for

πŸ‘‘ SEE ALSO πŸ‘‘

  • Kernel file ./drivers/net/ethernet/intel/ice/ice_fltr.c β€” the literal source file, go read it, it ate πŸ’…

and the whole friend group, okay, a full roster, we love a big family 🫢:

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(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_remove_eth(9)

and the directory itself lives at ./drivers/net/ethernet/intel/ice β€” that's the neighborhood, that's the block 🏠


ngl bestie, that's genuinely the whole page 😭 no exit status section, no environment variables, no hidden lore β€” just the function, the four arguments, and the entire see-also squad. short and iconic, periodt ✨

mwah πŸ’‹ this lil page is from the October 2026 edition of the source, version vibes courtesy of Kernel API Manual β€” stay hydrated and go add those ethertype filters, queen πŸ‘‘

πŸ“¦ where this page comes from