RTE_GRAPH_CLUSTER_STATS_PARAM(3)
π rte_graph_cluster_stats_param β the manual page bestie π
okay so this is a page from the DPDK manual, section 3 (library functions, iykyk). It's a struct page, which means it's mostly a list of fields and the little notes Doxygen spat out about each one. Let's get into it π¦
β¨ NAME β¨
rte_graph_cluster_stats_param β no cap, that's the whole name, that's the whole vibe.
πΈ SYNOPSIS πΈ
#include <rte_graph.h>
π Data Fields
int socket_idrte_graph_cluster_stats_cb_t fnuint16_t nb_graph_patternsconst char ** graph_patterns
π DESCRIPTION π
It's giving configuration. This struct is literally just a lil container that holds the parameters you need when you're creating graph cluster stats β like, it's the thing you fill in and hand over so the stats machinery knows what you want. π
See also
rte_graph_cluster_stats_create()
oh and btw, this struct is defined at line 196 of the file rte_graph.h, so if you ever need to go touch grass with the actual source, that's where it lives π«Ά
π₯ FIELD DOCUMENTATION π₯
one field at a time, bestie, we are going in order and we are not skipping anybody β¨
int socket_id
Socket id where memory is allocated. π
that's the socket the memory gets allocated on β that's it, that's the whole field.
Definition at line 197 of file rte_graph.h.
rte_graph_cluster_stats_cb_t fn
Stats print callback function. A NULL value is allowed, and in that case the default print stat function is used. π
so like, you can pass NULL here and it'll just do the default thing. main character energy honestly.
Definition at line 199 of file rte_graph.h.
FILE* f
File pointer to dump the stats when fn == NULL. π
so this one matters when you leftfnasNULLβ this is the file pointer the stats get dumped to.
Definition at line 205 of file rte_graph.h.
uint16_t nb_graph_patterns
Number of graph patterns. β¨
literally just how many graph patterns there are. it counts them. that's the job.
Definition at line 207 of file rte_graph.h.
const char** graph_patterns
Array of graph patterns based on shell pattern. π¦
an array of graph patterns, and they're shell patterns, so yes, the globby kind.
Definition at line 208 of file rte_graph.h.
π AUTHOR π
Generated automatically by Doxygen for DPDK from the source code. π€β¨
and that's the whole page, periodt π
this was DPDK, Version 25.11.3, manual page rte_graph_...stats_param(3) β ty for coming to my ted talk, go read rte_graph.h and slay πππ
π¦ 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