API Reference Manual 1.51.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
9#include <stdint.h>
10
11#ifdef __cplusplus
12extern "C" {
13#endif
14
16typedef struct { char dummy; } _odp_abi_event_t;
17
23
24#define ODP_EVENT_INVALID ((odp_event_t)0)
25
26typedef enum {
27 ODP_EVENT_ANY = 0,
28 ODP_EVENT_BUFFER = 1,
29 ODP_EVENT_PACKET = 2,
30 ODP_EVENT_TIMEOUT = 3,
31 ODP_EVENT_VECTOR = 4,
32 ODP_EVENT_IPSEC_STATUS = 5,
33 ODP_EVENT_PACKET_VECTOR = 6,
34 ODP_EVENT_PACKET_TX_COMPL = 7,
35 ODP_EVENT_DMA_COMPL = 8,
36 ODP_EVENT_ML_COMPL = 9
38
39typedef enum {
40 ODP_EVENT_NO_SUBTYPE = 0,
41 ODP_EVENT_PACKET_BASIC = 1,
42 ODP_EVENT_PACKET_CRYPTO = 2,
43 ODP_EVENT_PACKET_IPSEC = 3,
44 ODP_EVENT_PACKET_COMP = 4,
45 ODP_EVENT_ML_COMPL_LOAD = 5,
46 ODP_EVENT_ML_COMPL_RUN = 6
48
53#ifdef __cplusplus
54}
55#endif
56
57#endif
_odp_abi_event_t * odp_event_t
ODP event.
odp_event_subtype_t
Event subtype.
odp_event_type_t
Event type.