Page MenuHomeFreeBSD

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

Authored by kgalazka on Dec 16 2020, 7:39 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Sep 1, 6:13 AM
Unknown Object (File)
Mon, Aug 25, 10:20 PM
Unknown Object (File)
Aug 24 2025, 12:32 AM
Unknown Object (File)
Aug 19 2025, 4:23 PM
Unknown Object (File)
Aug 19 2025, 2:14 PM
Unknown Object (File)
Aug 19 2025, 2:32 AM
Unknown Object (File)
Aug 18 2025, 2:56 PM
Unknown Object (File)
Aug 2 2025, 8:34 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