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 0AAA4C4F4 for ; Wed, 29 Jul 2015 04:19:41 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga101.fm.intel.com with ESMTP; 28 Jul 2015 19:19:40 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,568,1432623600"; d="scan'208";a="773221655" Received: from pgsmsx107.gar.corp.intel.com ([10.221.44.105]) by orsmga002.jf.intel.com with ESMTP; 28 Jul 2015 19:19:40 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by PGSMSX107.gar.corp.intel.com (10.221.44.105) with Microsoft SMTP Server (TLS) id 14.3.224.2; Wed, 29 Jul 2015 10:19:39 +0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.126]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.188]) with mapi id 14.03.0224.002; Wed, 29 Jul 2015 10:19:37 +0800 From: "Lu, Wenzhuo" To: "Tahhan, Maryam" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v1 1/1] ixgbe: Fix oerrors by setting it to 0 Thread-Index: AQHQyUt7aPzCogkijkSw39K4EBY9cZ3xt1PA Date: Wed, 29 Jul 2015 02:19:37 +0000 Message-ID: <6A0DE07E22DDAD4C9103DF62FEBC0909D18CA2@shsmsx102.ccr.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-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] 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 02:19:42 -0000 Hi, > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Maryam Tahhan > Sent: Tuesday, July 28, 2015 11: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 wa= s > 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 > Signed-off-by: Maryam Tahhan Acked-by: Wenzhuo Lu