t4_get_fcoe_stats(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– t4_get_fcoe_stats β€” Kernel API Manual, section 9 πŸŽ€

okay so bestie, welcome to t4_get_fcoe_stats(9) β€” yes it's a section 9 kernel API page, yes it's a whole vibe, and yes we're gonna get through it together. grab a lil snack πŸ“ this one's actually short, i promise.


✨ NAME ✨

t4_get_fcoe_stats β€” read TP's FCoE MIB counters for a port πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

void t4_get_fcoe_stats (struct adapter *adap , unsigned int idx , struct
tp_fcoe_stats *st , bool sleep_ok );

that's the whole signature, no cap. void return, four args, go off πŸ‘‘


🌸 ARGUMENTS 🌸

  • adap β€” literally just the adapter. the whole card. the main character πŸ’«
  • idx β€” the port index β€” which port we're snooping on πŸ”
  • st β€” this is where the counter values live. it holds them, bestie, you gotta hand it somewhere to put the numbers 🫢
  • sleep_ok β€” if true, we may sleep while awaiting command completion 😴 (yes, actually sleep β€” while waiting on the command to finish. that's the whole deal.)

⭐ DESCRIPTION ⭐

Returns the values of TP's FCoE counters for the selected port. that's it. that's the function. it reads, it hands you the numbers, it slays πŸ”₯


πŸ‘‘ SEE ALSO πŸ‘‘

First up, the source of truth, the kernel file itself:

  • Kernel file ./drivers/net/ethernet/chelsio/cxgb4/t4_hw.c πŸ“

and now the extended family β€” every single one of these is a real reference, no skips, no cuts, we list them all because we are thorough and also a little unhinged πŸ’€

like… that's the whole extended universe bestie, every single cross-reference accounted for, not one dropped πŸ™ˆβœ¨


and that's the page!! πŸŽ€ this cutie came out of ./drivers/net/ethernet/chelsio... and it's dated October 2026 β€” so yeah, recent, iconic, periodt. go read your FCoE counters, you absolute legend πŸ‘‘πŸ’–

πŸ“¦ where this page comes from