]> git.baikalelectronics.ru Git - kernel.git/commit
igc: Add Receive Error Counter
authorSasha Neftin <sasha.neftin@intel.com>
Tue, 19 May 2020 14:55:42 +0000 (17:55 +0300)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 29 May 2020 03:30:06 +0000 (20:30 -0700)
commitc64e1037316138e0383dd8aa5e0745dbf84b0c13
tree44b2abf46d75e9b426b8ea28d10e3229b39b1d1a
parent0a1ed48af757d16e56ad1337abdb94908d73d413
igc: Add Receive Error Counter

Receive error counter reflect total number of non-filtered
packets received with errors. This includes: CRC error,
symbol error, Rx data error and carrier extend error.

Signed-off-by: Sasha Neftin <sasha.neftin@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igc/igc_mac.c
drivers/net/ethernet/intel/igc/igc_main.c
drivers/net/ethernet/intel/igc/igc_regs.h