rte_pdump_stats(3)
π rte_pdump_stats π
okay bestie, welcome to the rte_pdump_stats page β straight out of the Library Functions Manual and honestly? it's giving "tiny struct, big job." she's a little struct that carries your packet-capture receipts, and we're gonna go through her field by field, no skips, no cap π«Ά
β¨ SYNOPSIS β¨
first things first, you gotta pull her in:
#include <rte_pdump.h>
π Data Fields
here's the whole squad, in order, exactly like the source says:
uint64_t accepted
uint64_t filtered
uint64_t nombuf
uint64_t ringfull
uint64_t reserved [4]
likeβ¦ look at her. five lines of pure potential π
πΈ Detailed Description πΈ
so what is this? it's a structure used to retrieve statistics from packet capture. that's the whole vibe.
and here's the detail that matters most β the statistics are the sum of both receive and transmit queues. not one or the other, both, combined. so when you look at these numbers you're looking at the total picture, rx and tx together. icon behaviour, truly π
she's defined at line 227 of the file rte_pdump.h, if you ever need to go visit her in person.
π¦ Field Documentation π¦
okay now the main character energy β each field, one by one, with her exact definition line so you can find her:
uint64_t acceptedβ the number of packets accepted by the filter. she said yes π defined at line 228 ofrte_pdump.h.uint64_t filteredβ the number of packets rejected by the filter. not personal, they just didn't pass the vibe check π defined at line 229 ofrte_pdump.h.uint64_t nombufβ the number of mbuf allocation failures. yeahβ¦ the mbufs ran out π defined at line 230 ofrte_pdump.h.uint64_t ringfullβ the number of missed packets due to the ring being full. tragic, but documented π defined at line 231 ofrte_pdump.h.uint64_t reserved[4]β reserved, and she's there to pad to the cache line. queen of alignment, doing structural support work with zero credit π defined at line 233 ofrte_pdump.h.
π Author π
generated automatically by Doxygen for DPDK, from the source code. not a human, just vibes and a parser β
ok that's the whole page, no crumbs left behind β every field, every line number, every word. go read those counters, bestie, and remember: rx and tx, summed, always π
signing off with love β DPDK, Version 26.03.0, dated rte_pdump_stats(3) era πβ¨
π¦ 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