app/proc-info: support xstats by ID
authorKuba Kozak <kubax.kozak@intel.com>
Thu, 13 Apr 2017 14:59:26 +0000 (16:59 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 20 Apr 2017 20:30:26 +0000 (22:30 +0200)
commit1223608adb9bab11c5a03107d868daa2ac6f90fb
tree64815cca9c3022331ccb867bc76d085a8cb1b127
parenta954495245c4f9054bf5ed7ab64b555e2e102c19
app/proc-info: support xstats by ID

There is a new argument --xstats-ids and --xstats-name
in proc_info command line to retrieve statistics given by ids
and by name.
E.g. --xstats-ids="1,3,5,7,8"
E.g. --xstats-name rx_errors

ethdev: mark functions as deprecated

Functions rte_eth_xstats_get_all and rte_eth_xstats_get_names_all
are marked as deprecated

Signed-off-by: Kuba Kozak <kubax.kozak@intel.com>
Acked-by: Harry van Haaren <harry.van.haaren@intel.com>
app/proc_info/main.c
lib/librte_ether/rte_ethdev.c
lib/librte_ether/rte_ethdev.h