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

Member Function Documentation

◆ __rte_aligned()

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

◆ elem_offset

uint16_t elem_offset

Offset into the vector array where valid elements start from.

Examples:
examples/ipsec-secgw/ipsec_worker.c, examples/l2fwd-event/l2fwd_common.c, and examples/l3fwd/l3fwd_event.c.

Definition at line 1080 of file rte_eventdev.h.

◆ rsvd

uint16_t rsvd

Reserved for future use

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

◆ @189

union { ... }

Union to hold common attributes of the vector array.


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