diff options
| author | Kevin Bowling <kbowling@FreeBSD.org> | 2026-09-03 10:55:36 +0000 |
|---|---|---|
| committer | Kevin Bowling <kbowling@FreeBSD.org> | 2026-09-04 01:50:06 +0000 |
| commit | 429cb537015ea11808de23dac8c1cc7ade3a4552 (patch) | |
| tree | a9df50ff104585d9401efc34d77c7ee62e9019a6 /source/API/SBInstruction.cpp | |
| parent | 48efb6c4eb9febc1c8c50d13a794e9165af71930 (diff) | |
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 <danny@cs.huji.ac.il>
Tested by: Daniel Braniss <danny@cs.huji.ac.il>
Obtained from: Intel ixl 1.14.2
MFC after: 2 weeks
Sponsored by: BBOX.io
Differential Revision: https://reviews.freebsd.org/D59336
Diffstat (limited to 'source/API/SBInstruction.cpp')
0 files changed, 0 insertions, 0 deletions
