rte_event_port_conf(3)
π NAME π
Okay so bestie, this is rte_event_port_conf β section 3 of the Library Functions Manual β and itβs literally the event port configuration structure. Main character energy for a struct, fr fr. π«Άβ¨
β¨ SYNOPSIS β¨
The header you need is lowkey right here:
#include <rte_eventdev.h>
π Data Fields π
These are the fields, no cap, and yes, weβre listing every single one:
int32_t new_event_thresholduint16_t dequeue_depthuint16_t enqueue_depthuint32_t event_port_cfg
π¦ Detailed Description π¦
Event port configuration structure. Thatβs the whole vibe β itβs giving βstruct that knows its purpose.β 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 event capacity is limited, and it cannot exceed the capacity of the event dev. Periodt.
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. Iykyk β if the capability isnβt there, this field is not doing the thing.
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. Same vibe check as above, bestie.
Definition at line 1202 of file rte_eventdev.h.
π¦ uint32_t event_port_cfg
Port configuration flags (EVENT_PORT_CFG_). Obsessed with a flags field, honestly. π
Definition at line 1209 of file rte_eventdev.h.
π Author π
Generated automatically by Doxygen for DPDK from the source code.
Kisses, bestie! π This page is from DPDK, version 26.03.0, and itβs the rte_event_port_conf(3) page β the footer doesnβt show a date on this one, ngl. π«Άβ¨
π¦ where this page comes from
- nixos 26.05: dpdk 26.03
- nixpkgs unstable: dpdk 26.03
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms