From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 08294F94; Fri, 15 Sep 2017 14:21:38 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Sep 2017 05:21:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,396,1500966000"; d="scan'208";a="900573162" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.237.220.57]) ([10.237.220.57]) by FMSMGA003.fm.intel.com with ESMTP; 15 Sep 2017 05:21:36 -0700 To: Qi Zhang , jingjing.wu@intel.com Cc: dev@dpdk.org, stable@dpdk.org References: <20170820200535.25987-1-qi.z.zhang@intel.com> From: Ferruh Yigit Message-ID: <2871f590-8cf5-d5a3-33d8-cb7e1a963519@intel.com> Date: Fri, 15 Sep 2017 13:21:36 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <20170820200535.25987-1-qi.z.zhang@intel.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-stable] [PATCH] net/i40e: fix packet count for PF X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Sep 2017 12:21:39 -0000 On 8/20/2017 9:05 PM, Qi Zhang wrote: > Previously, for PF statistics we use VSI register for packet count > but use port's register for packet bytes, that cause inconsistent > situation of PF statistics when some VF is active, since it will > cover VF's packet bytes but not packet count. > The patch will take port register for PF packet count back, but still > exclude main vsi's discard packet count. > Just like pervious fix, its still not perfect,(since RX packet number > is over counted when there is VF discard packet) but seems it make the > overall better). > > Fixes: 9aace75fc82e ("i40e: fix statistics") > Cc: stable@dpdk.org > > Signed-off-by: Qi Zhang Applied to dpdk-next-net/master, thanks.