rte_pdump_stats(3)

πŸ’– rte_pdump_stats πŸ’–

okay bestie, this one's from the rte_pdump family β€” that's the DPDK packet-capture crew β€” and it lives in section 3 of the library functions manual, the part where all the library functions hang out. It's not a function tho, it's a struct, so buckle up. πŸ¦‹


✨ NAME ✨

rte_pdump_stats β€” the little stats struct that tells you how your packet capture is doing πŸ’…


🌸 SYNOPSIS 🌸

#include <rte_pdump.h>

πŸŽ€ Data Fields

  • uint64_t accepted
  • uint64_t filtered
  • uint64_t nombuf
  • uint64_t ringfull
  • uint64_t reserved [4]

πŸ‘‘ Detailed Description πŸ‘‘

It's a structure used to retrieve statistics from packet capture. The stats are the sum of both receive and transmit queues β€” so no, you don't get a per-queue breakdown, it's one big blended number, like a smoothie. πŸ“

Definition at line 227 of file rte_pdump.h.

πŸ”₯ Field Documentation πŸ”₯

⭐ uint64_t accepted

Number of packets accepted by filter. slay, they made it through πŸ’–

Definition at line 228 of file rte_pdump.h.

πŸ’€ uint64_t filtered

Number of packets rejected by filter. not their moment, they got filtered out bestie 😭

Definition at line 229 of file rte_pdump.h.

πŸ™ˆ uint64_t nombuf

Number of mbuf allocation failures. that's the "we ran out of memory buffers" count πŸ’€

Definition at line 230 of file rte_pdump.h.

🧚 uint64_t ringfull

Number of missed packets due to ring full. the ring said "no more room, we're full" πŸŽ€

Definition at line 231 of file rte_pdump.h.

🌈 uint64_t reserved[4]

Reserved and pad to cache line. it's just padding, doing nothing, vibing ✨

Definition at line 233 of file rte_pdump.h.

πŸ’œ Author πŸ’œ

Generated automatically by Doxygen for DPDK from the source code. so like, a robot wrote this, no cap πŸ€–


and that's the whole page, bestie!! this one came from DPDK, Version 25.11.3 β€” that's the source and the version, and the date line is just the doc build stamp β€” so go forth and count your packets πŸ«ΆπŸ’…

πŸ“¦ where this page comes from