fm10k_update_hw_stats_tx_q(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… fm10k_update_hw_stats_tx_q β€” okay so this is a kernel API manual thing, and yes we're getting into it

Bestie, welcome to the fm10k_update_hw_stats_tx_q(9) page β€” the manual name is right there in the parentheses, iykyk. This is one of those tiny little Intel driver functions that does exactly one job and does it, periodt. Let's go ✨


✨ NAME ✨

fm10k_update_hw_stats_tx_q β€” updates TX queue statistics counters. That's it, that's the whole vibe. It refreshes the counters. Slay πŸŽ€


🌸 SYNOPSIS 🌸

void fm10k_update_hw_stats_tx_q (struct fm10k_hw *hw , struct
       fm10k_hw_stats_q *q , u32 idx );

Note the void β€” it returns literally nothing, it just does the thing and dips. Main character energy honestly πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • hw β€” pointer to the hardware structure. Like, the whole hardware situation, handed to you as a pointer 🫢
  • q β€” pointer to the ring of hardware statistics queue. Yes, a ring, of stats queues. We love a data structure with lore.
  • idx β€” index pointing to the start of the ring iteration. So you're telling it where in the ring to begin walking around πŸ”₯

πŸ’– DESCRIPTION πŸ’–

So what this function actually does: it updates the TX queue statistics counters that are related to the hardware. That's the entire description and ngl it's giving "short and iconic." It's a stats-refresh moment β€” the TX-side counterpart energy is real, and if you want receipts, check the SEE ALSO list below πŸ‘‘


πŸ‘‘ SEE ALSO πŸ‘‘

Lowkey the most important section because it's literally a group chat of related functions. Also there's a kernel file in here, which is important, don't skip it:

Every single one of those, bestie. Go read them, they're the extended universe 🌈


Heads up 🫢 fm10k_update_hw_stats_tx_q is the TX one β€” if you came here looking for RX, that's fm10k_update_hw_stats_rx_q(9), right there in SEE ALSO. Don't mix them up, I'm begging πŸ™ˆ

πŸŽ€ the cute sign-off πŸŽ€

This page comes from the Kernel API Manual, source situation is ./drivers/net/ethernet/intel/f... (yep, that's how it's shown, mildly truncated, we respect the truncation πŸ’€), and it's dated October 2026. And the whole thing is, of course, fm10k_update_hw_stats_tx_q(9) all over again β€” the title card of its own little movie πŸ“ bye bestie, go update those counters πŸ’œ

πŸ“¦ where this page comes from