igc: Remove Sequence Error Counter

Accordance to the i225 datasheet sequence error counter does not
applicable to the i225 device.
This patch comes to clean up this counter.

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:
Sasha Neftin 2020-05-28 10:11:11 +03:00 коммит произвёл Jeff Kirsher
Родитель 51c657b42f
Коммит e2d0f2031e
3 изменённых файлов: 0 добавлений и 3 удалений

Просмотреть файл

@ -243,7 +243,6 @@ void igc_clear_hw_cntrs_base(struct igc_hw *hw)
rd32(IGC_COLC); rd32(IGC_COLC);
rd32(IGC_RERC); rd32(IGC_RERC);
rd32(IGC_DC); rd32(IGC_DC);
rd32(IGC_SEC);
rd32(IGC_RLEC); rd32(IGC_RLEC);
rd32(IGC_XONRXC); rd32(IGC_XONRXC);
rd32(IGC_XONTXC); rd32(IGC_XONTXC);

Просмотреть файл

@ -3701,7 +3701,6 @@ void igc_update_stats(struct igc_adapter *adapter)
adapter->stats.prc511 += rd32(IGC_PRC511); adapter->stats.prc511 += rd32(IGC_PRC511);
adapter->stats.prc1023 += rd32(IGC_PRC1023); adapter->stats.prc1023 += rd32(IGC_PRC1023);
adapter->stats.prc1522 += rd32(IGC_PRC1522); adapter->stats.prc1522 += rd32(IGC_PRC1522);
adapter->stats.sec += rd32(IGC_SEC);
mpc = rd32(IGC_MPC); mpc = rd32(IGC_MPC);
adapter->stats.mpc += mpc; adapter->stats.mpc += mpc;

Просмотреть файл

@ -137,7 +137,6 @@
#define IGC_RERC 0x0402C /* Receive Error Count - R/clr */ #define IGC_RERC 0x0402C /* Receive Error Count - R/clr */
#define IGC_DC 0x04030 /* Defer Count - R/clr */ #define IGC_DC 0x04030 /* Defer Count - R/clr */
#define IGC_TNCRS 0x04034 /* Tx-No CRS - R/clr */ #define IGC_TNCRS 0x04034 /* Tx-No CRS - R/clr */
#define IGC_SEC 0x04038 /* Sequence Error Count - R/clr */
#define IGC_CEXTERR 0x0403C /* Carrier Extension Error Count - R/clr */ #define IGC_CEXTERR 0x0403C /* Carrier Extension Error Count - R/clr */
#define IGC_RLEC 0x04040 /* Receive Length Error Count - R/clr */ #define IGC_RLEC 0x04040 /* Receive Length Error Count - R/clr */
#define IGC_XONRXC 0x04048 /* XON Rx Count - R/clr */ #define IGC_XONRXC 0x04048 /* XON Rx Count - R/clr */