API Reference Manual 1.52.0
Loading...
Searching...
No Matches
api/abi-default/event_types.h
1/* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright (c) 2017-2018 Linaro Limited
3 * Copyright (c) 2022-2024 Nokia
4 */
5
6#ifndef ODP_ABI_EVENT_TYPES_H_
7#define ODP_ABI_EVENT_TYPES_H_
8
10
11#include <stdint.h>
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
18typedef struct { char dummy; } _odp_abi_event_t;
19
25
26#define ODP_EVENT_INVALID ((odp_event_t)0)
27
28typedef enum {
29 ODP_EVENT_ANY = 0,
30 ODP_EVENT_BUFFER = 1,
31 ODP_EVENT_PACKET = 2,
32 ODP_EVENT_TIMEOUT = 3,
33 ODP_EVENT_VECTOR = 4,
34 ODP_EVENT_IPSEC_STATUS = 5,
35 ODP_DEPRECATE(ODP_EVENT_PACKET_VECTOR) = 6,
36 ODP_EVENT_PACKET_TX_COMPL = 7,
37 ODP_EVENT_DMA_COMPL = 8,
38 ODP_EVENT_ML_COMPL = 9
40
41typedef enum {
42 ODP_EVENT_NO_SUBTYPE = 0,
43 ODP_EVENT_PACKET_BASIC = 1,
44 ODP_EVENT_PACKET_CRYPTO = 2,
45 ODP_EVENT_PACKET_IPSEC = 3,
46 ODP_EVENT_PACKET_COMP = 4,
47 ODP_EVENT_ML_COMPL_LOAD = 5,
48 ODP_EVENT_ML_COMPL_RUN = 6
50
55#ifdef __cplusplus
56}
57#endif
58
59#endif
Control deprecated API definitions.
_odp_abi_event_t * odp_event_t
ODP event.
odp_event_subtype_t
Event subtype.
odp_event_type_t
Event type.
#define ODP_DEPRECATE(x)
Macro to deprecate API definitions.