rte_event_port_conf(3)
β¨ NAME β¨
rte_event_port_conf β it's giving event port configuration struct, bestie π
(this one lives in the rte_event_port_conf(3) page under Library Functions Manual, iykyk)
πΈ SYNOPSIS πΈ
#include <rte_eventdev.h>
π Data Fields
int32_t new_event_thresholduint16_t dequeue_depthuint16_t enqueue_depthuint32_t event_port_cfg
π DESCRIPTION π
okay so. rte_event_port_conf is the Event port configuration structure. that's the whole vibe. it's the little bundle of settings you hand over when you're setting up an event port π¦
fr fr, 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 it for a closed system event dev where the event capacity is limited β and it cannot exceed the capacity of the event dev, no cap π«
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 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 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 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 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_) β the little toggles, the main character energy of this struct β¨
Definition at line 1209 of file rte_eventdev.h.
π«Ά AUTHOR π«Ά
Generated automatically by Doxygen for DPDK from the source code. not a human wrote this one, she was born in a doc generator and she ate π
okay bestie that's the whole page, ily, go configure some ports πβ¨πΈπ¦π
DPDK Version 25.11.3 β rte_event_port_conf(3), signing off ππ
π¦ where this page comes from
- ubuntu resolute: dpdk-doc 25.11.3-0ubuntu0.26.04.1 Β· BSD-3-Clause
- ubuntu stonking: dpdk-doc 25.11.3-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms