rte_graph_param(3)
π«Ά rte_graph_param β it's giving "struct energy" π
okay bestie, so this is a page from the DPDK docs, section 3 of the library functions manual. It's literally just one little struct that holds all the settings you hand over when you're building a graph. No drama, no cap. Let's get into it. β¨
πΈ NAME πΈ
rte_graph_param β the lil configuration box for your graph, and yes she's iconic.
β¨ 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 this struct is the whole vibe: it holds the configuration parameters that you use when you're creating a graph. That's it, that's the job. π«‘
See also: rte_graph_create() β go read that one, she's the main character here.
Definition at line 168 of file rte_graph.h.
π¦ Field Documentation π¦
π int socket_id
Where the memory gets allocated β the socket id, bestie. That's the whole note.
Definition at line 169 of file rte_graph.h.
π uint16_t nb_node_patterns
Literally just the number of node patterns you're working with. Count 'em. π
Definition at line 170 of file rte_graph.h.
π const char** node_patterns
An array of node patterns, and they're based on shell pattern matching. Yes, fr fr, the glob girlies get it.
Definition at line 171 of file rte_graph.h.
π bool pcap_enable
Pcap enable. That's the tea. π΅
Definition at line 174 of file rte_graph.h.
π§ uint64_t num_pkt_to_capture
How many packets you wanna capture. Pick your number, no judgment. π₯
Definition at line 175 of file rte_graph.h.
π char* pcap_filename
The filename where the packets you're capturing are gonna land. Name her something cute.
Definition at line 176 of file rte_graph.h.
π«Ά uint64_t rsvd
Reserved for the rtc model. Like, don't touch, it's not for you, it's being saved. π
Definition at line 180 of file rte_graph.h.
β uint32_t wq_size_max
The maximum size of the workqueue, specifically 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 β again, for the dispatch model. She contains multitudes but only up to a point.
Definition at line 184 of file rte_graph.h.
π Author π
Generated automatically by Doxygen for DPDK from the source code. No human hand-wrote this and honestly? Slay, robot.
and that's the whole page bestie, we ate π½οΈβ¨ β this one's from DPDK, Version 25.11.3, dated right there at the bottom with the rte_graph_param(3) header energy. go build your graph, i'm obsessed ππ¦πΈ
π¦ 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