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 0A0C6C3F4 for ; Fri, 23 Oct 2015 04:32:21 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP; 22 Oct 2015 19:32:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,185,1444719600"; d="scan'208";a="833090190" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by orsmga002.jf.intel.com with ESMTP; 22 Oct 2015 19:32:00 -0700 Received: from FMSMSX109.amr.corp.intel.com (10.18.116.9) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 22 Oct 2015 19:31:59 -0700 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by fmsmsx109.amr.corp.intel.com (10.18.116.9) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 22 Oct 2015 19:31:59 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.253]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.194]) with mapi id 14.03.0248.002; Fri, 23 Oct 2015 10:31:51 +0800 From: "Lu, Wenzhuo" To: "Van Haaren, Harry" , "dev@dpdk.org" Thread-Topic: [PATCH] e1000: fix rx/tx total byte statistics Thread-Index: AQHRDNzsSrBrudX0dU2GLv5QAHbazZ54XBKQ Date: Fri, 23 Oct 2015 02:31:51 +0000 Message-ID: <6A0DE07E22DDAD4C9103DF62FEBC0909020A1F96@shsmsx102.ccr.corp.intel.com> References: <1445527084-29535-1-git-send-email-harry.van.haaren@intel.com> In-Reply-To: <1445527084-29535-1-git-send-email-harry.van.haaren@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsIiwiaWQiOiI5ODBhOTU5MS02NWMwLTQ0MjUtOTc0Zi1mYmU2ZGQ5NDI3NTIiLCJwcm9wcyI6W3sibiI6IkludGVsRGF0YUNsYXNzaWZpY2F0aW9uIiwidmFscyI6W3sidmFsdWUiOiJDVFBfUFVCTElDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjQuMTAuMTkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiV1A3aDZ4QWRLWW9XYVFCMGVmcEV2a0ZkU3BDV3VObGkrNVB3VU5YK0dQMD0ifQ== x-inteldataclassification: CTP_PUBLIC 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] e1000: fix rx/tx total byte statistics 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: Fri, 23 Oct 2015 02:32:22 -0000 Hi, > -----Original Message----- > From: Van Haaren, Harry > Sent: Thursday, October 22, 2015 11:18 PM > To: dev@dpdk.org > Cc: Lu, Wenzhuo; Van Haaren, Harry > Subject: [PATCH] e1000: fix rx/tx total byte statistics >=20 > This patch fixes a bug in reading the 64 bit register reading which was > causing the total octets counters to show zero. > Now the code reads both the lower and higher 32 bits. > Tested in testpmd, byte values are correct. >=20 > Fixes: 805803445a02 ("e1000: support EM devices (also known as > e1000/e1000e)") >=20 > Signed-off-by: Harry van Haaren Acked-by: Wenzhuo Lu