RTE_TABLE_ACTION_STATS_COUNTERS(3)
π rte_table_action_stats_counters π
okay bestie, gather round, we're looking at rte_table_action_stats_counters</p> β it's a manual page from section 3 of the DPDK docs, and it's literally just a lil struct that holds your stats action counters. no cap, that's the whole vibe.
β¨ SYNOPSIS β¨
#include <rte_table_action.h>
πΈ Data Fields πΈ
uint64_t n_packetsuint64_t n_bytesint n_packets_validint n_bytes_valid
π¦ DESCRIPTION π¦
Stats action counters (per table rule). that's it, that's the icon. it's defined at line 682 of the file rte_table_action.h, and it's giving "small struct, big responsibility" energy fr fr π
π FIELD DOCUMENTATION π
uint64_t n_packets π
Number of packets. it's valid only when n_packets_valid is non-zero β so like, check the vibe before you trust the number, ok?
Defined at line 684 of the file rte_table_action.h.
uint64_t n_bytes π
Number of bytes. same deal, boo: it's valid only when n_bytes_valid is non-zero. no valid flag, no trust. periodt.
Defined at line 687 of the file rte_table_action.h.
int n_packets_valid β
When this one is non-zero, the n_packets field is valid β otherwise it's invalid. it's literally the hype-check for n_packets, and honestly? iconic.
Defined at line 690 of the file rte_table_action.h.
int n_bytes_valid π₯
When this is non-zero, the n_bytes field is valid β otherwise invalid. yes bestie, it's the same energy as n_packets_valid, just for bytes. they're a matching set π«Ά
Defined at line 693 of the file rte_table_action.h.
π AUTHOR π
Generated automatically by Doxygen for DPDK from the source code. not a human, just a robot doing its lil documentation slay π€β¨
heads up: this whole page was auto-generated, so nobody hand-wrote it with love. the facts are facts though β always check the*_validflags before you go readingn_packetsorn_bytes, iykyk π
and that's a wrap, bestie! this lil beauty comes to you courtesy of DPDK, Version 25.11.3, living its best life as manual page rte_table_...ts_counters(3) in section 3. mwah, go forth and count responsibly π
ππ
π¦ where this page comes from
- ubuntu resolute: dpdk-doc 25.11.3-0ubuntu0.26.04.1 Β· BSD-3-Clause
- ubuntu stonking: dpdk-doc 25.11.3-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms