[EXTERNAL] Re: [PATCH v6 1/1] examples/l2fwd-jobstats: fix timer stats display with lock contention
Thomas Monjalon
thomas at monjalon.net
Tue Mar 17 17:39:02 CET 2026
16/03/2026 16:20, Stephen Hemminger:
> On Mon, 16 Mar 2026 13:36:30 +0000
> Rakesh Kudurumalla <rkudurumalla at marvell.com> wrote:
>
> > Hi @Stephen Hemminger,
> >
> > Yes, you're correct that the architecture looks unusual. But since the primary goal here is to stress-test the stats/timer subsystem under contention rather than packet forwarding, I believe the current structure serves its purpose well.
>
>
> But it also exposes lots of issues. I would argue that if it is a stress test it should be in tests/
> not examples. Examples are intended as guidance for how users should use the API.
>
> This is not the example that we should guide users towards.
I agree.
It could be discussed in the techboard.
More information about the dev
mailing list