rte_sched_queue_stats(3)
π rte_sched_queue_stats β a glow-up for your queue receipts
okay so bestie, welcome to the <rte_sched.h> section of the manual β this one's a struct page, and it's literally the receipt tracker for one queue's whole life. It's from the Library Functions Manual, and it's about to be your new fave. π§Ύβ¨
β¨ SYNOPSIS β¨
#include <rte_sched.h>
π Data Fields π
uint64_t n_pktsuint64_t n_pkts_droppeduint64_t n_pkts_cman_droppeduint64_t n_bytesuint64_t n_bytes_dropped
πΈ DESCRIPTION πΈ
Queue statistics. That's the whole vibe β it's the little bundle of counters that tells you what happened to the packets going through a queue. Definition at line 252 of file rte_sched.h. slay. π
π¦ FIELD DOCUMENTATION π¦
okay so here's the β¨iconicβ¨ field-by-field breakdown, no cap:
uint64_t n_pkts
Packets successfully written (you love to see it π«Ά β the good ones that made it through).
Definition at line 254 of file rte_sched.h.
uint64_t n_pkts_dropped
Packets dropped π (the ones that did not get to live their truth).
Definition at line 257 of file rte_sched.h.
uint64_t n_pkts_cman_dropped
Packets dropped by congestion management scheme π β yeah, these got taken out specifically by the congestion management situation. specific king of loss, iykyk.
Definition at line 260 of file rte_sched.h.
uint64_t n_bytes
Bytes successfully written π β the byte-count version of the success story.
Definition at line 263 of file rte_sched.h.
uint64_t n_bytes_dropped
Bytes dropped π β the byte-count version of the tragedy.
Definition at line 266 of file rte_sched.h.
π AUTHOR π
Generated automatically by Doxygen for DPDK from the source code. so it wasn't even a human writing this β doxygen said "i got it" and honestly? it ate. β
π lowkey reminder: every one of these is a uint64_t, so they're big ol' unsigned 64-bit counters. check them before you assume anything about your queue, bestie.
and that's the whole page!! π manual named rte_sched_queue_stats(3), from DPDK, Version 26.03.0 β mwah, go check your counters, ily, bye πβ¨π¦
π¦ where this page comes from
- nixos 26.05: dpdk 26.03
- nixpkgs unstable: dpdk 26.03
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms