opnsense-src/sys/dev/ixgbe
Piotr Pietruszewski 8fa11f8922 ix(4): Report RX errors as sum of all RX error counters
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>

Reviewed By: erj
Tested By: gowtham.kumar.ks@intel.com
Sponsored By: Intel Corporation
Differential Revision: https://reviews.freebsd.org/D27191

(cherry picked from commit afb1aa4e6d)
2021-03-04 17:23:18 -08:00
..
if_bypass.c Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (15 of many) 2020-02-24 10:51:26 +00:00
if_fdir.c ixgbe(4): Convert driver to use iflib 2017-12-20 18:15:06 +00:00
if_ix.c ix(4): Report RX errors as sum of all RX error counters 2021-03-04 17:23:18 -08:00
if_ixv.c iflib: ensure that tx interrupts enabled and cleanups 2021-01-07 14:07:35 -08:00
if_sriov.c Include ktr.h in more compilation units 2019-05-21 20:38:48 +00:00
ix_txrx.c if_ixv: disable RSS configuration on 82599 and X540 VFs 2019-11-05 06:34:20 +00:00
ixgbe.h ix(4): Report RX errors as sum of all RX error counters 2021-03-04 17:23:18 -08:00
ixgbe_82598.c ixgbe(4): Update shared code, add support for X552 1G, fix bug 2018-03-19 20:55:05 +00:00
ixgbe_82598.h
ixgbe_82599.c ixgbe: this statement may fall through warnings with gcc 2019-01-19 20:45:41 +00:00
ixgbe_82599.h
ixgbe_api.c ixgbe(4): Update shared code, add support for X552 1G, fix bug 2018-03-19 20:55:05 +00:00
ixgbe_api.h
ixgbe_bypass.h
ixgbe_common.c ixgbe: fix impossible condition 2020-08-21 19:34:41 +00:00
ixgbe_common.h ixgbe(4): Update shared code, add support for X552 1G, fix bug 2018-03-19 20:55:05 +00:00
ixgbe_dcb.c ixgbe(4): Update shared code, add support for X552 1G, fix bug 2018-03-19 20:55:05 +00:00
ixgbe_dcb.h
ixgbe_dcb_82598.c ixgbe(4): Update shared code, add support for X552 1G, fix bug 2018-03-19 20:55:05 +00:00
ixgbe_dcb_82598.h
ixgbe_dcb_82599.c ixgbe(4): Update shared code, add support for X552 1G, fix bug 2018-03-19 20:55:05 +00:00
ixgbe_dcb_82599.h
ixgbe_fdir.h ixgbe(4): Convert driver to use iflib 2017-12-20 18:15:06 +00:00
ixgbe_features.h
ixgbe_mbx.c
ixgbe_mbx.h
ixgbe_osdep.c ixgbe(4): Convert driver to use iflib 2017-12-20 18:15:06 +00:00
ixgbe_osdep.h ixgbe(4): Convert driver to use iflib 2017-12-20 18:15:06 +00:00
ixgbe_phy.c ixgbe(4): Update shared code, add support for X552 1G, fix bug 2018-03-19 20:55:05 +00:00
ixgbe_phy.h
ixgbe_rss.h
ixgbe_sriov.h ixgbe(4): Convert driver to use iflib 2017-12-20 18:15:06 +00:00
ixgbe_type.h ix(4): Run {mod,msf,mbx,fdir,phy}_task in if_update_admin_status 2019-01-31 21:44:33 +00:00
ixgbe_vf.c ixgbe(4): Update shared code, add support for X552 1G, fix bug 2018-03-19 20:55:05 +00:00
ixgbe_vf.h ixgbe(4): Convert driver to use iflib 2017-12-20 18:15:06 +00:00
ixgbe_x540.c ixgbe(4): Update shared code, add support for X552 1G, fix bug 2018-03-19 20:55:05 +00:00
ixgbe_x540.h
ixgbe_x550.c netmap and iflib drivers, silence unused var warnings 2018-05-19 05:57:26 +00:00
ixgbe_x550.h