[EXTERNAL] Re: [PATCH v6 1/1] examples/l2fwd-jobstats: fix timer stats display with lock contention
Stephen Hemminger
stephen at networkplumber.org
Mon Mar 16 16:20:47 CET 2026
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.
More information about the dev
mailing list