Page MenuHomeFreeBSD

ixl: Reset VSI statistics after initial sampling
ClosedPublic

Authored by kbowling on Sep 3 2026, 10:58 AM.
Tags
None
Referenced Files
F174571618: D59336.id185787.diff
Sun, Oct 4, 7:06 AM
Unknown Object (File)
Sat, Oct 3, 4:03 AM
Unknown Object (File)
Thu, Oct 1, 3:49 AM
Unknown Object (File)
Sat, Sep 26, 12:46 PM
Unknown Object (File)
Sat, Sep 26, 4:59 AM
Unknown Object (File)
Thu, Sep 24, 7:30 PM
Unknown Object (File)
Wed, Sep 23, 10:48 PM
Unknown Object (File)
Wed, Sep 23, 10:29 AM
Subscribers

Details

Summary
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>
Obtained from:  Intel ixl 1.14.2
MFC after:      2 weeks

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable