From nobody Fri Aug 26 10:59:52 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MDcL05PVkz4ZrPH for ; Fri, 26 Aug 2022 10:59:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MDcL02sWwz3w2q for ; Fri, 26 Aug 2022 10:59:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MDcL01lgpzNYK for ; Fri, 26 Aug 2022 10:59:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 27QAxqA3035384 for ; Fri, 26 Aug 2022 10:59:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 27QAxq7B035383 for bugs@FreeBSD.org; Fri, 26 Aug 2022 10:59:52 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 266048] [ixgbe] 82599ES reports IPv4 UDP as input errors Date: Fri, 26 Aug 2022 10:59:52 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ae@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661511592; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=dE3o3w6LK4Oqo4a8T8Hn7CF0GF5qCZ4vuen5CWjgnrs=; b=GG44Rgy+J6uOo4kFvhjtPhSWpUMROL3VJP7ZKiiTAk8WAd6LwfCxKCUEtGvsI5l1uP1/PO lrFnQ/JYd6fjbNpa00x+Gq3SbmfWDyRephPlZDq2LS2lS7R8ZKKGvi2CoGvyUGAA8Jd8aX qw0SaFStW2xCUX5UiymuM8arpTMa4UuouyFz9pFLQXSlNycXpJPzvFHWNmpwLAGXaU+V0M 2OIZb6V3b4fVbGm4V5X9Kx4GW4l9JpYtW5i6XKm39dcdspZ1TcIR3mW8cwOyiE8a0mPtjl ZMxya67FoexfBhL2XvECdjfDo0uoD1bjZdFUPZUa2pFF7mpe1D8cpb4qKbrLhA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1661511592; a=rsa-sha256; cv=none; b=ZLdE3NgbOhqF47j/delcUsshflAve04jU1dikGPxy/jkWMD8N6arvLa7NbIGkS5wjWPela 3aJsX0z58xKgWDe55oDvz6ixktVIcKb/7FmRdYj+7f4q41/QU5iQkXxcBvRfeCUMlh7x3u u3ngAj4vwhY21/tfOYCtvYfQUeIIolDNALUXcv1zT0WvDNI2l/25Zb8wUJhyOcU77kYmjr bA9FalC/q2fpeSmxR6avdYWCx0FqJ2OwH4udm7p3mHHDfP14tMG9mPFcLVDKy1M9Nm8WmD rpfPhXgfZp2U5YggD203wXVt3p3vHJnGGgSJ/sgmPKhIq6DjHXNpWhKQqn99xg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266048 Bug ID: 266048 Summary: [ixgbe] 82599ES reports IPv4 UDP as input errors Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: ae@FreeBSD.org After https://reviews.freebsd.org/D27191 ixgbe(4) uses sum of all errors registers in the IFCOUNTER_IERRORS. Especially IXGBE_XEC is now included in this sum. And now we have noticeable input errors rate: % netstat -hw1 -I ix0 input ix0 output packets errs idrops bytes packets errs bytes colls 7.7k 14 0 2.0M 4.3k 0 1.9M 0 16k 20 0 27M 30k 0 29M 0 10k 40 0 18M 20k 0 19M 0 12k 23 0 18M 21k 0 20M 0 ^C % sysctl dev.ix.0 | grep errs dev.ix.0.mac_stats.checksum_errs: 25190176 dev.ix.0.mac_stats.rec_len_errs: 0 dev.ix.0.mac_stats.byte_errs: 0 dev.ix.0.mac_stats.ill_errs: 0 dev.ix.0.mac_stats.crc_errs: 0 dev.ix.0.mac_stats.rx_errs: 25190176 % pciconf -l | grep ^ix0 ix0@pci0:6:0:0: class=3D0x020000 card=3D0x00068086 chip=3D0x10fb8086 rev=3D= 0x01 hdr=3D0x00 I found similar report about OpenSense: https://forum.opnsense.org/index.php?topic=3D27051.0 It looks like 82599ES has errata related to IPv4 UDP packets and zero check= sum: 44. Integrity Error Reported for IPv4/UDP Packets With Zero Checksum Problem:According to the UDP specification =E2=80=9Can all zero transmitte= d checksum value means that the transmitter generated no checksum (for debugging or for hig= her level protocols that don=E2=80=99t care)=E2=80=9D, these packets should be= received without a checksum error notation. The 82599 reports an L4 integrity error if such packets are received. Implication: UDP packets without a checksum will have an L4 integrity error indication in the Rx descriptor. See also: https://bugzilla.redhat.com/show_bug.cgi?id=3D1922430 --=20 You are receiving this mail because: You are the assignee for the bug.=