> From: Piasecki, JacekX > Sent: Monday, April 3, 2017 1:10 PM > To: [email protected] > Cc: Van Haaren, Harry <[email protected]>; Jastrzebski, MichalX K > <[email protected]>; Piasecki, JacekX > <[email protected]>; Kozak, KubaX > <[email protected]>; Kulasek, TomaszX <[email protected]> > Subject: [PATCH v3 1/3] add new xstats API retrieving by id > > From: Michal Jastrzebski <[email protected]> > > Extended xstats API in ethdev library to allow grouping of stats > logically so they can be retrieved per logical grouping – managed > by the application. > Changed existing functions rte_eth_xstats_get_names and > rte_eth_xstats_get to use a new list of arguments: array of ids > and array of values. ABI versioning mechanism was used to > support backward compatibility. > Introduced two new functions rte_eth_xstats_get_all and > rte_eth_xstats_get_names_all which keeps functionality of the > previous ones (respectively rte_eth_xstats_get and > rte_eth_xstats_get_names) but use new API inside. > Both functions marked as deprecated. > Introduced new function: rte_eth_xstats_get_id_by_name > to retrieve xstats ids by its names. > > test-pmd: add support for new xstats API retrieving by id in > testpmd application: xstats_get() and > xstats_get_names() call with modified parameters. > > proc_info: add support for new xstats API retrieving by id to > proc_info application. There is a new argument --xstats-ids > in proc_info command line to retrieve statistics given by ids. > E.g. --xstats-ids="1,3,5,7,8" > > Signed-off-by: Jacek Piasecki <[email protected]> > Signed-off-by: Kuba Kozak <[email protected]> > Signed-off-by: Tomasz Kulasek <[email protected]> > --- > app/proc_info/main.c | 148 +++++++++++- > app/test-pmd/config.c | 19 +- > lib/librte_ether/Makefile | 2 +- > lib/librte_ether/rte_ethdev.c | 422 > +++++++++++++++++++++++++-------- > lib/librte_ether/rte_ethdev.h | 176 +++++++++++++- > lib/librte_ether/rte_ether_version.map | 12 + > 6 files changed, 646 insertions(+), 133 deletions(-)
I gather this patchset contains various changes at once to avoid breaking compile due to function changes. All 3 of patchset compiled and working with ixgbe, Acked-by: Harry van Haaren <[email protected]>

