rte_sched_queue_stats(3)

πŸ“¦ version 26.03, in nixos 26.05, nixpkgs unstable

πŸ’… 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_pkts
  • uint64_t n_pkts_dropped
  • uint64_t n_pkts_cman_dropped
  • uint64_t n_bytes
  • uint64_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