mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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>
This commit is contained in:
parent
758b51e1e7
commit
51c657b42f
3 changed files with 3 additions and 0 deletions
|
@ -3740,6 +3740,7 @@ void igc_update_stats(struct igc_adapter *adapter)
|
|||
|
||||
adapter->stats.tpt += rd32(IGC_TPT);
|
||||
adapter->stats.colc += rd32(IGC_COLC);
|
||||
adapter->stats.colc += rd32(IGC_RERC);
|
||||
|
||||
adapter->stats.algnerrc += rd32(IGC_ALGNERRC);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue