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

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