i40e_get_ne...ts_struct_tx(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… i40e_get_ne...ts_struct_tx β€” Kernel API Manual

Okay so bestie, first things first: yes, the title is literally chopped in half. It's giving ✨dramatic✨, but that's just the man page renderer refusing to spell out i40e_get_netdev_stats_struct_tx at the top β€” the real, un-chopped name is down there in NAME, don't worry. This is a page out of the Kernel API Manual, section 9, and it's a tiny little function with a huge extended family (we'll get to the squad in SEE ALSO, grab a snack πŸ“).


✨ NAME ✨

i40e_get_netdev_stats_struct_tx β€” populate stats from a Tx ring


🌸 SYNOPSIS 🌸

void i40e_get_netdev_stats_struct_tx (struct i40e_ring *ring, struct rtnl_link_stats64 *stats);

It returns void, so like… don't sit there waiting for a return value, there isn't one, she's done after the side effects πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • ring β€” the Tx ring you're pulling statistics out of. This is the main character, she's the source.
  • stats β€” the statistics entry that gets updated. She's the canvas, she gets written into.

πŸ¦‹ SEE ALSO πŸ¦‹

Not me about to list basically the entire i40e driver 😭. Here's the kernel file this lives in, then literally every sibling function the page points you at β€” in order, no gatekeeping:

  • Kernel file: ./drivers/net/ethernet/intel/i40e/i40e_main.c

the setup + stats girlies πŸ’–

filter squad, no cap 🎯

vlan era πŸŽ€

rings + interrupts, the whole vibe check πŸ”₯

DCB / traffic class besties 🌈

channels, but make it fashion πŸ¦‹

macvlan + tc flower, flower crown energy 🌸

reset + subtask iconics πŸ‘‘

alloc / msix / rss β€” the infrastructure baddies πŸ’œ

veb / switch / probe β€” the final boss arc ⭐


Okay and that's the whole guest list. If you clicked through all of those you're legally a kernel girlie now, iykyk 🫢

And that's a wrap on the page πŸ’– it lives in the source tree at ./drivers/net/ethernet/intel/i40e, dated October 2026, and its header footer spells it i40e_get_ne...ts_struct_tx(9) β€” yes, still chopped, no, she is not okay about it. Bye bestie, slay your stats πŸŽ€βœ¨

πŸ“¦ where this page comes from