Page MenuHomeFreeBSD

ixl: Reset VSI statistics after initial sampling
Needs ReviewPublic

Authored by kbowling on Thu, Sep 3, 10:58 AM.
Tags
None
Referenced Files
F170123007: D59336.id185688.diff
Thu, Sep 3, 2:13 PM
F170117526: D59336.id.diff
Thu, Sep 3, 1:47 PM
F170110503: D59336.diff
Thu, Sep 3, 1:19 PM
Subscribers

Details

Reviewers
kgalazka
Group Reviewers
Intel Networking
Restricted Owners Package(Owns No Changed Paths)
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

Lint
Lint Skipped
Unit
Tests Skipped