net/ixgbe: support xstats by ID
authorKuba Kozak <kubax.kozak@intel.com>
Thu, 27 Apr 2017 14:42:40 +0000 (16:42 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 1 May 2017 21:48:39 +0000 (23:48 +0200)
commitfca82a8accf9e62c07d00b1376717d4eb58f6798
treed0c1590ab5c8aaee954f5db4111bc2b3439dc7f8
parent484f8e407a9492ccffc8e4e33331b859a24b30d8
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: Kuba Kozak <kubax.kozak@intel.com>
drivers/net/ixgbe/ixgbe_ethdev.c