aboutsummaryrefslogtreecommitdiff
path: root/platform/linux-generic/include-abi/odp/api/abi
diff options
context:
space:
mode:
authorAshwin Sekhar T K <asekhar@marvell.com>2020-10-16 10:24:49 +0530
committerMatias Elo <matias.elo@nokia.com>2020-11-02 13:33:21 +0200
commit603739117ed51d72f305e465fc70764f928026f4 (patch)
treefa0e6620f0d9eabe34e08cc2985c2a8ee52e1fb6 /platform/linux-generic/include-abi/odp/api/abi
parent630f9ac536dd1c1b021f5dd560f2bcc800fb036f (diff)
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 <asekhar@marvell.com> Reviewed-by: Matias Elo <matias.elo@nokia.com>
Diffstat (limited to 'platform/linux-generic/include-abi/odp/api/abi')
-rw-r--r--platform/linux-generic/include-abi/odp/api/abi/packet.h6
1 files changed, 6 insertions, 0 deletions
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;