https://bugs.linaro.org/show_bug.cgi?id=3685

--- Comment #2 from Bogdan Pricope <bogdan.pric...@linaro.org> ---
RFC 768   User Datagram Protocol
"If the computed  checksum  is zero,  it is transmitted  as all ones (the
equivalent  in one's complement  arithmetic).   An all zero  transmitted
checksum  value means that the transmitter  generated  no checksum  (for
debugging or for higher level protocols that don't care)."

RFC 8085 UDP Usage Guidelines, March 2017
"Applications SHOULD enable UDP checksums [RFC1122].  For IPv4,
   [RFC768] permits an option to disable their use, by setting a zero
   checksum value.  An application is permitted to optionally discard
   UDP datagrams with a zero checksum [RFC1122].

   When UDP is used over IPv6, the UDP checksum is relied upon to
   protect both the IPv6 and UDP headers from corruption (because IPv6
   lacks a checksum) and MUST be used as specified in [RFC2460].  Under
   specific conditions, a UDP application is allowed to use a zero UDP
   zero-checksum mode with a tunnel protocol (see Section 3.4.1).
"

For IPv4 + UDP scenario, UDP csum with "all zero" value is permitted but UDP
csum SHOULD be used. For IPv6 + UDP: UDP csum MUST be used.

What are you describing is a driver/PMD issue and a workaround in odp code.

Bill, please take a look and advise.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to