DPDK  22.07.0
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 {
}; 
 

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 1061 of file rte_eventdev.h.

Member Function Documentation

◆ __rte_aligned()

union rte_event_vector::@206 __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

◆ rsvd

uint16_t rsvd

Reserved for future use

Definition at line 1064 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 1066 of file rte_eventdev.h.

◆ @205

union { ... }

Union to hold common attributes of the vector array.


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