net/ixgbe: support xstats by ID
authorJacek Piasecki <jacekx.piasecki@intel.com>
Thu, 13 Apr 2017 14:59:28 +0000 (16:59 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 20 Apr 2017 20:30:26 +0000 (22:30 +0200)
commit923419333f5af7af3124318e4f1c511305a9fc80
treed0c62f4c530dcc6a0bca733d5753779ad8c4ecd1
parent25e38f09af9c58cce6b23cff54529158825ecaa5
net/ixgbe: support xstats by ID

To achieve functionality of retrieving only specific statistics
given by application there are two new functions added:
ixgbe_dev_xstats_get_by_ids() which retrieve
values of statistics specified by ids array
and ixgbe_dev_xstats_get_names_by_ids() which retrieve
names of statistics specified by ids array.

Signed-off-by: Jacek Piasecki <jacekx.piasecki@intel.com>
Signed-off-by: Kuba Kozak <kubax.kozak@intel.com>
Acked-by: Harry van Haaren <harry.van.haaren@intel.com>
drivers/net/ixgbe/ixgbe_ethdev.c