RTE_TABLE_ACTION_STATS_PARAMS(3)

✨ rte_table_...tats_params ✨

okay bestie, gathering round 🫢 this is a page from the Library Functions Manual, and it's literally a little struct full of stats counters. no cap.


πŸ’– NAME πŸ’–

rte_table_action_stats_params β€” the params struct for the stats action, bestie. one per table rule. periodt. πŸ’…


🌸 SYNOPSIS 🌸

#include <rte_table_action.h>

Data Fields πŸ¦‹

uint64_t n_packets
uint64_t n_bytes

πŸŽ€ DETAILED DESCRIPTION πŸŽ€

So this is the Stats action parameters (per table rule). that's the whole vibe. it's a struct, it holds your starting counter values, and it lives its little life inside a table rule. iconic.

lowkey important: the definition is at line 667 of the file rte_table_action.h. write that down. πŸ’œ


🌈 FIELD DOCUMENTATION 🌈

⭐ uint64_t n_packets

the initial value for the n_packets stats counter. typically set to 0, because why would you start anywhere else, fr fr. 😌

See also: struct rte_table_action_stats_counters

and yeah, definition at line 672 of file rte_table_action.h. πŸ“Œ

⭐ uint64_t n_bytes

the initial value for the n_bytes stats counter. also typically set to 0 β€” matching energy, honestly. ✨

See also: struct rte_table_action_stats_counters

definition at line 678 of file rte_table_action.h. πŸ“Œ

two fields, both uint64_t, both starting at 0, both side-eyeing the same struct rte_table_action_stats_counters. it's giving twin main characters. πŸ‘‘

πŸ‘‘ AUTHOR πŸ‘‘

Generated automatically by Doxygen for DPDK from the source code. not a human, just a little documentation robot doing its thing and honestly? ate. πŸ”₯


aaaand that's the whole page, bestie πŸ’– every field, every line number, every "typically set to 0" β€” all still here, just with better vibes. go forth and count your packets. πŸŒΈπŸ¦‹

DPDK β€” Version 25.11.3 Β· Library Functions Manual Β· rte_table_...tats_params(3) πŸ’…

πŸ“¦ where this page comes from