Page MenuHomeFreeBSD

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

Authored by krzysztof.galazka_intel.com on Dec 16 2020, 7:39 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 11, 11:17 PM
Unknown Object (File)
Wed, Apr 10, 6:54 AM
Unknown Object (File)
Mon, Apr 8, 1:44 PM
Unknown Object (File)
Mar 7 2024, 3:15 PM
Unknown Object (File)
Feb 10 2024, 1:49 AM
Unknown Object (File)
Dec 24 2023, 12:07 AM
Unknown Object (File)
Dec 10 2023, 8:01 PM
Unknown Object (File)
Nov 20 2023, 4:38 PM
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.

There is no HW counter for frames with invalid L3/L4 checksums
so add a SW one.

Also add a "rx_errors" sysctl with a copy of netstat IERRORS
counter value to make it easier accessible from scripts.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 35447
Build 32357: arc lint + arc unit