[Bug 266048] [ixgbe] 82599ES reports IPv4 UDP with zero checksum as input errors

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 17 Nov 2022 20:15:27 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266048

--- Comment #6 from commit-hook@FreeBSD.org ---
A commit in branch stable/13 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=daf3d88ac1849c9a6c5f05d2a663c7fe57453b37

commit daf3d88ac1849c9a6c5f05d2a663c7fe57453b37
Author:     Andrey V. Elsukov <ae@FreeBSD.org>
AuthorDate: 2022-11-10 09:34:40 +0000
Commit:     Andrey V. Elsukov <ae@FreeBSD.org>
CommitDate: 2022-11-17 20:13:43 +0000

    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

    (cherry picked from commit 8526120ad41ca47367b43f8f4459e0fa61285571)

 sys/dev/ixgbe/if_ix.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.