i40e_get_vsi_stats_struct(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ i40e_get_vsi_stats_struct β€” the Kernel API Manual, but make it make sense ✨

okay bestie, listen, this one is short and sweet, and it comes from the Kernel API Manual (manual section 9, kernel developer land, that's the vibe πŸ’…). It's a tiny little function page and we're gonna read it together, no cap.


πŸ’– NAME πŸ’–

i40e_get_vsi_stats_struct β€” Get System Network Statistics πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

struct rtnl_link_stats64 * i40e_get_vsi_stats_struct (struct i40e_vsi
*vsi );

🌸 ARGUMENTS 🌸

  • vsi β€” the VSI we care about. that's it, that's the whole argument, the VSI we care about, iconic honestly 🫢

⭐ DESCRIPTION ⭐

So here's the tea πŸ“ β€” this function returns the address of the device statistics structure. That's what it does. It hands you the pointer, and honestly that's the whole job.

But lowkey important: the statistics are actually updated from the service task. So like… the struct you're getting the address of isn't being freshened up by this function, it's the service task doing the update work behind the scenes. Rude of it to not mention that earlier? yes. but now you know πŸ’…


πŸ‘‘ SEE ALSO πŸ‘‘

First up, the actual home of this code β€” it lives in the kernel file:

  • ./drivers/net/ethernet/intel/i40e/i40e_main.c

and then there's the whole ~friend group~ of sibling functions, and I'm listing every single one because nobody gets left behind 🫢:


and that's the whole page bestie, we ate that up πŸ’…βœ¨ periodt

so like, sign-off time πŸŽ€ β€” this one lives under ./drivers/net/ethernet/intel/i40e, it's dated October 2026, and the page itself answers to i40e_get_vsi_stats_struct(9). go be a stats icon πŸ‘‘πŸ’œ

πŸ“¦ where this page comes from