aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c
diff options
context:
space:
mode:
authorJeff Kirsher <jeffrey.t.kirsher@intel.com>2015-04-03 16:27:03 -0400
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2015-04-14 18:37:28 -0400
commite05546ec05d854b540d9f39b32f40c3bda34f6cc (patch)
tree6e6fbc376c723e3e89963261a26ec0546b4bc40a /drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c
parent10df06fa2ad10a685c51c6652288ed531a414a3e (diff)
fm10k: expose tx_timeout_count as an ethtool stat
Named it tx_hang_count to differentiate it from tx_hwtstamp_timeout. Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: Jacob Keller <jacob.e.keller@intel.com> Acked-by: Matthew Vick <matthew.vick@intel.com> Tested-by: Krishneil Singh <krishneil.k.singh@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c')
-rw-r--r--drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c b/drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c
index 4687f3756fae..45e504f6103a 100644
--- a/drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c
+++ b/drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c
@@ -84,6 +84,8 @@ static const struct fm10k_stats fm10k_gstrings_global_stats[] = {
84 FM10K_STAT("mbx_rx_dwords", hw.mbx.rx_dwords), 84 FM10K_STAT("mbx_rx_dwords", hw.mbx.rx_dwords),
85 FM10K_STAT("mbx_rx_parse_err", hw.mbx.rx_parse_err), 85 FM10K_STAT("mbx_rx_parse_err", hw.mbx.rx_parse_err),
86 86
87 FM10K_STAT("tx_hang_count", tx_timeout_count),
88
87 FM10K_STAT("tx_hwtstamp_timeouts", tx_hwtstamp_timeouts), 89 FM10K_STAT("tx_hwtstamp_timeouts", tx_hwtstamp_timeouts),
88}; 90};
89 91