iavf_find_filter(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… iavf_find_filter β€” the Kernel API Manual, bestie edition ✨

okay so this is iavf_find_filter(9) from the Kernel API Manual, and honestly? it's a little legend. it's the "hey bestie, have u seen this MAC address" of the iavf driver πŸ¦‹


🌸 NAME 🌸

iavf_find_filter β€” lowkey searches the filter list for one specific mac filter πŸ”πŸ’–


✨ SYNOPSIS ✨

struct iavf_mac_filter * iavf_find_filter (struct iavf_adapter *adapter
, const u8 *macaddr );

like, that's the whole vibe. it hands u back a struct iavf_mac_filter * pointer. periodt. πŸ‘‘


πŸŽ€ ARGUMENTS πŸŽ€

  • adapter β€” the board private structure. it's giving "main character struct" fr fr, this is where all the driver's private lil secrets live πŸ’…
  • macaddr β€” the MAC address. yes the. the one ur looking for. the one u want to find. go get her 🐝

πŸ’œ DESCRIPTION πŸ’œ

okay so it returns a ptr to the filter object β€” or NULL if it's not giving anything 😭 like if the filter isn't there, u get NULL, no cap.

⚠️ big one, bestie: it must be called while holding the mac_vlan_list_lock. not optional. not "eh maybe later". MUST. lock it first or ur gonna have a bad time πŸ’€πŸ”’

🫢 SEE ALSO 🫢

kernel file ./drivers/net/ethernet/intel/iavf/iavf_main.c β€” that's where she lives 🏠

and the whole extended friend group, no one left out, i checked twice ✨:


and that's the whole page, bestie πŸ’– this lil icon came from ./drivers/net/ethernet/intel/iavf, dated October 2026, and it's iavf_find_filter(9) all the way down. now go hold that lock before u call her πŸ«ΆπŸ”’βœ¨

πŸ“¦ where this page comes from