Re: [dpdk-dev] [PATCH v3] net/ixgbe: fix UDP zero checksum error
From: Paolo Valerio <hidden>
Date: 2021-02-05 17:51:10
Hi Haiyue, Haiyue Wang [off-list ref] writes:
There is an 82599 errata that UDP frames with a zero checksum are
incorrectly marked as checksum invalid by the hardware. This was
leading to misleading PKT_RX_L4_CKSUM_BAD flag.
This patch changes the bad UDP checksum to PKT_RX_L4_CKSUM_UNKNOWN,
so the software application will then have to recompute the checksum
itself if needed.
Bugzilla ID: 629
Fixes: af75078fece3 ("first public release")
Cc: stable@dpdk.org
Reported-by: Paolo Valerio <redacted>
Signed-off-by: Haiyue Wang <redacted>
---
v3: Update the hardware errata doc name and session
v2: Change the always GOOD checksum to UNKOWN if BAD.
---
doc/guides/nics/ixgbe.rst | 10 ++++++++
drivers/net/ixgbe/ixgbe_rxtx.c | 30 ++++++++++++++++++++----
drivers/net/ixgbe/ixgbe_rxtx.h | 2 ++
drivers/net/ixgbe/ixgbe_rxtx_vec_sse.c | 32 +++++++++++++++++++++++---
4 files changed, 67 insertions(+), 7 deletions(-)Tested it successfully with OvS ct() action and testpmd. Thanks, Paolo