rte_swx_port_in_stats(3)
π rte_swx_port_in_stats β bestie's guide to the input port stats struct
okay so like, this whole page is rte_swx_port_in_stats(3) β that's the thing. it's a struct, it lives in the library functions manual, and it's literally just a little bundle of counters that tell you what your input port has been up to. main character energy for numbers, honestly. π
β¨ NAME β¨
rte_swx_port_in_stats β the input port statistics counters struct. that's it, that's the name. π«Ά
β¨ SYNOPSIS β¨
lowkey all you gotta do is pull in the header:
#include <rte_swx_port.h>
πΈ Data Fields πΈ
uint64_t n_pktsβ how many packets showed up πuint64_t n_bytesβ how many bytes those packets were π¦uint64_t n_emptyβ how many polls came back empty-handed π
π Detailed Description π
it's givingβ¦ counters. specifically, input port statistics counters. that's the whole vibe check. π§
fr fr this is defined at line 72 of file rte_swx_port.h if you ever need to go look at it with your own two eyes. iykyk π
π Field Documentation π
β uint64_t n_pkts
Number of packets. that's the count of packets, periodt. defined at line 74 of file rte_swx_port.h. π
β uint64_t n_bytes
Number of bytes. the byte tally, bestie β not packets, bytes. defined at line 77 of file rte_swx_port.h. β¨
β uint64_t n_empty
Number of empty polls. like when you check the fridge and there's nothing in there β that's this counter. defined at line 80 of file rte_swx_port.h. π
π Author π
generated automatically by Doxygen for DPDK from the source code. not me having a robot write my bio π slay, i guess.
π«Ά okay that's the whole page, no cap. every field, every line number, every crumb of info β all here. go forth and count your packets, queen. πΈ
DPDK β Version 26.03.0 Β· rte_swx_port_in_stats(3) Β· mwah π bye bestie, see you at the next manpage π¦β¨
π¦ 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