12 #ifndef ODP_API_SPEC_QUEUE_TYPES_H_
13 #define ODP_API_SPEC_QUEUE_TYPES_H_
14 #include <odp/visibility_begin.h>
433 #include <odp/visibility_end.h>
ODP event vector API type definitions.
struct odp_aggr_enq_param_t odp_aggr_enq_param_t
Event aggregator enqueuing parameters.
odp_nonblocking_t
Non-blocking level.
struct odp_queue_info_t odp_queue_info_t
Queue information Retrieve information about a queue with odp_queue_info()
struct odp_aggr_enq_profile_t odp_aggr_enq_profile_t
Event aggregator enqueuing profile.
odp_queue_type_t
Queue type.
struct odp_queue_param_t odp_queue_param_t
ODP Queue parameters.
odp_queue_op_mode_t
Queue operation mode.
odp_queue_order_t
Original event order maintenance options.
struct odp_queue_capability_t odp_queue_capability_t
Queue capabilities.
@ ODP_NONBLOCKING_WF
Non-blocking and wait-free implementation.
@ ODP_BLOCKING
Blocking implementation.
@ ODP_NONBLOCKING_LF
Non-blocking and lock-free implementation.
@ ODP_QUEUE_TYPE_SCHED
Scheduled queue.
@ ODP_QUEUE_TYPE_PLAIN
Plain queue.
@ ODP_QUEUE_TYPE_AGGR
Aggregator queue.
@ ODP_QUEUE_OP_MT
Multithread safe operation.
@ ODP_QUEUE_OP_DISABLED
Disabled.
@ ODP_QUEUE_OP_MT_UNSAFE
Not multithread safe operation.
@ ODP_QUEUE_ORDER_KEEP
Keep original event order.
@ ODP_QUEUE_ORDER_IGNORE
Ignore original event order.
Event aggregator enqueuing parameters.
uint8_t end_of_vector
The event being enqueued is the last event of related events.
uint8_t start_of_vector
The event being enqueued is the first event of related events.
Event aggregator enqueuing profile.
@ ODP_AEP_TYPE_NONE
Default enqueuing behaviour with no hints being passed.
@ ODP_AEP_TYPE_IPV4_FRAG
Try to get fragments of the same IPv4 packet into the same vector by enqueuing the first and last fra...
@ ODP_AEP_TYPE_CUSTOM
Implementation specific behaviour.
@ ODP_AEP_TYPE_IPV6_FRAG
Try to get fragments of the same IPv6 packet into the same vector by enqueuing the first and last fra...
uintptr_t param
Additional implementation specific parameter for the ODP_AEP_TYPE_CUSTOM profile type.
enum odp_aggr_enq_profile_t::@154 type
Profile type.
Event aggregator capabilities.
Event vector configuration.
uint32_t max_size
Maximum number of events a plain (ODP_BLOCKING) queue can store simultaneously.
uint32_t max_num
Maximum number of plain (ODP_BLOCKING) queues of the default size.
struct odp_queue_capability_t::@151::@153 waitfree
Wait-free (ODP_NONBLOCKING_WF) implementation capabilities.
struct odp_queue_capability_t::@151::@152 lockfree
Lock-free (ODP_NONBLOCKING_LF) implementation capabilities.
uint32_t max_queues
Maximum number of event queues of any type (default size).
struct odp_queue_capability_t::@151 plain
Plain queue capabilities.
odp_event_aggr_capability_t aggr
Event vector generation capabilities.
Queue information Retrieve information about a queue with odp_queue_info()
odp_queue_param_t param
queue parameters
const char * name
queue name
odp_schedule_param_t sched
Scheduler parameters.
odp_queue_order_t order
Original event order maintenance.
odp_queue_op_mode_t enq_mode
Enqueue mode.
odp_queue_type_t type
Queue type.
uint32_t context_len
Queue context data length.
void * context
Queue context pointer.
odp_queue_op_mode_t deq_mode
Dequeue mode.
const odp_event_aggr_config_t * aggr
Event aggregator configuration parameters.
odp_nonblocking_t nonblocking
Non-blocking level.
uint32_t num_aggr
Number of event aggregators.