net/igb: support xstats by ID
authorKuba Kozak <kubax.kozak@intel.com>
Thu, 27 Apr 2017 14:42:39 +0000 (16:42 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 1 May 2017 21:48:39 +0000 (23:48 +0200)
commit484f8e407a9492ccffc8e4e33331b859a24b30d8
treebc2c10cfe506ef08be5f25feadfc55b4bdc1b259
parent7ac16a3660c0d38a82fb52db086c40d8c1b5ed99
net/igb: support xstats by ID

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

Signed-off-by: Kuba Kozak <kubax.kozak@intel.com>
drivers/net/e1000/igb_ethdev.c