---
name: "rte_event_port_conf"
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_event_port_conf"
---

# rte\_event\_port\_conf(3)

## NAME

rte\_event\_port\_conf

## SYNOPSIS

`#include <rte_eventdev.h>`

### Data Fields

int32\_t **new\_event\_threshold**\
 uint16\_t **dequeue\_depth**\
 uint16\_t **enqueue\_depth**\
 uint32\_t **event\_port\_cfg**\

## Detailed Description

Event port configuration structure

Definition at line **1178** of file **rte\_eventdev.h**.

## Field Documentation

### int32\_t new\_event\_threshold

A backpressure threshold for new event enqueues on this port. Use for *closed system* event dev where event capacity is limited, and cannot exceed the capacity of the event dev.

Configuring ports with different thresholds can make higher priority traffic less likely to be backpressured. For example, a port used to inject NIC Rx packets into the event dev can have a lower threshold so as not to overwhelm the device, while ports used for worker pools can have a higher threshold. This value cannot exceed the **rte\_event\_dev\_config::nb\_events\_limit** value which was previously supplied to **rte\_event\_dev\_configure()**.

This should be set to '-1' for *open system*, i.e when **rte\_event\_dev\_info::max\_num\_events** == -1.

Definition at line **1179** of file **rte\_eventdev.h**.

### uint16\_t dequeue\_depth

Configure the maximum size of burst dequeues for this event port. This value cannot exceed the **rte\_event\_dev\_config::nb\_event\_port\_dequeue\_depth** value which was previously supplied to **rte\_event\_dev\_configure()**.

Ignored when device does not support the **RTE\_EVENT\_DEV\_CAP\_BURST\_MODE** capability.

Definition at line **1195** of file **rte\_eventdev.h**.

### uint16\_t enqueue\_depth

Configure the maximum size of burst enqueues to this event port. This value cannot exceed the **rte\_event\_dev\_config::nb\_event\_port\_enqueue\_depth** value which was previously supplied to **rte\_event\_dev\_configure()**.

Ignored when device does not support the **RTE\_EVENT\_DEV\_CAP\_BURST\_MODE** capability.

Definition at line **1202** of file **rte\_eventdev.h**.

### uint32\_t event\_port\_cfg

Port configuration flags(EVENT\_PORT\_CFG\_)

Definition at line **1209** of file **rte\_eventdev.h**.

## Author

Generated automatically by Doxygen for DPDK from the source code.
