ice_fdir_num_avail_fltr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ice_fdir_num_avail_fltr β€” the Kernel API Manual, bestie edition πŸ¦‹

okay so this is a page from the Kernel API Manual (the (9) is giving "section 9, kernel interfaces" ✨) and it's all about ice_fdir_num_avail_fltr. yes that's a long name. no we're not shortening it. it's iconic and we respect it. πŸŽ€


✨ NAME ✨

ice_fdir_num_avail_fltr β€” literally just returns the number of unused flow director filters πŸ’… that's it. that's the whole job. and she does it flawlessly.


πŸ¦‹ SYNOPSIS πŸ¦‹

int ice_fdir_num_avail_fltr (struct ice_hw *hw , struct ice_vsi *vsi );

like, she takes two pointers and hands you back an int. simple. elegant. main character energy fr fr πŸ‘‘


πŸŽ€ ARGUMENTS πŸŽ€

  • hw β€” pointer to the hardware structure. the actual physical vibes. πŸ–₯️
  • vsi β€” the software VSI structure. the software-side bestie that mirrors it. 🌸

πŸ’– DESCRIPTION πŸ’–

okay so here's the lore, because you need to know this. there are 2 filter pools:

  • the guaranteed pool πŸ₯‡
  • the best effort pool (a.k.a. shared) 🀝

each VSI can pull filters from either pool. no gatekeeping. 🫢

the guaranteed pool gets divided between VSIs β€” so everyone gets their own little slice, cute. and the best effort filter pool is common to all VSIs and is a device shared resource pool β€” meaning it's one big communal snack bowl for the whole device πŸ“

so the number of filters available to this VSI is:

the sum of the VSI's guaranteed filter pool βž• the global available best effort filter pool ✨

and then β€” the moment we've all been waiting for β€” she returns the number of available flow director filters to this VSI. ate. no crumbs. πŸ”₯


πŸ’œ SEE ALSO πŸ’œ

the kernel file lives at ./drivers/net/ethernet/intel/ice/ice_ethtool_fdir.c β€” go read it, it's giving lore drop πŸ“–

and now, the squad. the whole friend group. every single one of them, not skipping a single name because that would be disrespectful: 😭

like. forty of them. a whole group chat. iykyk πŸ’€βœ¨


ngl bestie, this one's genuinely chill β€” no danger flags, no deprecated warnings, no undefined behaviour lurking in the shadows. she just counts filters and goes home. a queen. πŸ‘‘

🌸 okay that's the page!! huge shoutout to ./drivers/net/ethernet/intel/ice for hosting this masterpiece, and to October 2026 for the timestamp β€” future vibes only, we love to see it πŸ¦‹βœ¨πŸ’– mwah, go read your kerneldoc, ily, byeee πŸŽ€

πŸ“¦ where this page comes from