Man page - rte_event_queue_conf(3)

Packages contas this manual

Manual

rte_event_queue_conf(3) Library Functions Manual rte_event_queue_conf(3)

rte_event_queue_conf

#include <rte_eventdev.h>


uint32_t nb_atomic_flows
uint32_t nb_atomic_order_sequences
uint32_t event_queue_cfg
uint8_t schedule_type
uint8_t priority
uint8_t weight
uint8_t affinity

Event queue configuration structure

Definition at line 911 of file rte_eventdev.h.

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 rte_event_queue_conf::event_queue_cfg or RTE_SCHED_TYPE_ATOMIC flag to rte_event_queue_conf::schedule_type), then the value must be in the range of [1, rte_event_dev_config::nb_event_queue_flows], which was previously provided in rte_event_dev_configure().

If the queue is not configured for atomic scheduling this value is ignored.

Definition at line 912 of file rte_eventdev.h.

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 no events 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 rte_event_queue_conf::event_queue_cfg or RTE_SCHED_TYPE_ORDERED flag to rte_event_queue_conf::schedule_type), then the value must be in the range of [1, rte_event_dev_config::nb_event_queue_flows], which was previously supplied to rte_event_dev_configure().

If the queue is not configured for ordered scheduling, then this value is ignored.

Definition at line 925 of file rte_eventdev.h.

Queue cfg flags(EVENT_QUEUE_CFG_)

Definition at line 943 of file rte_eventdev.h.

Queue schedule type(RTE_SCHED_TYPE_*).

Valid when RTE_EVENT_QUEUE_CFG_ALL_TYPES flag is not set in rte_event_queue_conf::event_queue_cfg.

If the RTE_EVENT_QUEUE_CFG_ALL_TYPES flag is set, then this field is ignored.

See also

RTE_SCHED_TYPE_ORDERED, RTE_SCHED_TYPE_ATOMIC, RTE_SCHED_TYPE_PARALLEL

Definition at line 945 of file rte_eventdev.h.

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, ignored otherwise

Definition at line 955 of file rte_eventdev.h.

Weight of the event queue relative to other event queues.

The requested weight should be in the range of [RTE_EVENT_QUEUE_WEIGHT_HIGHEST, RTE_EVENT_QUEUE_WEIGHT_LOWEST]. The implementation shall normalize the requested weight to event device supported weight value.

Valid when the device has RTE_EVENT_DEV_CAP_QUEUE_QOS capability, ignored otherwise.

Definition at line 966 of file rte_eventdev.h.

Affinity of the event queue relative to other event queues.

The requested affinity should be in the range of [RTE_EVENT_QUEUE_AFFINITY_HIGHEST, RTE_EVENT_QUEUE_AFFINITY_LOWEST]. The implementation shall normalize the requested affinity to event device supported affinity value.

Valid when the device has RTE_EVENT_DEV_CAP_QUEUE_QOS capability, ignored otherwise.

Definition at line 977 of file rte_eventdev.h.

Generated automatically by Doxygen for DPDK from the source code.

Version 24.11.4 DPDK