rte_graph_param(3)

πŸ“¦ version 26.03, in nixos 26.05, nixpkgs unstable

πŸ’… 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_id
  • uint16_t nb_node_patterns
  • const char ** node_patterns
  • bool pcap_enable
  • uint64_t num_pkt_to_capture
  • char * 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