> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Ferruh Yigit > Sent: Thursday, June 28, 2018 3:16 PM > To: Thomas Monjalon <tho...@monjalon.net> > Cc: dev@dpdk.org; Yigit, Ferruh <ferruh.yi...@intel.com>; David Marchand > <david.march...@6wind.com>; Olivier Matz <olivier.m...@6wind.com>; Horton, > Remy <remy.hor...@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.yi...@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.haa...@intel.com>