t4vf_get_port_stats(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ t4vf_get_port_stats β€” the kernel API manual page for this lil' beauty πŸŽ€

okay so this is a page from the Kernel API Manual (that's the 9 in t4vf_get_port_stats(9), iykyk πŸ’…), and bestie… it's a whole vibe. let's get into it.


🌸 NAME 🌸

t4vf_get_port_stats β€” collect "port" statistics πŸ’–

like, literally go gather the stats for the port. that's the whole gig. no cap.


πŸ¦‹ SYNOPSIS πŸ¦‹

int t4vf_get_port_stats (struct adapter *adapter , int pidx , struct
t4vf_port_stats *s );

it hands you back an int, and it takes those three things above. that's it, that's the signature, don't @ me 🫢


πŸ’œ ARGUMENTS πŸ’œ

  • adapter β€” the adapter 🧚
  • pidx β€” the port index, like which port we're talking about bestie πŸ”₯
  • s β€” the stats structure to fill πŸ‘‘ this is the one you're gonna populate, so have it ready

🌈 DESCRIPTION 🌈

Collect statistics for the "port"'s Virtual Interface. πŸ’«

that's the sentence. that's the lore. you got your adapter, you got your port index, you pass in the stats struct, and it fills it with the VI's stats. simple, iconic, main character energy ⭐

ngl this one's short and sweet β€” no plot twists, no deprecated flags, no dangerous weirdness. just stats. slay πŸ’…

πŸ“ SEE ALSO πŸ“

Kernel file ./drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c β€” that's where the actual code lives, go peek πŸŽ€

and the whole friend group of related pages, fr fr:


and that's the page!! 🫢 source/version vibes: it's stamped ./drivers/net/ethernet/chelsio... with a date of October 2026, and it's the t4vf_get_port_stats(9) page in the Kernel API Manual. mwah, go read some stats bestie πŸ’‹βœ¨

πŸ“¦ where this page comes from