[dpdk-dev] [PATCH] ethdev: document xstats API assumption

Van Haaren, Harry harry.van.haaren at intel.com
Tue Jul 3 18:11:54 CEST 2018


> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Ferruh Yigit
> Sent: Thursday, June 28, 2018 3:16 PM
> To: Thomas Monjalon <thomas at monjalon.net>
> Cc: dev at dpdk.org; Yigit, Ferruh <ferruh.yigit at intel.com>; David Marchand
> <david.marchand at 6wind.com>; Olivier Matz <olivier.matz at 6wind.com>; Horton,
> Remy <remy.horton at intel.com>
> Subject: [dpdk-dev] [PATCH] ethdev: document xstats API assumption
> 
> Documents the assumption that 'xstats[i].id == i' and
> key=xstats_names[i].name, value=xstats[i].value
> 
> xstats[i].id is still used for xstats _by_id() APIs.
> 
> This patch reverts some part of the commit 6d52d1d4afb4 ("ethdev:
> clarify extended statistics documentation")
> 
> Signed-off-by: Ferruh Yigit <ferruh.yigit at intel.com>

I'm also in favor of simplifying xstats APIs if possible, given we have a number of PMDs using it, and they all adhere to this simplification;

Acked-by: Harry van Haaren <harry.van.haaren at intel.com>


More information about the dev mailing list