Page MenuHomeFreeBSD

ixl: Tie statistics baselines to hardware resource epochs
ClosedPublic

Authored by kbowling on Thu, Sep 3, 11:00 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Sep 27, 11:27 AM
Unknown Object (File)
Sun, Sep 27, 9:13 AM
Unknown Object (File)
Sun, Sep 27, 2:35 AM
Unknown Object (File)
Sun, Sep 27, 1:11 AM
Unknown Object (File)
Sat, Sep 26, 11:38 PM
Unknown Object (File)
Wed, Sep 23, 6:36 PM
Unknown Object (File)
Mon, Sep 21, 7:26 PM
Unknown Object (File)
Sun, Sep 20, 9:27 PM
Subscribers

Details

Reviewers
kgalazka
Group Reviewers
Intel Networking
Restricted Owners Package(Owns No Changed Paths)
Commits
rG444168adbe52: ixl: Tie statistics baselines to hardware resource epochs
Summary
Raw VSI statistics belong to the firmware-assigned counter index and are
reset when firmware recreates the VSI.  Reusing a baseline across either
event makes a counter decrease look like a full-width rollover.

Reset the PF and main-VSI baselines when rebuilding hardware resources.
Start a new baseline when firmware assigns a different PF counter index
and whenever it allocates a VF VSI.  Ordinary interface reinits which
retain the hardware resources continue to retain their statistics.

This follows the lifecycle used by ice without placing an unconditional
statistics reset in ixl_initialize_vsi(), which also runs during ordinary
iflib initialization.

MFC after:      2 weeks
Sponsored by:   BBOX.io

Diff Detail

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