From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 354B9378E for ; Tue, 20 Oct 2015 11:24:01 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga103.jf.intel.com with ESMTP; 20 Oct 2015 02:24:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,706,1437462000"; d="scan'208";a="830715693" Received: from sie-lab-212-222.ir.intel.com (HELO silpixa00366884.ir.intel.com) ([10.237.212.222]) by orsmga002.jf.intel.com with ESMTP; 20 Oct 2015 02:23:23 -0700 From: Harry van Haaren To: dev@dpdk.org Date: Tue, 20 Oct 2015 10:23:19 +0100 Message-Id: <1445332999-21774-1-git-send-email-harry.van.haaren@intel.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1444842744-14658-1-git-send-email-harry.van.haaren@intel.com> References: <1444842744-14658-1-git-send-email-harry.van.haaren@intel.com> Subject: [dpdk-dev] [PATCH v3] ixgbe: remove rx jabber from 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: Tue, 20 Oct 2015 09:24:01 -0000 Remove receive jabber count (rjc) from ierrors count as the register overlaps with the CRC error register, previously causing some packets to be counted twice. Signed-off-by: Harry van Haaren --- v3: Add details about register overlap v2: Fix typo drivers/net/ixgbe/ixgbe_ethdev.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c index ec2918c..6e20e06 100644 --- a/drivers/net/ixgbe/ixgbe_ethdev.c +++ b/drivers/net/ixgbe/ixgbe_ethdev.c @@ -2206,7 +2206,6 @@ ixgbe_dev_stats_get(struct rte_eth_dev *dev, struct rte_eth_stats *stats) hw_stats->mlfc + hw_stats->mrfc + hw_stats->rfc + - hw_stats->rjc + hw_stats->fccrc + hw_stats->fclast; -- 1.9.1