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 88E94293B for ; Mon, 6 Feb 2017 14:59:00 +0100 (CET) Received: by mail-wm0-f50.google.com with SMTP id t18so34420243wmt.0 for ; Mon, 06 Feb 2017 05:59:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=z0e7coZglFfSVi+W2F+zuatXTvMBhEHAs2zvUrEksH8=; b=eionQ4R6qQQMPDNx40Y+GiDWQPf+1xs2wq+wGB2byP5nsNxnwSpKX9siypHeQexW6w D01okGs6kdfdhUXSDc+UJkbqTlyRiAExOAzSPc0SzCmYOH1Vfz1nOHT5SemLicZCkCgp YcTrwfZtAd4/4ENPaI4pdY9wUyYYkVhaC3JRmyDaO28ncgzyrPUwwVvgSRvXoUpxWb1U uLXXxZFkceAPm1TKTfUuZwJcKLJbntdz5XOdP6j6ZN7rxVRYlV2RwOISBsF8a/rP//ku 5bNm5GxZmgAEKcXkFx1A0S6vlR4u6glAE/NLlIi7CVRE+RbwA3wrEOU1bKPoK1/BZzz5 BVVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=z0e7coZglFfSVi+W2F+zuatXTvMBhEHAs2zvUrEksH8=; b=p4XJGwg2dGyg5ARmEnfxcUJoXDU1hJvBh6oWbHtGzokWwRxOyH0ZOjP0Xha5qV5KaK kKiuqwIHjXl3YHZpAYObEfJqxN+H2yBda12IDboK7vuTCxMOYk/DX+orMCz9iXIrhNj0 DFk1wAcjwSQLkxgTzO0Eyq2sChh02/h44DoJmex+QWtkxKaL/a614GFkvjNSKVJHPD0F SgdyNrQu8Z6MWNFixjQtBSCx9Ctx8004iXRkCzT5hiRHS4fbdtdr/fLgp8va8mTiOqLA /3XuhCX2GvhcNyLSG2e46oETWq6CbsHSz7nMp2cninD5zxjEHFCMnxuWBrUXgn9siC0o AtEA== X-Gm-Message-State: AIkVDXKLfkYqrYA/+32cTT03bG735rI4MjFdhXYMPgbjugd8ze9x2L17J58N/3VkFMs/SkXv X-Received: by 10.223.164.66 with SMTP id e2mr1042279wra.47.1486389540264; Mon, 06 Feb 2017 05:59:00 -0800 (PST) Received: from platinum (2a01cb0c03c651000226b0fffeed02fc.ipv6.abo.wanadoo.fr. [2a01:cb0c:3c6:5100:226:b0ff:feed:2fc]) by smtp.gmail.com with ESMTPSA id 191sm13074164wmo.21.2017.02.06.05.59.00 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 06 Feb 2017 05:59:00 -0800 (PST) Date: Mon, 6 Feb 2017 14:58:58 +0100 From: Olivier Matz To: dev@dpdk.org, helin.zhang@intel.com, konstantin.ananyev@intel.com Cc: Guo Fengtian , stable@dpdk.org Message-ID: <20170206145858.41447b6e@platinum> In-Reply-To: <1484154254-31387-1-git-send-email-olivier.matz@6wind.com> References: <1484154254-31387-1-git-send-email-olivier.matz@6wind.com> X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH] net/ixgbevf: fix stats update after a PF reset X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Feb 2017 13:59:00 -0000 Hi, On Wed, 11 Jan 2017 18:04:14 +0100, Olivier Matz wrote: > From: Guo Fengtian > > When PF is set down, in VF, the value of stats register is zero. > So only increase stats when it's non zero. > > Fixes: af75078fece3 ("first public release") > > CC: stable@dpdk.org > Signed-off-by: Guo Fengtian > Signed-off-by: Olivier Matz Ping Thanks, Olivier