DPDK  23.03.0
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
 

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 163 of file rte_graph.h.

Field Documentation

◆ socket_id

int socket_id

Socket id where memory is allocated.

Definition at line 164 of file rte_graph.h.

◆ nb_node_patterns

uint16_t nb_node_patterns

Number of node patterns.

Definition at line 165 of file rte_graph.h.

◆ node_patterns

const char** node_patterns

Array of node patterns based on shell pattern.

Definition at line 166 of file rte_graph.h.

◆ pcap_enable

bool pcap_enable

Pcap enable.

Definition at line 169 of file rte_graph.h.

◆ num_pkt_to_capture

uint64_t num_pkt_to_capture

Number of packets to capture.

Definition at line 170 of file rte_graph.h.

◆ pcap_filename

char* pcap_filename

Filename in which packets to be captured.

Definition at line 171 of file rte_graph.h.


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