2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/drivers/net/ethernet/intel/igbvf
Kohei Enju a31cb447b5 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 <enjuk@amazon.com>
Signed-off-by: Kohei Enju <enjuk@amazon.com>
Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
Tested-by: Rafal Romanowski <rafal.romanowski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
2025-07-03 09:39:04 -07:00
..
defines.h
ethtool.c igbvf: add tx_timeout_count to ethtool statistics 2025-07-03 09:39:04 -07:00
igbvf.h igbvf: remove unused interrupt counter fields from struct igbvf_adapter 2025-07-03 09:39:04 -07:00
Makefile net: intel: Use *-y instead of *-objs in Makefile 2024-06-10 19:52:44 -07:00
mbx.c intel: legacy: field get conversion 2023-12-18 11:20:43 -08:00
mbx.h igbvf: Remove two unused declarations 2024-08-19 17:48:33 -07:00
netdev.c igbvf: remove unused interrupt counter fields from struct igbvf_adapter 2025-07-03 09:39:04 -07:00
regs.h
vf.c igbvf: Regard vf reset nack as success 2023-03-16 08:55:56 -07:00
vf.h igbvf: convert to strongly typed descriptors 2021-05-26 09:11:41 -07:00