From 603739117ed51d72f305e465fc70764f928026f4 Mon Sep 17 00:00:00 2001 From: Ashwin Sekhar T K Date: Fri, 16 Oct 2020 10:24:49 +0530 Subject: api: packet: move odp_packet_chksum_status_t enum Move odp_packet_chksum_status_t enum from spec/packet.h to abi/packet.h to allow platform specific header files to make use of this enumeration. Currently this is not possible as spec/packet.h is included after the platform specific header files. Signed-off-by: Ashwin Sekhar T K Reviewed-by: Matias Elo --- platform/linux-generic/include-abi/odp/api/abi/packet.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'platform/linux-generic/include-abi/odp/api/abi') 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 15f186b41..de4d822b4 100644 --- a/platform/linux-generic/include-abi/odp/api/abi/packet.h +++ b/platform/linux-generic/include-abi/odp/api/abi/packet.h @@ -77,6 +77,12 @@ typedef enum { ODP_PACKET_ALL_COLORS = 3, } odp_packet_color_t; +typedef enum { + ODP_PACKET_CHKSUM_UNKNOWN = 0, + ODP_PACKET_CHKSUM_BAD, + ODP_PACKET_CHKSUM_OK +} odp_packet_chksum_status_t; + typedef struct odp_packet_parse_result_flag_t { union { uint64_t all; -- cgit v1.2.3