diff options
| author | Kevin Bowling <kbowling@FreeBSD.org> | 2026-09-03 10:58:30 +0000 |
|---|---|---|
| committer | Kevin Bowling <kbowling@FreeBSD.org> | 2026-09-17 05:58:31 +0000 |
| commit | 444168adbe5217ea9b73773e42c60bf75fb7a6fd (patch) | |
| tree | 0663d4464257f4b0f7aaa1487fa83a1974a60a5a /test/libcxx/(public-mirror) | |
| parent | 5abfd8fe4d1adb74863231f27a9958cf176e3ded (diff) | |
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
Differential Revision: https://reviews.freebsd.org/D59337
Diffstat (limited to 'test/libcxx/(public-mirror)')
0 files changed, 0 insertions, 0 deletions
