From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga101.jf.intel.com with ESMTP; 05 Jun 2015 10:35:23 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,560,1427785200"; d="scan'208";a="582825123" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by orsmga003.jf.intel.com with ESMTP; 05 Jun 2015 10:35:23 -0700 Received: from sivswdev02.ir.intel.com (sivswdev02.ir.intel.com [10.237.217.46]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id t55HZL4U032351; Fri, 5 Jun 2015 18:35:21 +0100 Received: from sivswdev02.ir.intel.com (localhost [127.0.0.1]) by sivswdev02.ir.intel.com with ESMTP id t55HZLVj017200; Fri, 5 Jun 2015 18:35:21 +0100 Received: (from jmcnam2x@localhost) by sivswdev02.ir.intel.com with id t55HZLM1017196; Fri, 5 Jun 2015 18:35:21 +0100 From: Maryam Tahhan To: dev@dpdk.org Date: Fri, 5 Jun 2015 18:35:01 +0100 Message-Id: <1433525705-17041-1-git-send-email-maryam.tahhan@intel.com> X-Mailer: git-send-email 1.7.4.1 Subject: [dpdk-dev] [PATCH 0/4] expose ixgbe extended stats to dpdk apps X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jun 2015 17:35:24 -0000 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