ice_fltr_add_mac(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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's const u8 *, so hands off, no cap.
  • action β€” action to be performed on filter match πŸ”₯ β€” an enum 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 πŸ’œ


πŸ’€ 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