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>
This commit is contained in:
parent
ac71b7ba18
commit
a47a15f497
|
@ -87,6 +87,7 @@ static struct i40e_stats i40e_gstrings_stats[] = {
|
||||||
I40E_PF_STAT("illegal_bytes", stats.illegal_bytes),
|
I40E_PF_STAT("illegal_bytes", stats.illegal_bytes),
|
||||||
I40E_PF_STAT("mac_local_faults", stats.mac_local_faults),
|
I40E_PF_STAT("mac_local_faults", stats.mac_local_faults),
|
||||||
I40E_PF_STAT("mac_remote_faults", stats.mac_remote_faults),
|
I40E_PF_STAT("mac_remote_faults", stats.mac_remote_faults),
|
||||||
|
I40E_PF_STAT("tx_timeout", tx_timeout_count),
|
||||||
I40E_PF_STAT("rx_length_errors", stats.rx_length_errors),
|
I40E_PF_STAT("rx_length_errors", stats.rx_length_errors),
|
||||||
I40E_PF_STAT("link_xon_rx", stats.link_xon_rx),
|
I40E_PF_STAT("link_xon_rx", stats.link_xon_rx),
|
||||||
I40E_PF_STAT("link_xoff_rx", stats.link_xoff_rx),
|
I40E_PF_STAT("link_xoff_rx", stats.link_xoff_rx),
|
||||||
|
|
Loading…
Reference in New Issue