]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
ixgbe: workaround errata about UDP frames with zero checksum
authorAndrey V. Elsukov <ae@FreeBSD.org>
Thu, 10 Nov 2022 09:34:40 +0000 (12:34 +0300)
committerGordon Tetlow <gordon@FreeBSD.org>
Wed, 8 Feb 2023 16:32:26 +0000 (08:32 -0800)
commitf31403bfdd79be98e11a00cccf4b6707e006ba7a
tree9bd357cf23d8ce8431c7652ded6db9b847e0957c
parentd4745a8681160931692d9d399174842b1f07cc94
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 fe9c4deda9d4aa2c5bed75071f8006bd2a0734a2)
sys/dev/ixgbe/if_ix.c