DPDK 22.11.5
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 elem_offset: 12
 
uint16_t rsvd: 3
 
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 1090 of file rte_eventdev.h.

Member Function Documentation

◆ __rte_aligned()

union rte_event_vector::@174 __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 valid 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 1091 of file rte_eventdev.h.

◆ elem_offset

uint16_t elem_offset

Offset into the vector array where valid elements start from.

Examples
examples/ipsec-secgw/ipsec_worker.c.

Definition at line 1093 of file rte_eventdev.h.

◆ rsvd

uint16_t rsvd

Reserved for future use

Definition at line 1095 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 1097 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 1111 of file rte_eventdev.h.

◆ 

union { ... } @173

Union to hold common attributes of the vector array.


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