rte_sched_queue_stats(3)

πŸ’– rte_sched_queue_stats πŸ’–

okay so bestie, gather round, because today we're talking about rte_sched_queue_stats β€” a lil struct from the DPDK crew, chillin' in the Library Functions Manual. it's giving "queue receipts" and honestly? we're obsessed. πŸŽ€


✨ NAME ✨

rte_sched_queue_stats β€” the struct that keeps the receipts on what your queue actually did πŸ“Š


🌸 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

πŸ’… DETAILED DESCRIPTION πŸ’…

Queue statistics 🧚

lowkey the whole vibe of this struct is just: "here's what went through, here's what got yeeted." no cap.

fr fr, it's defined at line 252 of the file rte_sched.h. πŸ“


πŸ‘‘ FIELD DOCUMENTATION πŸ‘‘

⭐ uint64_t n_pkts

Packets successfully written πŸ’–

the ones that made it. the main characters. defined at line 254 of rte_sched.h. ✨

πŸ’€ uint64_t n_pkts_dropped

Packets dropped 🫠

not me watching packets get dropped... defined at line 257 of rte_sched.h. 😭

🌈 uint64_t n_pkts_cman_dropped

Packets dropped by congestion management scheme 🚦

same energy as above but make it congestion management β€” the traffic cops of the queue. defined at line 260 of rte_sched.h. πŸ‘‘

🌸 uint64_t n_bytes

Bytes successfully written ✨

the byte-level glow-up. the ones that landed. defined at line 263 of rte_sched.h. πŸ’œ

πŸ“ uint64_t n_bytes_dropped

Bytes dropped πŸ™ˆ

and here's the byte count of everything that didn't survive the journey. defined at line 266 of rte_sched.h. πŸ’…

πŸŽ€ AUTHOR πŸŽ€

Generated automatically by Doxygen for DPDK from the source code. πŸ€–βœ¨


k that's the whole page bestie, every field, every line number, nothing skipped β€” periodt. πŸ’…

DPDK Β· Version 25.11.3 Β· rte_sched_queue_stats(3) β€” mwah, go read your queues, ily πŸ«ΆπŸ’–

πŸ“¦ where this page comes from