Skip to content

failsafe: add xstats

Stephen Hemminger dpdk-dev 6 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest2 patches 6 repliesIn review
  2. v40 of 2 patches 0 repliesSuperseded
  3. v32 patches 0 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v2 posting 2/22 patches1 replySuperseded
v2 posting 1/22 patches3 repliesSuperseded
v12 patches0 repliesSuperseded

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ethdev: expose basic xstats for driver uselib/librte_ethdev/rte_ethdev.c lib/librte_ethdev/rte_ethdev_driver.h lib/librte_ethdev/rte_ethdev_version.map+78 -93 replies
2/2net/failsafe: implement xstatsdrivers/net/failsafe/failsafe_ops.c+135 -01 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchGaetan RivetAndrew Rybchenko
1/2A-b A-b
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [dpdk-dev] [PATCH v5 0/2] failsafe: add xstats

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.

v5 - fix ethdev map file
v4 - rebase to 19.11
v3 - rebase to 19.08

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

 drivers/net/failsafe/failsafe_ops.c      | 135 +++++++++++++++++++++++
 lib/librte_ethdev/rte_ethdev.c           |  17 ++-
 lib/librte_ethdev/rte_ethdev_driver.h    |  65 +++++++++++
 lib/librte_ethdev/rte_ethdev_version.map |   5 +
 4 files changed, 213 insertions(+), 9 deletions(-)
Signature · 1 line
2.17.1