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 A91DB8D86 for ; Tue, 1 Dec 2015 11:43:47 +0100 (CET) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga102.jf.intel.com with ESMTP; 01 Dec 2015 02:43:17 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,368,1444719600"; d="scan'208";a="5404314" Received: from irsmsx102.ger.corp.intel.com ([163.33.3.155]) by fmsmga004.fm.intel.com with ESMTP; 01 Dec 2015 02:43:16 -0800 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.23]) by IRSMSX102.ger.corp.intel.com ([169.254.2.251]) with mapi id 14.03.0248.002; Tue, 1 Dec 2015 10:43:15 +0000 From: "De Lara Guarch, Pablo" To: "Van Haaren, Harry" , "Ananyev, Konstantin" Thread-Topic: [dpdk-dev] [PATCH] ixgbe: fix tx_bytes statistic with link down Thread-Index: AQHRLCK+fj3SV6Aapky1Aq9lsOcCwZ618dDQ Date: Tue, 1 Dec 2015 10:43:15 +0000 Message-ID: References: <1448965540-18953-1-git-send-email-harry.van.haaren@intel.com> In-Reply-To: <1448965540-18953-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-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [PATCH] ixgbe: fix tx_bytes statistic with link down 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, 01 Dec 2015 10:43:48 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Harry van Haaren > Sent: Tuesday, December 01, 2015 10:26 AM > To: Ananyev, Konstantin > Cc: dev@dpdk.org > Subject: [dpdk-dev] [PATCH] ixgbe: fix tx_bytes statistic with link down >=20 > This patch fixes tx byte statistics when transmitting packets > with link down. >=20 > Previously, the counter would decrement 4 bytes for each packet that > was transmitted with link down, causing the uint64 to wrap around. >=20 > Fixes: c03fcee9abbd ("ixgbe: remove CRC size from byte counters") >=20 > Reported-by: Michael Qiu > Signed-off-by: Harry van Haaren Acked-by: Pablo de Lara