From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding :content-type; bh=BhrDYBZRRL4e5BaQ09haxQ6lUxhA1acwo1Fg7eodyYA=; b=Ve513nj+WAsos+dsDjX8uSVGyQNMiPQX1uWaYJBaPSFOLHQIiLehZR/uj5ww+i4SiL FJ9znvpQAnHtFt4e2X2mwk/1+yeLE8l8vdwXQz51lNFOBrb2euj19Gq67mutN5PF5Pw4 F9HOWPFZwLG/ZiQQOvOgkizQMxIr1Pzot12fgr5fhKJjfV4NEXw3Wvz0XKg8qgl241VK UJWvj0eeGquVj4GyVEB7tZfKNmKr5pS8AdLyVFvvTaG/WrtnYkS6Z+M5cLdZ5VrRayaL g/5cZY87S4KaexfEj7mpw8Tuqansmefs7vtvaKLXatKWR0UxRKYrRjFMKv3jPVOERvK0 4ZpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=BhrDYBZRRL4e5BaQ09haxQ6lUxhA1acwo1Fg7eodyYA=; b=hSdAczFBCuRfBPYJhinXXBxAxajQaY3fFxVNNuKjRkdHLUcTkKcQgmsfYS9+mld/Xf eRWyylBYtTAq67vIOlyVTKoY3ee1/1BA1DCN0xWGgGOn0mfY+lqSN3vAMviHCR9sKKKF pQGgZ3zG992ESjgVpH1RteUAZLjVTts+lx9Hi93YnlR7g8WuVhVJ7/7Uvcv8yMc5uxPX gLL4FJDxyWaM8DewQjtkikzA2KKjwhlXO5/vHAZK9R1qMjrISmTaJJhEFcUEyGIyB4/5 3HsdsKIoTKID0DCieHJSpBr5FKVrwv9xgU5JSNb9M5kh4vg/OjGrHzJaXqU8k5v6lisp g9oQ== X-Gm-Message-State: ALoCoQlX5O8rQdDFNl+TdGUzn8ako4dMWtnuVhTn4Rvyekkv+7F8ZzRJq2GWxJ7FP8XV/ejUkUUK X-Received: by 10.28.222.138 with SMTP id v132mr17950239wmg.23.1449437167200; Sun, 06 Dec 2015 13:26:07 -0800 (PST) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by smtp.gmail.com with ESMTPSA id jt9sm22281323wjc.24.2015.12.06.13.26.06 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 06 Dec 2015 13:26:06 -0800 (PST) From: Thomas Monjalon To: "Van Haaren, Harry" Date: Sun, 06 Dec 2015 22:24:55 +0100 Message-ID: <4260899.RcotGiezty@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: References: <1448965540-18953-1-git-send-email-harry.van.haaren@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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: Sun, 06 Dec 2015 21:26:07 -0000 > > 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