net/igb: fetch extended statistics with integer ids
authorRemy Horton <remy.horton@intel.com>
Wed, 15 Jun 2016 15:25:29 +0000 (16:25 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 16 Jun 2016 15:56:44 +0000 (17:56 +0200)
commit9451aaf60e3487538606bf843c3ff27e93109a56
tree765a3fc42c8eb3ef4700f9715f5755a76930d3ef
parente3f3a0ab179e1d24cd3b4f3b28d95597ebf8d966
net/igb: 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 e1000 driver
to use the new API that seperates name string and value queries.

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