Petri Savolainen(psavol) replied on github web page:

include/odp/api/spec/packet.h
line 10
@@ -83,6 +83,22 @@ typedef struct odp_packet_data_range {
 
 } odp_packet_data_range_t;
 
+/**
+ * Checksum check status in packet
+ */
+typedef enum odp_packet_chksum_status_t {
+       /** Checksum was not checked. Checksum check was not attempted or
+         * the attempt failed. */
+       ODP_PACKET_CHKSUM_UNKNOWN = 0,


Comment:
About the values, we can change those later if there's evidence from various 
implementations that OK == 0 would be better than UNKNOWN == 0. If there's no 
measurable performance difference, UNKNOWN == 0 is more robust as init value.

https://github.com/Linaro/odp/pull/167#discussion_r137722774
updated_at 2017-09-08 07:12:08

Reply via email to