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_packets
  • uint64_t n_bytes
  • int n_packets_valid
  • int 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 *_valid flags before you go reading n_packets or n_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