Re: [PATCH net-next V2 07/11] net/mlx5e: SHAMPO: Headers page pool stats
From: Jakub Kicinski <kuba@kernel.org>
Date: 2025-06-09 15:20:24
Also in:
bpf, linux-rdma, lkml
From: Jakub Kicinski <kuba@kernel.org>
Date: 2025-06-09 15:20:24
Also in:
bpf, linux-rdma, lkml
On Sun, 8 Jun 2025 13:09:16 +0300 Tariq Toukan wrote:
quoted
quoted
We already expose the stats of the main pool in ethtool. So it will be an inconvenience to keep exposing half of the stats. So either we delete both or keep both. Some of us rely on this for debugWhat is the conclusion here? Do we keep this patch, to have all the stats in the same place? Or do we remove it, and then half of the stats will be accessible through both ethtool and netlink, and the other half only via netlink?
Unfortunately by that logic we would never be able to move away from deprecated APIs.
IIRC, the netlink API shows only the overall/sum, right?
Wrong.
ethtool stats show you per-ring numbers, this is very helpful for system monitoring and perf debug.