DPDK  20.11.3
Data Fields
rte_event_queue_conf Struct Reference

#include <rte_eventdev.h>

Data Fields

uint32_t nb_atomic_flows
 
uint32_t nb_atomic_order_sequences
 
uint32_t event_queue_cfg
 
uint8_t schedule_type
 
uint8_t priority
 

Detailed Description

Event queue configuration structure

Examples:
examples/eventdev_pipeline/pipeline_worker_generic.c, examples/eventdev_pipeline/pipeline_worker_tx.c, examples/ipsec-secgw/event_helper.c, examples/l2fwd-event/l2fwd_event_generic.c, examples/l2fwd-event/l2fwd_event_internal_port.c, examples/l3fwd/l3fwd_event_generic.c, and examples/l3fwd/l3fwd_event_internal_port.c.

Definition at line 562 of file rte_eventdev.h.

Field Documentation

◆ nb_atomic_flows

uint32_t nb_atomic_flows

The maximum number of active flows this queue can track at any given time. If the queue is configured for atomic scheduling (by applying the RTE_EVENT_QUEUE_CFG_ALL_TYPES flag to event_queue_cfg or RTE_SCHED_TYPE_ATOMIC flag to schedule_type), then the value must be in the range of [1, nb_event_queue_flows], which was previously provided in rte_event_dev_configure().

Examples:
examples/ipsec-secgw/event_helper.c, examples/l2fwd-event/l2fwd_event_generic.c, examples/l2fwd-event/l2fwd_event_internal_port.c, examples/l3fwd/l3fwd_event_generic.c, and examples/l3fwd/l3fwd_event_internal_port.c.

Definition at line 563 of file rte_eventdev.h.

◆ nb_atomic_order_sequences

uint32_t nb_atomic_order_sequences

The maximum number of outstanding events waiting to be reordered by this queue. In other words, the number of entries in this queue’s reorder buffer.When the number of events in the reorder buffer reaches to nb_atomic_order_sequences then the scheduler cannot schedule the events from this queue and invalid event will be returned from dequeue until one or more entries are freed up/released. If the queue is configured for ordered scheduling (by applying the RTE_EVENT_QUEUE_CFG_ALL_TYPES flag to event_queue_cfg or RTE_SCHED_TYPE_ORDERED flag to schedule_type), then the value must be in the range of [1, nb_event_queue_flows], which was previously supplied to rte_event_dev_configure().

Examples:
examples/ipsec-secgw/event_helper.c, examples/l2fwd-event/l2fwd_event_internal_port.c, and examples/l3fwd/l3fwd_event_internal_port.c.

Definition at line 571 of file rte_eventdev.h.

◆ event_queue_cfg

uint32_t event_queue_cfg

◆ schedule_type

uint8_t schedule_type

◆ priority

uint8_t priority

Priority for this event queue relative to other event queues. The requested priority should in the range of [RTE_EVENT_DEV_PRIORITY_HIGHEST, RTE_EVENT_DEV_PRIORITY_LOWEST]. The implementation shall normalize the requested priority to event device supported priority value. Valid when the device has RTE_EVENT_DEV_CAP_QUEUE_QOS capability

Examples:
examples/eventdev_pipeline/pipeline_worker_generic.c, examples/eventdev_pipeline/pipeline_worker_tx.c, examples/l2fwd-event/l2fwd_event_generic.c, and examples/l3fwd/l3fwd_event_generic.c.

Definition at line 592 of file rte_eventdev.h.


The documentation for this struct was generated from the following file: