git: 132e609c2ce5 - stable/15 - igc: Restore the watchdog event counter

From: Kevin Bowling <kbowling_at_FreeBSD.org>
Date: Wed, 26 Aug 2026 01:08:34 UTC
The branch stable/15 has been updated by kbowling:

URL: https://cgit.FreeBSD.org/src/commit/?id=132e609c2ce5c72e9e04a5d6f3e0e9140e06ebd8

commit 132e609c2ce5c72e9e04a5d6f3e0e9140e06ebd8
Author:     Kevin Bowling <kbowling@FreeBSD.org>
AuthorDate: 2026-08-26 01:07:59 +0000
Commit:     Kevin Bowling <kbowling@FreeBSD.org>
CommitDate: 2026-08-26 01:07:59 +0000

    igc: Restore the watchdog event counter
    
    The MFC of the fatal memory-error recovery dropped watchdog_events from
    the softc.  The driver still increments it, includes it in
    IFCOUNTER_OERRORS, and exports it as the watchdog_timeouts sysctl.
    
    Fixes: ee9bbfca423f ("igc: Recover from fatal internal memory errors")
---
 sys/dev/igc/if_igc.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/dev/igc/if_igc.h b/sys/dev/igc/if_igc.h
index c7ee70b6a15f..c08f377c44af 100644
--- a/sys/dev/igc/if_igc.h
+++ b/sys/dev/igc/if_igc.h
@@ -414,6 +414,7 @@ struct igc_softc {
 	unsigned long	dropped_pkts;
 	unsigned long	link_irq;
 	unsigned long	rx_overruns;
+	unsigned long	watchdog_events;
 
 	u32		fatal_error_state;
 	u32		fatal_error_peind;