Thread (71 messages) 71 messages, 6 authors, 2016-06-20
STALE3670d
Revisions (5)
  1. v1 [diff vs current]
  2. v2 current
  3. v3 [diff vs current]
  4. v4 [diff vs current]
  5. v5 [diff vs current]

[RFC PATCH v2 0/3] Remove string operations from xstats

From: Remy Horton <hidden>
Date: 2016-05-06 11:11:17

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 RFC patchset changes the API
for xstats to use integer identifiers instead of strings and implements
this new API for the ixgbe driver. Others drivers to follow.

--

v2 changes:
* Fetching xstats count now seperate API function
* Added #define constants for some magic numbers
* Fixed bug with virtual function count fetching
* For non-xstats-supporting drivers, queue stats returned
* Some refactoring/cleanups
* Removed index assumption from example


Remy Horton (3):
  rte: change xstats to use integer keys
  drivers/net/ixgbe: change xstats to use integer keys
  examples/ethtool: add xstats display command

 drivers/net/ixgbe/ixgbe_ethdev.c      |  98 ++++++++++++++++++++++++++++-----
 examples/ethtool/ethtool-app/ethapp.c |  57 +++++++++++++++++++
 lib/librte_ether/rte_ethdev.c         | 100 +++++++++++++++++++++++++++++-----
 lib/librte_ether/rte_ethdev.h         |  55 +++++++++++++++++++
 4 files changed, 284 insertions(+), 26 deletions(-)

-- 
2.5.5
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help