From patchwork Fri Jun 5 17:35:04 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Tahhan, Maryam" X-Patchwork-Id: 5219 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [IPv6:::1]) by dpdk.org (Postfix) with ESMTP id C71D4C372; Fri, 5 Jun 2015 19:35:35 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 1D92CC35E for ; Fri, 5 Jun 2015 19:35:32 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga102.fm.intel.com with ESMTP; 05 Jun 2015 10:35:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,560,1427785200"; d="scan'208";a="706043719" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by orsmga001.jf.intel.com with ESMTP; 05 Jun 2015 10:35:31 -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 t55HZUi6032367; Fri, 5 Jun 2015 18:35:30 +0100 Received: from sivswdev02.ir.intel.com (localhost [127.0.0.1]) by sivswdev02.ir.intel.com with ESMTP id t55HZUmB017224; Fri, 5 Jun 2015 18:35:30 +0100 Received: (from jmcnam2x@localhost) by sivswdev02.ir.intel.com with id t55HZUhn017220; Fri, 5 Jun 2015 18:35:30 +0100 From: Maryam Tahhan To: dev@dpdk.org Date: Fri, 5 Jun 2015 18:35:04 +0100 Message-Id: <1433525705-17041-4-git-send-email-maryam.tahhan@intel.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1433525705-17041-1-git-send-email-maryam.tahhan@intel.com> References: <1433525705-17041-1-git-send-email-maryam.tahhan@intel.com> Subject: [dpdk-dev] [PATCH 3/4] testpmd: extend testpmd to show all extended stats 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Extend testpmd to show additional aggregate extended stats. Signed-off-by: Maryam Tahhan --- app/test-pmd/config.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c index f788ed5..b42d83f 100644 --- a/app/test-pmd/config.c +++ b/app/test-pmd/config.c @@ -153,6 +153,11 @@ nic_stats_display(portid_t port_id) stats.opackets, stats.oerrors, stats.obytes); } + printf(" RX-MAC-errors: %-10"PRIu64" RX-PHY-errors: %-10"PRIu64"\n", + stats.imacerr, stats.iphyerr); + printf(" RX-nombuf: %-10"PRIu64" RX-dropped: %-10"PRIu64"\n", + stats.rx_nombuf, stats.idrop); + /* stats fdir */ if (fdir_conf.mode != RTE_FDIR_MODE_NONE) printf(" Fdirmiss: %-10"PRIu64" Fdirmatch: %-10"PRIu64"\n",