---
name: "rte_graph_param"
section: "3"
platform: "linux"
package: "dpdk-doc"
version: "24.11.4-0+deb13u1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/rte_graph_param"
---

# rte\_graph\_param(3)

## NAME

rte\_graph\_param

## SYNOPSIS

`#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()**

Definition at line **157** of file **rte\_graph.h**.

## Field Documentation

### int socket\_id

Socket id where memory is allocated.

Definition at line **158** of file **rte\_graph.h**.

### uint16\_t nb\_node\_patterns

Number of node patterns.

Definition at line **159** of file **rte\_graph.h**.

### const char\*\* node\_patterns

Array of node patterns based on shell pattern.

Definition at line **160** of file **rte\_graph.h**.

### bool pcap\_enable

Pcap enable.

Definition at line **163** of file **rte\_graph.h**.

### uint64\_t num\_pkt\_to\_capture

Number of packets to capture.

Definition at line **164** of file **rte\_graph.h**.

### char\* pcap\_filename

Filename in which packets to be captured.

Definition at line **165** of file **rte\_graph.h**.

### uint64\_t rsvd

Reserved for rtc model.

Definition at line **169** of file **rte\_graph.h**.

### uint32\_t wq\_size\_max

Maximum size of workqueue for dispatch model.

Definition at line **172** of file **rte\_graph.h**.

### uint32\_t mp\_capacity

Capacity of memory pool for dispatch model.

Definition at line **173** of file **rte\_graph.h**.

## Author

Generated automatically by Doxygen for DPDK from the source code.
