[PATCH v3 3/7] ethdev: remove queue stats from ethdev stats structure

Stephen Hemminger stephen at networkplumber.org
Tue Oct 21 18:53:16 CEST 2025


On Fri,  3 Oct 2025 12:01:57 +0100
Bruce Richardson <bruce.richardson at intel.com> wrote:

> The queue stats part of the rte_eth_stats structure has been deprecated
> for many years now, since 2020 [1]. Therefore we look to remove these
> fields from the stats structure.
> 
> Unfortunately, the flag introduced by the deprecation,
> "RTE_ETH_DEV_AUTOFILL_QUEUE_XSTATS", means that for drivers using it we
> still have to return queue stats from the driver stats_get function.
> This means that we need a new parameter for those stats as part of the
> stats_get interface. The autofill flag is set for 35 drivers, which
> means that if we didn't do so, users of those 35 drivers would lose all
> ability to get per-queue stats.
> 
> [1] Commit a72cb3e7656a ("doc: announce queue stats moving to xstats")
> 	https://github.com/DPDK/dpdk/commit/a72cb3e
> 
> Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
> ---

This patch needs to be merged with next patch because each commit
must build cleanly. Committing something that doesn't build will break
future bisection.


More information about the dev mailing list