HomeFreeBSD

ixgbe: workaround errata about UDP frames with zero checksum

Description

ixgbe: workaround errata about UDP frames with zero checksum

Intel 82599 has errata related to IPv4 UDP frames with zero checksum.
It reports such datagrams with L4 integrity errors in IXGBE_XEC
register. And after afb1aa4e6df2 commit such errors are reported
via IFCOUNTER_IERRORS. This confuses users, since actually all frames
are handled correctly by the system.
To workaround the problem, let's ignore the XEC register value for
82599 cards for now.

PR: 266048
Discussed with: erj
Sponsored by: Yandex LLC
Approved by: so
Security: FreeBSD-EN-23:04.ixgbe

(cherry picked from commit 8526120ad41ca47367b43f8f4459e0fa61285571)
(cherry picked from commit daf3d88ac1849c9a6c5f05d2a663c7fe57453b37)

Details

Provenance
aeAuthored on Nov 10 2022, 9:34 AM
gordonCommitted on Feb 8 2023, 4:30 PM
Parents
rGb508850e150e: Fix ena driver crash after reset in 7th gen AWS instance types.
Branches
Unknown
Tags
Unknown