Page MenuHomeFreeBSD

ixl: Tie statistics baselines to hardware resource epochs
Needs ReviewPublic

Authored by kbowling on Thu, Sep 3, 11:00 AM.
Tags
None
Referenced Files
F170699406: D59337.id185689.diff
Sun, Sep 6, 2:23 AM
F170698129: D59337.diff
Sun, Sep 6, 2:14 AM
F170688423: D59337.id185690.diff
Sun, Sep 6, 1:06 AM
F170628497: D59337.diff
Sat, Sep 5, 5:23 PM
F170599387: D59337.id.diff
Sat, Sep 5, 2:17 PM
F170594982: D59337.diff
Sat, Sep 5, 1:49 PM
F170591090: D59337.id.diff
Sat, Sep 5, 1:25 PM
Unknown Object (File)
Sat, Sep 5, 7:25 AM
Subscribers

Details

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