t4_get_usm_stats(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… t4_get_usm_stats β€” the 9 section kernel API manual page, bestie

okay so we're in the kernel API manual, section 9, and today's main character is t4_get_usm_stats. she reads counters. that's her whole thing. icl she's lowkey iconic for it πŸ’–


✨ NAME ✨

t4_get_usm_stats β€” read TP's non-TCP DDP MIB counters

yes that's the whole name section, she's concise, she knows what she is πŸŽ€


🌸 SYNOPSIS 🌸

void t4_get_usm_stats (struct adapter *adap , struct tp_usm_stats *st ,
bool sleep_ok );

that's the whole vibe check: returns void, takes three things, no cap ✨


πŸ¦‹ ARGUMENTS πŸ¦‹

  • adap β€” the adapter. the whole NIC situation, the main character of the struct world πŸ‘‘
  • st β€” holds the counter values. you hand her this and she fills it in, that's the arrangement πŸ’–
  • sleep_ok β€” if true we may sleep while awaiting command completion 😴 like fr fr, napping is permitted while we wait for the command to finish, but only if you said it's ok πŸ™ˆ

πŸ’œ DESCRIPTION πŸ’œ

Returns the values of TP's counters for non-TCP directly-placed packets. that's it. that's the whole function. she goes and gets the numbers, you get the numbers, everyone's happy 🫢✨

no drama, no weird edge cases listed, just counters. periodt πŸ’…


πŸ”₯ SEE ALSO πŸ”₯

okay bestie grab a snack because this friend group is huge πŸ“ like genuinely the whole extended squad shows up, every single one of them is (9):

the source file herself:

Kernel file ./drivers/net/ethernet/chelsio/cxgb4/t4_hw.c

and now the entire group chat, roll call πŸ’€:

that's every single one, no skips, no "etc" (iykyk, "etc" is a crime) πŸ’€πŸ’–


lowkey obsessed with how the source path goes ./drivers/net/ethernet/chelsio... in the footer and then the date is October 2026 β€” and yes, the footer also names t4_get_usm_stats(9) one more time, because she contains multitudes πŸ’…βœ¨

ok that's the page, go read your counters bestie, slay πŸŽ€πŸ¦‹πŸ’œ

πŸ“¦ where this page comes from