diff options
author | Jesse Brandeburg <jesse.brandeburg@intel.com> | 2014-02-06 00:51:09 -0500 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2014-03-06 21:41:42 -0500 |
commit | a47a15f497cac2c94eb88f4eb11929564ea856d3 (patch) | |
tree | 68a30b913d9ca25ad5efa1f36be52f8654bcec9f | |
parent | ac71b7ba18ec5353fd905a2f9c4b173a15b2f925 (diff) |
i40e: count timeout events
The ethtool -S statistics should have a counter for
tx timeouts in order to better help inform the masses.
Change-ID: Ice4b20ed4a151509f366719ab105be49c9e7b2b4
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Catherine Sullivan <catherine.sullivan@intel.com>
Tested-by: Kavindya Deegala <kavindya.s.deegala@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
-rw-r--r-- | drivers/net/ethernet/intel/i40e/i40e_ethtool.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/i40e/i40e_ethtool.c b/drivers/net/ethernet/intel/i40e/i40e_ethtool.c index 8d46c6ee4cdd..d34ff31fddd8 100644 --- a/drivers/net/ethernet/intel/i40e/i40e_ethtool.c +++ b/drivers/net/ethernet/intel/i40e/i40e_ethtool.c | |||
@@ -87,6 +87,7 @@ static struct i40e_stats i40e_gstrings_stats[] = { | |||
87 | I40E_PF_STAT("illegal_bytes", stats.illegal_bytes), | 87 | I40E_PF_STAT("illegal_bytes", stats.illegal_bytes), |
88 | I40E_PF_STAT("mac_local_faults", stats.mac_local_faults), | 88 | I40E_PF_STAT("mac_local_faults", stats.mac_local_faults), |
89 | I40E_PF_STAT("mac_remote_faults", stats.mac_remote_faults), | 89 | I40E_PF_STAT("mac_remote_faults", stats.mac_remote_faults), |
90 | I40E_PF_STAT("tx_timeout", tx_timeout_count), | ||
90 | I40E_PF_STAT("rx_length_errors", stats.rx_length_errors), | 91 | I40E_PF_STAT("rx_length_errors", stats.rx_length_errors), |
91 | I40E_PF_STAT("link_xon_rx", stats.link_xon_rx), | 92 | I40E_PF_STAT("link_xon_rx", stats.link_xon_rx), |
92 | I40E_PF_STAT("link_xoff_rx", stats.link_xoff_rx), | 93 | I40E_PF_STAT("link_xoff_rx", stats.link_xoff_rx), |