DPDK
18.11.11
|
#include <rte_eventdev.h>
Data Fields | |
int32_t | new_event_threshold |
uint16_t | dequeue_depth |
uint16_t | enqueue_depth |
uint8_t | disable_implicit_release |
Event port configuration structure
Definition at line 673 of file rte_eventdev.h.
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 nb_events_limit which was previously supplied to rte_event_dev_configure(). This should be set to '-1' for open system.
Definition at line 674 of file rte_eventdev.h.
uint16_t dequeue_depth |
Configure number of bulk dequeues for this event port. This value cannot exceed the nb_event_port_dequeue_depth which previously supplied to rte_event_dev_configure(). Ignored when device is not RTE_EVENT_DEV_CAP_BURST_MODE capable.
Definition at line 687 of file rte_eventdev.h.
uint16_t enqueue_depth |
Configure number of bulk enqueues for this event port. This value cannot exceed the nb_event_port_enqueue_depth which previously supplied to rte_event_dev_configure(). Ignored when device is not RTE_EVENT_DEV_CAP_BURST_MODE capable.
Definition at line 693 of file rte_eventdev.h.
uint8_t disable_implicit_release |
Configure the port not to release outstanding events in rte_event_dev_dequeue_burst(). If true, all events received through the port must be explicitly released with RTE_EVENT_OP_RELEASE or RTE_EVENT_OP_FORWARD. Must be false when the device is not RTE_EVENT_DEV_CAP_IMPLICIT_RELEASE_DISABLE capable.
Definition at line 699 of file rte_eventdev.h.