DPDK 21.11.9
Public Member Functions | Data Fields
rte_event_vector Struct Reference

#include <rte_eventdev.h>

Public Member Functions

union {
__rte_aligned (16)
 

Data Fields

uint16_t nb_elem
 
uint16_t rsvd: 15
 
uint16_t attr_valid: 1
 
union {
}; 
 
uint16_t port
 
uint16_t queue
 

Detailed Description

Event vector structure.

Examples
examples/ipsec-secgw/ipsec_worker.c, examples/l2fwd-event/l2fwd_event.c, examples/l3fwd/l3fwd_fib.c, and examples/l3fwd/l3fwd_lpm.c.

Definition at line 976 of file rte_eventdev.h.

Member Function Documentation

◆ __rte_aligned()

union rte_event_vector::@204 __rte_aligned ( 16  )

< Implementation specific opaque value. An implementation may use this field to hold implementation specific value to share between dequeue and enqueue operation. The application should not modify this field. Start of the vector array union. Depending upon the event type the vector array can be an array of mbufs or pointers or opaque u64 values.

Field Documentation

◆ nb_elem

uint16_t nb_elem

Number of elements in this event vector.

Examples
examples/ipsec-secgw/ipsec_worker.c, examples/l2fwd-event/l2fwd_event.c, examples/l3fwd/l3fwd_fib.c, and examples/l3fwd/l3fwd_lpm.c.

Definition at line 977 of file rte_eventdev.h.

◆ rsvd

uint16_t rsvd

Reserved for future use

Definition at line 979 of file rte_eventdev.h.

◆ attr_valid

uint16_t attr_valid

Indicates that the below union attributes have valid information.

Examples
examples/ipsec-secgw/ipsec_worker.c, examples/l2fwd-event/l2fwd_event.c, examples/l3fwd/l3fwd_fib.c, and examples/l3fwd/l3fwd_lpm.c.

Definition at line 981 of file rte_eventdev.h.

◆ port

uint16_t port

◆ queue

uint16_t queue

Ethernet device queue id.

Examples
examples/ipsec-secgw/ipsec_worker.c, and examples/l2fwd-event/l2fwd_event.c.

Definition at line 995 of file rte_eventdev.h.

◆ 

union { ... } @203

Union to hold common attributes of the vector array.


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