From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maryam Tahhan Subject: [PATCH 0/4] expose ixgbe extended stats to dpdk apps Date: Fri, 5 Jun 2015 18:35:01 +0100 Message-ID: <1433525705-17041-1-git-send-email-maryam.tahhan@intel.com> To: dev@dpdk.org Return-path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 6DE76C33A for ; Fri, 5 Jun 2015 19:35:24 +0200 (CEST) List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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