diff options
| author | Kohei Enju <[email protected]> | 2025-06-12 16:16:26 +0000 |
|---|---|---|
| committer | Tony Nguyen <[email protected]> | 2025-07-03 16:39:04 +0000 |
| commit | a31cb447b5473cdc08732ec6362202a1ba8e2fe1 (patch) | |
| tree | 3a27cd60b673a5593c93c77501d279ebf39b56a8 /drivers/net/ethernet/intel/igc/igc_main.c | |
| parent | igbvf: remove unused interrupt counter fields from struct igbvf_adapter (diff) | |
| download | kernel-a31cb447b5473cdc08732ec6362202a1ba8e2fe1.tar.gz kernel-a31cb447b5473cdc08732ec6362202a1ba8e2fe1.zip | |
igbvf: add tx_timeout_count to ethtool statistics
Add `tx_timeout_count` to ethtool statistics to provide visibility into
transmit timeout events, bringing igbvf in line with other Intel
ethernet drivers.
Currently `tx_timeout_count` is incremented in igbvf_watchdog_task() and
igbvf_tx_timeout() but is not exposed to userspace nor used elsewhere in
the driver.
Before:
# ethtool -S ens5 | grep tx
tx_packets: 43
tx_bytes: 4408
tx_restart_queue: 0
After:
# ethtool -S ens5 | grep tx
tx_packets: 41
tx_bytes: 4241
tx_restart_queue: 0
tx_timeout_count: 0
Tested-by: Kohei Enju <[email protected]>
Signed-off-by: Kohei Enju <[email protected]>
Reviewed-by: Aleksandr Loktionov <[email protected]>
Tested-by: Rafal Romanowski <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions
