ice_stats_read(9)
π 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 thering_statsstructure for a queue π like, hand her the stats struct for the queue you're obsessed with and she'll take it from therememberβ theice_ring_statsmember 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms