ice_stats_read(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ice_stats_read(9) β€” like, the Kernel API Manual, bestie ✨

okay so welcome to the ice_stats_read page, straight out of the Kernel API Manual πŸŽ€ this one's a lil baby function and honestly? iconic for it. she's short, she's sweet, she does exactly one thing and she does it slayfully. no notes. 🫢


✨ NAME ✨

ice_stats_read β€” read a single ring stat value πŸ’« that's it, that's the whole vibe check


🌸 SYNOPSIS 🌸

ice_stats_read (stats , member );

(yeah the spacing is giving what it's giving, copy it exactly fr fr 😭)


πŸ¦‹ ARGUMENTS πŸ¦‹

  • stats β€” a pointer to the ring_stats structure for a queue πŸ‘‘ like, hand her the stats struct for the queue you're obsessed with and she'll take it from there
  • member β€” the ice_ring_stats member you wanna read 🌸 just name the one you want, she'll go get it

πŸ’– DESCRIPTION πŸ’–

so basically this is a shorthand for reading a single 64-bit stat value out of struct ice_ring_stats ✨ like, one stat, one value, 64 whole bits of it, no cap. she's the main character shortcut so you don't gotta do the whole song and dance yourself πŸ’…


⭐ RETURN ⭐

the value of the requested stat πŸŽ€ literally just the stat you asked for. you asked, she delivered, periodt. πŸ‘‘


🌈 SEE ALSO 🌈

  • the kernel file ./drivers/net/ethernet/intel/ice/ice_txrx.h πŸ“ (yes bestie, go read the header, that's where the good stuff lives)
  • the enum ice_tx_buf_type(9) 🌸
  • ice_stats_inc(9) πŸ’œ β€” the other half of the duo, go show her some love too

ok real talk 🫢 this page lives in ./drivers/net/ethernet/intel/ice, and it's dated October 2026 β€” so yeah, she's from the future, we don't question it πŸ’€βœ¨ mwah, go read your stats, ily, bye! πŸŽ€πŸ’–πŸ¦‹
πŸ“¦ where this page comes from