This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "".
The branch, api-next has been updated via 1c11eb2f0e612eb9b7a6cbe91a3e4ac3e61c7b80 (commit) from f3cf9c3583364af7625679d0021c4d55c3414994 (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- commit 1c11eb2f0e612eb9b7a6cbe91a3e4ac3e61c7b80 Author: Petri Savolainen petri.savolainen@linaro.org Date: Tue Mar 27 16:53:08 2018 +0300
api: packet: UDP checksum value of zero
UDP checksum value of zero results OK status when checksum is checked.
Signed-off-by: Petri Savolainen petri.savolainen@linaro.org Reviewed-by: Bill Fischofer bill.fischofer@linaro.org Signed-off-by: Maxim Uvarov maxim.uvarov@linaro.org
diff --git a/include/odp/api/spec/packet.h b/include/odp/api/spec/packet.h index e1f2f221..66665e12 100644 --- a/include/odp/api/spec/packet.h +++ b/include/odp/api/spec/packet.h @@ -1711,6 +1711,9 @@ odp_packet_chksum_status_t odp_packet_l3_chksum_status(odp_packet_t pkt); * attempt. It depends on packet input (or IPSEC) configuration, packet content * and implementation capabilities if checksum check is attempted for a packet. * + * When a UDP packet does not have a checksum (e.g. checksum field of a UDP/IPv4 + * packet is zero), checksum check result is ODP_PACKET_CHKSUM_OK. + * * @param pkt Packet handle * * @return L4 checksum check status
-----------------------------------------------------------------------
Summary of changes: include/odp/api/spec/packet.h | 3 +++ 1 file changed, 3 insertions(+)
hooks/post-receive