From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 7BE40C3CE for ; Sun, 5 Jul 2015 19:40:17 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP; 05 Jul 2015 10:40:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,410,1432623600"; d="scan'208";a="758773037" Received: from sie-lab-212-170.ir.intel.com (HELO silpixa00378251.ir.intel.com) ([10.237.212.170]) by orsmga002.jf.intel.com with ESMTP; 05 Jul 2015 10:40:16 -0700 From: Maryam Tahhan To: dev@dpdk.org Date: Sun, 5 Jul 2015 18:39:58 +0100 Message-Id: <1436118000-132275-7-git-send-email-maryam.tahhan@intel.com> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1436118000-132275-1-git-send-email-maryam.tahhan@intel.com> References: <1436118000-132275-1-git-send-email-maryam.tahhan@intel.com> Subject: [dpdk-dev] [PATCH v4 6/8] ixgbe: return more errors in ierrors 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: Sun, 05 Jul 2015 17:40:17 -0000 ierrors only included a base set of error statistics, this patch adds additional error registers to ierrors. Signed-off-by: Maryam Tahhan --- drivers/net/ixgbe/ixgbe_ethdev.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c index 6b1f32f..05371ec 100644 --- a/drivers/net/ixgbe/ixgbe_ethdev.c +++ b/drivers/net/ixgbe/ixgbe_ethdev.c @@ -1989,7 +1989,16 @@ ixgbe_dev_stats_get(struct rte_eth_dev *dev, struct rte_eth_stats *stats) hw_stats->ruc + hw_stats->roc + total_missed_rx + - hw_stats->illerrc + hw_stats->errbc; + hw_stats->illerrc + + hw_stats->errbc + + hw_stats->xec + + hw_stats->mlfc + + hw_stats->mrfc + + hw_stats->rfc + + hw_stats->rjc + + hw_stats->fccrc + + hw_stats->fclast + + (rxnfgpc - hw_stats->gprc); /* PHY Errors*/ /* Tx Errors */ /*txdgpc: packets that are DMA'ed*/ -- 1.9.3