]> git.baikalelectronics.ru Git - kernel.git/commit
ice: Add more Rx errors to netdev's rx_error counter
authorBrett Creeley <brett.creeley@intel.com>
Sat, 16 May 2020 00:36:44 +0000 (17:36 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 28 May 2020 00:44:06 +0000 (17:44 -0700)
commit002c8be6e1cebe9fd540762128c93a31e0a4f06a
tree7f88b5f76292354787fbfb6a25ef263070622e09
parent5f8da29e0c16ebd3975f421113810c2f8f1f0489
ice: Add more Rx errors to netdev's rx_error counter

Currently we are only including illegal_bytes and rx_crc_errors in the
PF netdev's rx_error counter. There are many more causes of Rx errors
that the device supports and reports via Ethtool. Accumulate all Rx
errors in the PF netdev's rx_error counter.

Signed-off-by: Brett Creeley <brett.creeley@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ice/ice_main.c