The branch main has been updated by kbowling: URL: https://cgit.FreeBSD.org/src/commit/?id=429cb537015ea11808de23dac8c1cc7ade3a4552
commit 429cb537015ea11808de23dac8c1cc7ade3a4552 Author: Kevin Bowling <[email protected]> AuthorDate: 2026-09-03 10:55:36 +0000 Commit: Kevin Bowling <[email protected]> CommitDate: 2026-09-04 01:50:06 +0000 ixl: Reset VSI statistics after initial sampling The initial statistics update runs before the PF VSI has obtained its firmware-assigned statistics counter index. Discard that provisional VSI baseline so the first update after initialization records the correct hardware counter. Without this reset, subtracting a larger provisional value from a newly selected counter can be mistaken for a 32-bit wrap and report nearly UINT32_MAX receive drops immediately after boot. Reported by: Daniel Braniss <[email protected]> Tested by: Daniel Braniss <[email protected]> Obtained from: Intel ixl 1.14.2 MFC after: 2 weeks Sponsored by: BBOX.io Differential Revision: https://reviews.freebsd.org/D59336 --- sys/dev/ixl/if_ixl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/dev/ixl/if_ixl.c b/sys/dev/ixl/if_ixl.c index 2bddcc605869..cfd673430e50 100644 --- a/sys/dev/ixl/if_ixl.c +++ b/sys/dev/ixl/if_ixl.c @@ -796,6 +796,7 @@ ixl_if_attach_post(if_ctx_t ctx) ixl_pf_reset_stats(pf); ixl_update_stats_counters(pf); ixl_add_hw_stats(pf); + ixl_vsi_reset_stats(vsi); /* * Driver may have been reloaded. Ensure that the link state
