From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] ixgbe: fix tx_bytes statistic with link down Date: Sun, 06 Dec 2015 22:24:55 +0100 Message-ID: <4260899.RcotGiezty@xps13> References: <1448965540-18953-1-git-send-email-harry.van.haaren@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: "Van Haaren, Harry" Return-path: Received: from mail-wm0-f50.google.com (mail-wm0-f50.google.com [74.125.82.50]) by dpdk.org (Postfix) with ESMTP id 56532935C for ; Sun, 6 Dec 2015 22:26:07 +0100 (CET) Received: by wmec201 with SMTP id c201so127756893wme.1 for ; Sun, 06 Dec 2015 13:26:07 -0800 (PST) In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > > This patch fixes tx byte statistics when transmitting packets > > with link down. > > > > Previously, the counter would decrement 4 bytes for each packet that > > was transmitted with link down, causing the uint64 to wrap around. > > > > Fixes: c03fcee9abbd ("ixgbe: remove CRC size from byte counters") > > > > Reported-by: Michael Qiu > > Signed-off-by: Harry van Haaren > > Acked-by: Pablo de Lara Applied, thanks