[dpdk-dev] [PATCH 0/4] expose ixgbe extended stats to dpdk apps

Maryam Tahhan maryam.tahhan at intel.com
Fri Jun 5 19:35:01 CEST 2015


This patch implements xstats_get() and xstats_reset() in dev_ops for ixgbe to
expose detailed error statistics to DPDK applications.

The dump_cfg application is extended to demonstrate the usage of retrieving
statistics for DPDK interfaces and renamed to proc_info in order reflect this
new functionality.

The testpmd app was also extended to display additional statistics.

Maryam Tahhan (4):
  ixgbe: expose extended error statistics
  ethdev: expose extended error stats
  testpmd: extend testpmd to show all extended stats
  app: replace dump_cfg with proc_info

 app/Makefile                     |   2 +-
 app/dump_cfg/Makefile            |  45 ----
 app/dump_cfg/main.c              |  92 -------
 app/proc_info/Makefile           |  45 ++++
 app/proc_info/main.c             | 525 +++++++++++++++++++++++++++++++++++++++
 app/test-pmd/config.c            |   5 +
 drivers/net/ixgbe/ixgbe_ethdev.c | 160 ++++++++++--
 lib/librte_ether/rte_ethdev.c    |  12 +-
 lib/librte_ether/rte_ethdev.h    |   4 +
 mk/rte.sdktest.mk                |   4 +-
 10 files changed, 728 insertions(+), 166 deletions(-)
 delete mode 100644 app/dump_cfg/Makefile
 delete mode 100644 app/dump_cfg/main.c
 create mode 100644 app/proc_info/Makefile
 create mode 100644 app/proc_info/main.c

-- 
1.8.1.4



More information about the dev mailing list