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 was extended to demonstrate the usage of retrieving statistics for DPDK interfaces and renamed to proc_info in order reflect this new functionality. test_pmd was also extended to display additional statistics.
Maryam Tahhan (7): ethdev: add additional error stats ixgbe: move stats register reads to a new function ixgbe: Expose extended error statistics ethdev: expose extended error stats testpmd: extend testpmd to show all extended stats app: remove dump_cfg app: add a new app proc_info MAINTAINERS | 4 + app/Makefile | 2 +- app/dump_cfg/Makefile | 45 ---- app/dump_cfg/main.c | 92 ------- app/proc_info/Makefile | 45 ++++ app/proc_info/main.c | 514 +++++++++++++++++++++++++++++++++++++++ app/test-pmd/config.c | 5 + drivers/net/ixgbe/ixgbe_ethdev.c | 161 ++++++++++-- lib/librte_ether/rte_ethdev.c | 11 +- lib/librte_ether/rte_ethdev.h | 4 + mk/rte.sdktest.mk | 4 +- 11 files changed, 722 insertions(+), 165 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.9.3