[RFC PATCH] ethdev: add new API for enable/disable xstat counters by ID
Stephen Hemminger
stephen at networkplumber.org
Tue Dec 24 18:19:02 CET 2024
On Mon, 23 Dec 2024 10:46:59 +0000
Shani Peretz <shperetz at nvidia.com> wrote:
> Sorry if it wasn't clear, in mlx5 there is limited number of counters, so if there are X counters and 2X queues, there won't be enough counters to get statistics for all queues at the same time.
> In this case we thought the best approach would be to allow the user to choose which queues they want statistics from.
> If the counters are exceeded, the user would have the option to disable the counter, thereby freeing up the resource for reuse elsewhere.
>
Ok, other hardware may have same issue.
Why not do it per-queue (not the id stuff).
Kind of related to the existing queue stat counters that need rework.
The ixgbe has similar mapping problem.
Let's solve this once across multiple devices.
More information about the dev
mailing list