aboutsummaryrefslogtreecommitdiff
path: root/include/odp/api/abi-default/event.h
diff options
context:
space:
mode:
authorNithin Dabilpuram <ndabilpuram@marvell.com>2021-02-12 14:22:22 +0530
committerMatias Elo <matias.elo@nokia.com>2021-03-31 15:57:30 +0300
commit2f2a749af15722c41f6d3bff18726d2c2a0d5293 (patch)
treea5008558a6d1d6270480d629881388953b679fce /include/odp/api/abi-default/event.h
parent58e81f7547a039231330b37644fd1a1de7d38fc7 (diff)
api: event: introduce packet Tx completion event
Introduce packet Tx completion event which indicates a packet's Tx completion. It also holds a user defined context pointer. This patch also adds odp_packet_tx_compl_t type handling functions to free the compl to platform, and to get user context pointer from odp_packet_tx_compl_t event. Signed-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com> Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
Diffstat (limited to 'include/odp/api/abi-default/event.h')
-rw-r--r--include/odp/api/abi-default/event.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/odp/api/abi-default/event.h b/include/odp/api/abi-default/event.h
index a63571ca0..8976252f3 100644
--- a/include/odp/api/abi-default/event.h
+++ b/include/odp/api/abi-default/event.h
@@ -30,7 +30,8 @@ typedef enum {
ODP_EVENT_TIMEOUT = 3,
ODP_EVENT_CRYPTO_COMPL = 4,
ODP_EVENT_IPSEC_STATUS = 5,
- ODP_EVENT_PACKET_VECTOR = 6
+ ODP_EVENT_PACKET_VECTOR = 6,
+ ODP_EVENT_PACKET_TX_COMPL = 7,
} odp_event_type_t;
typedef enum {