diff options
author | Nithin Dabilpuram <ndabilpuram@marvell.com> | 2021-03-24 19:00:47 +0530 |
---|---|---|
committer | Matias Elo <matias.elo@nokia.com> | 2021-03-31 15:57:30 +0300 |
commit | 92a96ca77f2c5496b7024ecb532e69221da4d050 (patch) | |
tree | 3a38296c05737fbbaae7911f3cf50f224f160d97 /platform/linux-generic/include-abi | |
parent | 3caaa662631300878d5343fc025ef31ed7084389 (diff) |
linux-gen: add stub implementation for pktout tx completion
Add stub implementation for pktout tx completion feature.
Signed-off-by: Nithin Dabilpuram <ndabilpuram@marvell.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 | 3 | ||||
-rw-r--r-- | platform/linux-generic/include-abi/odp/api/abi/packet.h | 4 |
2 files changed, 6 insertions, 1 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 27d750d16..1cbb81afe 100644 --- a/platform/linux-generic/include-abi/odp/api/abi/event.h +++ b/platform/linux-generic/include-abi/odp/api/abi/event.h @@ -34,7 +34,8 @@ typedef enum odp_event_type_t { 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 odp_event_subtype_t { diff --git a/platform/linux-generic/include-abi/odp/api/abi/packet.h b/platform/linux-generic/include-abi/odp/api/abi/packet.h index 76ec97dc7..28e97637c 100644 --- a/platform/linux-generic/include-abi/odp/api/abi/packet.h +++ b/platform/linux-generic/include-abi/odp/api/abi/packet.h @@ -39,6 +39,10 @@ typedef ODP_HANDLE_T(odp_packet_vector_t); #define ODP_PACKET_VECTOR_INVALID _odp_cast_scalar(odp_packet_vector_t, 0) +typedef ODP_HANDLE_T(odp_packet_tx_compl_t); + +#define ODP_PACKET_TX_COMPL_INVALID _odp_cast_scalar(odp_packet_tx_compl_t, 0) + #define ODP_PACKET_OFFSET_INVALID 0xffff typedef uint8_t odp_proto_l2_type_t; |