i40e: add RX to port CRC errors label
authorShannon Nelson <shannon.nelson@intel.com>
Fri, 10 Jul 2015 23:35:57 +0000 (19:35 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 26 Aug 2015 21:46:53 +0000 (14:46 -0700)
The port.crc_errors is really an RX counter, so let's mark it as such.

Change-ID: I179afd3f8a95d45229bb4163a6aeb01f0d2d250b
Signed-off-by: Shannon Nelson <shannon.nelson@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_ethtool.c

index 83d41c2cb02d43fceba54295f05151c12b912b5b..d6c7eb75baf3a62064e8e8fe6c729e28090139ff 100644 (file)
@@ -114,7 +114,7 @@ static struct i40e_stats i40e_gstrings_stats[] = {
        I40E_PF_STAT("tx_errors", stats.eth.tx_errors),
        I40E_PF_STAT("rx_dropped", stats.eth.rx_discards),
        I40E_PF_STAT("tx_dropped_link_down", stats.tx_dropped_link_down),
-       I40E_PF_STAT("crc_errors", stats.crc_errors),
+       I40E_PF_STAT("rx_crc_errors", stats.crc_errors),
        I40E_PF_STAT("illegal_bytes", stats.illegal_bytes),
        I40E_PF_STAT("mac_local_faults", stats.mac_local_faults),
        I40E_PF_STAT("mac_remote_faults", stats.mac_remote_faults),