From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v3] i40e: fix resetting of stats Date: Tue, 10 Nov 2015 17:45:05 +0100 Message-ID: <3119098.nqKo9ItbS0@xps13> References: <1447063990-1021-1-git-send-email-harry.van.haaren@intel.com> <1447064542-12078-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: Harry van Haaren Return-path: Received: from mail-wm0-f47.google.com (mail-wm0-f47.google.com [74.125.82.47]) by dpdk.org (Postfix) with ESMTP id B01602E83 for ; Tue, 10 Nov 2015 17:46:18 +0100 (CET) Received: by wmww144 with SMTP id w144so8697846wmw.0 for ; Tue, 10 Nov 2015 08:46:18 -0800 (PST) In-Reply-To: <1447064542-12078-1-git-send-email-harry.van.haaren@intel.com> 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" 2015-11-09 10:22, Harry van Haaren: > This patch fixes a bug where only some of the statistics were being > reset when calling rte_eth_stats_reset() or rte_eth_xstats_reset(). > As both the stats reset and xstats reset do the same, refactor away > the duplicated function. > > This patch marks the VSI to update its offset, causing the stats be > look like they are reset. > > Fixes: 9aace75fc82e ("i40e: fix statistics") > > Signed-off-by: Harry van Haaren > Acked-by: Maryam Tahhan Applied, thanks