From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 2CBD9C4F0 for ; Wed, 29 Jul 2015 10:48:15 +0200 (CEST) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga101.fm.intel.com with ESMTP; 29 Jul 2015 01:48:14 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,569,1432623600"; d="scan'208";a="615060526" Received: from irsmsx110.ger.corp.intel.com ([163.33.3.25]) by orsmga003.jf.intel.com with ESMTP; 29 Jul 2015 01:48:13 -0700 Received: from irsmsx105.ger.corp.intel.com ([169.254.7.223]) by irsmsx110.ger.corp.intel.com ([169.254.15.29]) with mapi id 14.03.0224.002; Wed, 29 Jul 2015 09:48:12 +0100 From: "Ananyev, Konstantin" To: "Tahhan, Maryam" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v1 1/1] ixgbe: Fix oerrors by setting it to 0 Thread-Index: AQHQyUt4uygdM+8F9ECoEeOeYsvmI53yIlgw Date: Wed, 29 Jul 2015 08:48:12 +0000 Message-ID: <2601191342CEEE43887BDE71AB97725836A69A41@irsmsx105.ger.corp.intel.com> References: <1438097889-151949-1-git-send-email-maryam.tahhan@intel.com> In-Reply-To: <1438097889-151949-1-git-send-email-maryam.tahhan@intel.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v1 1/1] ixgbe: Fix oerrors by setting it to 0 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: Wed, 29 Jul 2015 08:48:15 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Maryam Tahhan > Sent: Tuesday, July 28, 2015 4:38 PM > To: dev@dpdk.org > Subject: [dpdk-dev] [PATCH v1 1/1] ixgbe: Fix oerrors by setting it to 0 >=20 > Fix afebc86be1346136125af8026dc215f81c202c50. oerrors was txdgpc - > hw_stats->gptc, txdgpc is the number of packets DMA'ed by the host > and was being reset on every call to read stats so it could be < gptc. > Because we currently have no way to add txdgpc to struct hw_stats so > that we can maintain a persistent value per port oerrors has now been > set to 0. References to txdgpc is now removed as we don't use it. This > patch also removes rxnfgpc as it's not used anywhere. >=20 Acked-by: Konstantin Ananyev > Signed-off-by: Maryam Tahhan > --- > drivers/net/ixgbe/ixgbe_ethdev.c | 17 +++-------------- > 1 file changed, 3 insertions(+), 14 deletions(-) >=20