]> git.droids-corp.org - dpdk.git/commit
net/ena: fix checksum flag for L4
authorMichal Krawczyk <mk@semihalf.com>
Wed, 23 Feb 2022 12:19:43 +0000 (13:19 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 23 Feb 2022 18:01:03 +0000 (19:01 +0100)
commitb2d2f1cf89a6c3661e68b750364e4a7018f954ba
treeb945382f8b2abea385e6d67c61d49986103b5c8b
parent9ae7a13f8247319f63402107c8304ba57c3f4308
net/ena: fix checksum flag for L4

Some HW may invalidly set checksum error bit for the valid L4 checksum.
To avoid drop of the packets in that situation, do not indicate bad
checksum for L4 Rx csum offloads. Instead, set it as unknown, so the
application will re-verify this value.

The statistics counters will still work as previously.

Fixes: 05817057faba ("net/ena: fix indication of bad L4 Rx checksums")
Cc: stable@dpdk.org
Signed-off-by: Michal Krawczyk <mk@semihalf.com>
drivers/net/ena/ena_ethdev.c