diff options
author | Matias Elo <matias.elo@nokia.com> | 2020-09-29 17:23:12 +0300 |
---|---|---|
committer | Petri Savolainen <petri.savolainen@nokia.com> | 2020-11-19 09:49:08 +0200 |
commit | 4ca50cfffb7dc8256893f6fc303168555ba9044a (patch) | |
tree | 8d774c9c48a675fc31d1569767feb3d53580bcdb /platform/linux-generic/include-abi | |
parent | c3ba1f92c401e2a34e5f2fa8a7ec15a410f12c7a (diff) |
linux-gen: event: support freeing packet vectors using odp_event_free()
Add support for freeing packet vectors and contained packets using
odp_event_free().
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
Diffstat (limited to 'platform/linux-generic/include-abi')
-rw-r--r-- | platform/linux-generic/include-abi/odp/api/abi/event.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/platform/linux-generic/include-abi/odp/api/abi/event.h b/platform/linux-generic/include-abi/odp/api/abi/event.h index a8024654c..27d750d16 100644 --- a/platform/linux-generic/include-abi/odp/api/abi/event.h +++ b/platform/linux-generic/include-abi/odp/api/abi/event.h @@ -29,11 +29,12 @@ typedef ODP_HANDLE_T(odp_event_t); #define ODP_EVENT_INVALID _odp_cast_scalar(odp_event_t, 0) typedef enum odp_event_type_t { - ODP_EVENT_BUFFER = 1, - ODP_EVENT_PACKET = 2, - ODP_EVENT_TIMEOUT = 3, + ODP_EVENT_BUFFER = 1, + ODP_EVENT_PACKET = 2, + ODP_EVENT_TIMEOUT = 3, ODP_EVENT_CRYPTO_COMPL = 4, - ODP_EVENT_IPSEC_STATUS = 5 + ODP_EVENT_IPSEC_STATUS = 5, + ODP_EVENT_PACKET_VECTOR = 6 } odp_event_type_t; typedef enum odp_event_subtype_t { |