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)
Wed, Mar 5, 6:31 AM
Unknown Object (File)
Wed, Mar 5, 1:00 AM
Unknown Object (File)
Feb 24 2025, 4:59 PM
Unknown Object (File)
Feb 24 2025, 5:43 AM
Unknown Object (File)
Feb 4 2025, 8:15 AM
Unknown Object (File)
Jan 26 2025, 8:09 PM
Unknown Object (File)
Jan 10 2025, 5:34 PM
Unknown Object (File)
Jan 7 2025, 1:01 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.

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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable