__i40e_add_stat_strings(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ __i40e_add_stat_strings(9) ✨

okay so bestie, welcome to the Kernel API Manual entry for __i40e_add_stat_strings β€” no cap, this one's lowkey simple but it's a real one πŸ’…


πŸŽ€ NAME πŸŽ€

__i40e_add_stat_strings β€” copy stat strings into the ethtool buffer, that's literally it, that's the whole vibe 🌸


πŸ¦‹ SYNOPSIS πŸ¦‹

void __i40e_add_stat_strings (u8 **p , const struct i40e_stats stats[] ,
const unsigned int size , ... );

look at her go 😭 iconic signature honestly


πŸ’– ARGUMENTS πŸ’–

  • p β€” the buffer that ethtool handed over 🫢
  • stats β€” the array of stat definitions, the source material fr
  • size β€” how big that stats array is
  • ... β€” variable arguments, the mysterious little trio of dots that's giving main character energy ✨

πŸ‘‘ DESCRIPTION πŸ‘‘

So the way that this works: it formats and copies the strings described by stats right into the buffer that p is pointing at. That's the whole gig, bestie πŸ’œ


🌈 SEE ALSO 🌈

the friend group is huge, buckle up:

periodt πŸ’…


and that's the page bestie!! this one's from ./drivers/net/ethernet/intel/i40e, dated October 2026 β€” screenshot it, cite it, slay it πŸŽ€πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from