Page MenuHomeFreeBSD

ix(4): Report RX errors as sum of all RX error counters
ClosedPublic

Authored by piotr.pietruszewski_intel.com on Nov 12 2020, 2:09 PM.
Tags
None
Referenced Files
F132033159: D27191.id85023.diff
Mon, Oct 13, 2:53 AM
F132033145: D27191.id79467.diff
Mon, Oct 13, 2:53 AM
F132033142: D27191.id.diff
Mon, Oct 13, 2:53 AM
F131971832: D27191.diff
Sun, Oct 12, 3:01 PM
Unknown Object (File)
Wed, Sep 17, 8:55 AM
Unknown Object (File)
Sep 1 2025, 6:03 AM
Unknown Object (File)
Aug 5 2025, 5:24 AM
Unknown Object (File)
Jul 5 2025, 11:17 AM
Subscribers

Details

Summary

HW keeps track of RX errors using several counters, each for
specific type of errors. Report RX errors to OS as sum
of all those counters: CRC errors, illegal bytes, checksum,
length, undersize, fragment, oversize and jabber errors.

Also, add new "rx_errs" sysctl in the dev.ix.N.mac_stats tree. This is
to provide an another way to display the sum of RX errors.

Signed-off-by: Piotr Pietruszewski <piotr.pietruszewski@intel.com>

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Mar 3 2021, 1:26 AM

Hi, Piotr.

Can you take a look at the errata for 82599 that does report checksum error when card receives IPv4 UDP packets with zero checksum?
I found several discussion (on Opensense and FreeBSD forums) about this problem that appeared visible after this commit. Also, I found this PR. In our case we see noticeable RX errors on machines that handle SNMP traps.