DPDK  20.05.0
Data Fields
rte_event_dev_config Struct Reference

#include <rte_eventdev.h>

Data Fields

uint32_t dequeue_timeout_ns
 
int32_t nb_events_limit
 
uint8_t nb_event_queues
 
uint8_t nb_event_ports
 
uint32_t nb_event_queue_flows
 
uint32_t nb_event_port_dequeue_depth
 
uint32_t nb_event_port_enqueue_depth
 
uint32_t event_dev_cfg
 

Detailed Description

Event device 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 447 of file rte_eventdev.h.

Field Documentation

uint32_t dequeue_timeout_ns

rte_event_dequeue_burst() timeout on this device. This value should be in the range of min_dequeue_timeout_ns and max_dequeue_timeout_ns which previously provided in rte_event_dev_info_get() The value 0 is allowed, in which case, default dequeue timeout used.

See also
RTE_EVENT_DEV_CFG_PER_DEQUEUE_TIMEOUT

Definition at line 448 of file rte_eventdev.h.

int32_t nb_events_limit

In a closed system this field is the limit on maximum number of events that can be inflight in the eventdev at a given time. The limit is required to ensure that the finite space in a closed system is not overwhelmed. The value cannot exceed the max_num_events as provided by rte_event_dev_info_get(). This value should be set to -1 for open system.

Examples:
examples/eventdev_pipeline/pipeline_worker_generic.c, examples/eventdev_pipeline/pipeline_worker_tx.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 456 of file rte_eventdev.h.

uint8_t nb_event_queues
uint8_t nb_event_ports

Number of event ports to configure on this device. This value cannot exceed the max_event_ports which previously provided in rte_event_dev_info_get()

Examples:
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 469 of file rte_eventdev.h.

uint32_t nb_event_queue_flows

Number of flows for any event queue on this device. This value cannot exceed the max_event_queue_flows which previously provided in rte_event_dev_info_get()

Examples:
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 474 of file rte_eventdev.h.

uint32_t nb_event_port_dequeue_depth

Maximum number of events can be dequeued at a time from an event port by this device. This value cannot exceed the max_event_port_dequeue_depth which previously provided in rte_event_dev_info_get(). Ignored when device is not RTE_EVENT_DEV_CAP_BURST_MODE capable.

See also
rte_event_port_setup()
Examples:
examples/eventdev_pipeline/pipeline_worker_generic.c, examples/eventdev_pipeline/pipeline_worker_tx.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 479 of file rte_eventdev.h.

uint32_t nb_event_port_enqueue_depth

Maximum number of events can be enqueued at a time from an event port by this device. This value cannot exceed the max_event_port_enqueue_depth which previously provided in rte_event_dev_info_get(). Ignored when device is not RTE_EVENT_DEV_CAP_BURST_MODE capable.

See also
rte_event_port_setup()
Examples:
examples/eventdev_pipeline/pipeline_worker_generic.c, examples/eventdev_pipeline/pipeline_worker_tx.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 487 of file rte_eventdev.h.

uint32_t event_dev_cfg

Event device config flags(RTE_EVENT_DEV_CFG_)

Definition at line 495 of file rte_eventdev.h.


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