API Reference Manual  1.45.0
api/abi-default/event_types.h
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright (c) 2017-2018 Linaro Limited
3  * Copyright (c) 2022-2023 Nokia
4  */
5 
6 #ifndef ODP_ABI_EVENT_TYPES_H_
7 #define ODP_ABI_EVENT_TYPES_H_
8 
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
12 
13 #include <stdint.h>
14 
16 typedef struct { char dummy; } _odp_abi_event_t;
17 
23 
24 #define ODP_EVENT_INVALID ((odp_event_t)0)
25 
26 typedef enum {
27  ODP_EVENT_BUFFER = 1,
28  ODP_EVENT_PACKET = 2,
29  ODP_EVENT_TIMEOUT = 3,
30  ODP_EVENT_IPSEC_STATUS = 5,
31  ODP_EVENT_PACKET_VECTOR = 6,
32  ODP_EVENT_PACKET_TX_COMPL = 7,
33  ODP_EVENT_DMA_COMPL = 8,
34  ODP_EVENT_ML_COMPL = 9
36 
37 typedef enum {
38  ODP_EVENT_NO_SUBTYPE = 0,
39  ODP_EVENT_PACKET_BASIC = 1,
40  ODP_EVENT_PACKET_CRYPTO = 2,
41  ODP_EVENT_PACKET_IPSEC = 3,
42  ODP_EVENT_PACKET_COMP = 4,
43  ODP_EVENT_ML_COMPL_LOAD = 5,
44  ODP_EVENT_ML_COMPL_RUN = 6
46 
51 #ifdef __cplusplus
52 }
53 #endif
54 
55 #endif
_odp_abi_event_t * odp_event_t
ODP event.
odp_event_subtype_t
Event subtype.
odp_event_type_t
Event type.