e1000e: enable ECC on I217/I218 to catch packet buffer memory errors
[linux-2.6-block.git] / drivers / net / ethernet / intel / e1000e / ethtool.c
index e3855bb10599beb17432d3c3ef83c1bd0e74dcfb..124821b49df6a8b37811639a7fde1164ce9afaf2 100644 (file)
@@ -109,6 +109,8 @@ static const struct e1000_stats e1000_gstrings_stats[] = {
        E1000_STAT("rx_dma_failed", rx_dma_failed),
        E1000_STAT("tx_dma_failed", tx_dma_failed),
        E1000_STAT("rx_hwtstamp_cleared", rx_hwtstamp_cleared),
+       E1000_STAT("uncorr_ecc_errors", uncorr_errors),
+       E1000_STAT("corr_ecc_errors", corr_errors),
 };
 
 #define E1000_GLOBAL_STATS_LEN ARRAY_SIZE(e1000_gstrings_stats)