ice_get_vf_stats(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ice_get_vf_stats(9) ✨

okay so bestie, welcome to the kernel API manual for ice_get_vf_stats β€” yes it's section 9, yes it's from the Kernel API Manual, and yes we ARE going to read it together 🫢


🌸 NAME 🌸

ice_get_vf_stats β€” populate some stats for the VF πŸ’–

like, it literally just fills in the stats, no cap ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

int ice_get_vf_stats (struct net_device *netdev , int vf_id , struct
ifla_vf_stats *vf_stats );

it's giving "returns an int", it's giving "three arguments", it's giving main character energy πŸ‘‘


πŸŽ€ ARGUMENTS πŸŽ€

  • netdev β€” the netdev of the PF πŸ’« (yes, the Physical Function one, bestie)
  • vf_id β€” the host OS identifier, and it's 0-255 so don't get cute with it πŸ™ˆ
  • vf_stats β€” pointer to the OS memory to be initialized ✨ (you hand it the memory, it does the initializing, that's the whole vibe)

πŸ”₯ SEE ALSO πŸ”₯

first up, the source file itself, iykyk:

  • Kernel file ./drivers/net/ethernet/intel/ice/ice_sriov.c

and then the whole friend group πŸ’œ β€” every single one, no skips:


that's the whole page, bestie, and honestly? iconic 🌈

kisses, and good luck out there in ./drivers/net/ethernet/intel/ice πŸ’… β€” page dated October 2026, from the Kernel API Manual collection, ice_get_vf_stats(9), mwah πŸŽ€πŸ’–

πŸ“¦ where this page comes from