DPDK 25.03.0-rc0
Data Fields
rte_graph_param Struct Reference

#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
 
uint64_t rsvd
 
uint32_t wq_size_max
 
uint32_t mp_capacity
 

Detailed Description

Structure to hold configuration parameters for creating the graph.

See also
rte_graph_create()
Examples
examples/l3fwd-graph/main.c.

Definition at line 157 of file rte_graph.h.

Field Documentation

◆ socket_id

int socket_id

Socket id where memory is allocated.

Examples
examples/l3fwd-graph/main.c.

Definition at line 158 of file rte_graph.h.

◆ nb_node_patterns

uint16_t nb_node_patterns

Number of node patterns.

Examples
examples/l3fwd-graph/main.c.

Definition at line 159 of file rte_graph.h.

◆ node_patterns

const char** node_patterns

Array of node patterns based on shell pattern.

Examples
examples/l3fwd-graph/main.c.

Definition at line 160 of file rte_graph.h.

◆ pcap_enable

bool pcap_enable

Pcap enable.

Examples
examples/l3fwd-graph/main.c.

Definition at line 163 of file rte_graph.h.

◆ num_pkt_to_capture

uint64_t num_pkt_to_capture

Number of packets to capture.

Examples
examples/l3fwd-graph/main.c.

Definition at line 164 of file rte_graph.h.

◆ pcap_filename

char* pcap_filename

Filename in which packets to be captured.

Examples
examples/l3fwd-graph/main.c.

Definition at line 165 of file rte_graph.h.

◆ rsvd

uint64_t rsvd

Reserved for rtc model.

Definition at line 169 of file rte_graph.h.

◆ wq_size_max

uint32_t wq_size_max

Maximum size of workqueue for dispatch model.

Definition at line 172 of file rte_graph.h.

◆ mp_capacity

uint32_t mp_capacity

Capacity of memory pool for dispatch model.

Definition at line 173 of file rte_graph.h.


The documentation for this struct was generated from the following file: