[v2,0/2] failsafe: add xstats
mbox series

Message ID 20190626233346.4719-1-stephen@networkplumber.org
Headers show
Series
  • failsafe: add xstats
Related show

Message

Stephen Hemminger June 26, 2019, 11:33 p.m. UTC
A useful feature of netvsc PMD is the ability to see how many packets
were processed through the VF device. This patch set adds a similar
(but more limited) capability to failsafe driver.

Since failsafe doesn't have top level xstats, this set uses the generic
xstats that exist already as a base then adds the sub-device xstats
to that.

v2 - fix checkpatch complaints

Stephen Hemminger (2):
  ethdev: expose basic xstats for driver use
  failsafe: implement xstats

 drivers/net/failsafe/failsafe_ops.c      | 130 +++++++++++++++++++++++
 lib/librte_ethdev/rte_ethdev.c           |  17 ++-
 lib/librte_ethdev/rte_ethdev_core.h      |  14 +++
 lib/librte_ethdev/rte_ethdev_version.map |   3 +
 4 files changed, 155 insertions(+), 9 deletions(-)