net/e1000: support xstats by ID
authorJacek Piasecki <jacekx.piasecki@intel.com>
Thu, 13 Apr 2017 14:59:27 +0000 (16:59 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 20 Apr 2017 20:30:26 +0000 (22:30 +0200)
commit25e38f09af9c58cce6b23cff54529158825ecaa5
tree54688165339215e82eed45517bb8dc1c281ad57b
parent1223608adb9bab11c5a03107d868daa2ac6f90fb
net/e1000: 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_ids() which retrieve
values of statistics specified by ids array
and eth_igb_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/e1000/igb_ethdev.c