rte_graph_param(3)
π rte_graph_param β the glow-up config struct
okay bestie, so this is rte_graph_param, a page from the Library Functions Manual, and it's literally the struct that holds all the config parameters you need when you're creating a graph β¨. It lives in <rte_graph.h> and honestly? She's giving "let me hold your settings for you" main character energy π
πΈ SYNOPSIS πΈ
first things first, you gotta pull her in:
#include <rte_graph.h>
π Data Fields
int socket_iduint16_t nb_node_patternsconst char ** node_patternsbool pcap_enableuint64_t num_pkt_to_capturechar * pcap_filename
β¨ Detailed Description β¨
so basically, this struct is the place where all your configuration parameters hang out when you're creating a graph π«Ά. Think of it as the little clipboard your graph creation process reads from before it does its thing.
See also β rte_graph_create(), bestie. That's the function that actually uses all this. Go look at her too π
Definition at line 168 of file rte_graph.h.
π§ Field Documentation π§
π int socket_id
where your memory gets allocated β yes, the socket id, be specific about it π
Definition at line 169 of file rte_graph.h.
π¦ uint16_t nb_node_patterns
the number of node patterns. like, how many patterns are we talking? put the count here, queen π
Definition at line 170 of file rte_graph.h.
π const char** node_patterns
the actual array of node patterns, and they're based on shell pattern matching β so flex those wildcard muscles πβ¨
Definition at line 171 of file rte_graph.h.
π bool pcap_enable
pcap: enabled or not. that's the whole vibe check right there π
Definition at line 174 of file rte_graph.h.
π₯ uint64_t num_pkt_to_capture
how many packets you wanna capture. the number. go off β
Definition at line 175 of file rte_graph.h.
πΈ char* pcap_filename
the filename where those packets are gonna be captured to β name your file, bestie π
Definition at line 176 of file rte_graph.h.
π uint64_t rsvd
reserved for the rtc model. so like... don't touch, it's saved for later π
Definition at line 180 of file rte_graph.h.
π uint32_t wq_size_max
the maximum size of the workqueue for the dispatch model β big workqueue energy π«Ά
Definition at line 183 of file rte_graph.h.
π uint32_t mp_capacity
the capacity of the memory pool for the dispatch model. yes, she has a capacity, respect it β¨
Definition at line 184 of file rte_graph.h.
π Author
generated automatically by Doxygen for DPDK straight from the source code. not me being auto-generated π
π and that's the whole page, bestie! brought to you by DPDK, Version 26.03.0, dated with rte_graph_param(3) β slay, go create some graphs π
β¨
π¦ 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