ethdev: remove name from extended statistic fetch
authorRemy Horton <remy.horton@intel.com>
Wed, 15 Jun 2016 15:25:33 +0000 (16:25 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 16 Jun 2016 16:12:00 +0000 (18:12 +0200)
commite2aae1c1ced9c10bdbffdb341258a4a55b43ec82
tree81f3aea4df376d3a56a70bc009eb648948563817
parentbaf91c395b18b8bc5ddbda6326354c7436d90330
ethdev: remove name from extended statistic fetch

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 test-pmd
and proc_info applications to use the new xstats API, and removes
deprecated code associated with the old API.

Signed-off-by: Remy Horton <remy.horton@intel.com>
12 files changed:
app/proc_info/main.c
app/test-pmd/config.c
doc/guides/rel_notes/deprecation.rst
doc/guides/rel_notes/release_16_07.rst
drivers/net/e1000/igb_ethdev.c
drivers/net/fm10k/fm10k_ethdev.c
drivers/net/i40e/i40e_ethdev.c
drivers/net/i40e/i40e_ethdev_vf.c
drivers/net/ixgbe/ixgbe_ethdev.c
drivers/net/virtio/virtio_ethdev.c
lib/librte_ether/rte_ethdev.c
lib/librte_ether/rte_ethdev.h