b9c366e029
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.
To fix it for the NEON path in Arm platform, change the bad UDP checksum to
unknown, and then let software application to recompute the checksum.
NICs: 82599(igb)
Driver: ixgbe(vector)
Architecture: arm64
$:./app/dpdk-testpmd -c 0x3 -w 0002:f9:00.0 -- -i
--port-topology=chained --enable-rx-cksum
test-pmd> set fwd rxonly
test-pmd> set verbose 1
test-pmd> start
1. UDP Test:
Package: (Ether()/IP()/UDP(checksum=0)
ol_flags: PKT_RX_L4_CKSUM_UNKNOWN PKT_RX_IP_CKSUM_GOOD
2. TCP Test:
Package: (Ether()/IP()/TCP(checksum=0)
ol_flags: PKT_RX_L4_CKSUM_BAD PKT_RX_IP_CKSUM_GOOD
Bugzilla ID: 629
Fixes:
|
||
---|---|---|
.. | ||
base | ||
ixgbe_82599_bypass.c | ||
ixgbe_bypass_api.h | ||
ixgbe_bypass_defines.h | ||
ixgbe_bypass.c | ||
ixgbe_bypass.h | ||
ixgbe_ethdev.c | ||
ixgbe_ethdev.h | ||
ixgbe_fdir.c | ||
ixgbe_flow.c | ||
ixgbe_ipsec.c | ||
ixgbe_ipsec.h | ||
ixgbe_logs.h | ||
ixgbe_pf.c | ||
ixgbe_regs.h | ||
ixgbe_rxtx_vec_common.h | ||
ixgbe_rxtx_vec_neon.c | ||
ixgbe_rxtx_vec_sse.c | ||
ixgbe_rxtx.c | ||
ixgbe_rxtx.h | ||
ixgbe_tm.c | ||
ixgbe_vf_representor.c | ||
meson.build | ||
rte_pmd_ixgbe.c | ||
rte_pmd_ixgbe.h | ||
version.map |