Thread (14 messages) flat view 14 messages, 3 authors, 2026-03-06

Re: [net-next 1/3] psp: Support resetting statistics on a device

From: Akhilesh Samineni <hidden>
Date: 2026-03-06 15:54:15
Also in: lkml

On Thu, Mar 5, 2026 at 8:29 PM Jakub Kicinski [off-list ref] wrote:
On Thu, 5 Mar 2026 16:24:05 +0530 Akhilesh Samineni wrote:
quoted
The PSP supports dynamic administrative states, allowing it to be
enabled or disabled during runtime. Currently, statistics are
persistent across these state transitions, which can lead to baseline
drift and complicate telemetry analysis.
Baseline drift? What _concrete_ use case do you actually have in mind?
Do you know of other stats that get reset when something is disabled
in networking?
This can be useful in scenarios such as when the device configuration
changes between different versions or algorithms, or when the PSP
device is reassigned between tenants/VMs in a multi-tenant
environment. In such cases, having a dedicated control to reset the
counters allows users to start monitoring statistics from a clean
state.

That said, if the common practice in netdev is to avoid providing
explicit reset functionality for such statistics, we are fine with
aligning with that convention and not introducing a deviation.

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help