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

            Bug ID: 3685
           Summary: RX UDP checksum offload drops valid UDP packets with
                    Niantic
           Product: OpenDataPlane - linux- generic reference
           Version: master
          Hardware: x86
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: ---
         Component: Packet IO
          Assignee: maxim.uva...@linaro.org
          Reporter: janne.pelto...@nokia.com
                CC: lng-odp@lists.linaro.org, matias....@nokia.com
  Target Milestone: ---

UDP packets with zero checksum (i.e. checksum not set) are either dropped or
reported as having a bad checksum depending on the configuration.

This happens at least with Intel Niantic (82599) NICs.

I am using ODP v1.18.0.1 with DPDK v17.08 and DPDK pktio with zero copy
enabled.


See the following erratum from
Intel 82599 10 GbE - Controller Specification Update, July 2016

43. Integrity Error Reported for IPv4/UDP Packets with Zero Checksum

Problem:
According to the UDP specification “an all zero transmitted checksum value
means that the transmitter generated no checksum (for debugging or for higher
level protocols that don’t care)”, these packets should be received without a
checksum error notation. The 82599 reports an L4 integrity error if such
packets are received.

Implication:
UDP packets without a checksum will have an L4 integrity error indication in
the Rx descriptor.

Workaround:
If bits L4E and L4I are set in the Rx descriptor, the software driver should
check if the checksum is zero and then ignore this error.

Status: B0=Yes; NoFix

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

Reply via email to