net/ixgbe: fetch extended statistics with integer ids
authorRemy Horton <remy.horton@intel.com>
Wed, 15 Jun 2016 15:25:28 +0000 (16:25 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 16 Jun 2016 15:42:28 +0000 (17:42 +0200)
commite3f3a0ab179e1d24cd3b4f3b28d95597ebf8d966
tree2ced4f080fd1b8a4cc65ea437504d142c1e5a149
parentbd6aa172cf35046e197b3a42a79069d4da15813a
net/ixgbe: fetch extended statistics with integer ids

The current extended ethernet statistics fetching involve doing several
string operations, which causes performance issues if there are lots of
statistics and/or network interfaces. This patch changes the ixgbe driver
to use the new API that seperates name string and value queries.

Signed-off-by: Remy Horton <remy.horton@intel.com>
drivers/net/ixgbe/ixgbe_ethdev.c