From: Ferruh Yigit Subject: Re: [dpdk-stable] [PATCH] net/i40e: fix packet count for PF Date: Fri, 15 Sep 2017 13:21:36 +0100 Message-ID: <2871f590-8cf5-d5a3-33d8-cb7e1a963519@intel.com> References: <20170820200535.25987-1-qi.z.zhang@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org, stable@dpdk.org To: Qi Zhang , jingjing.wu@intel.com Return-path: In-Reply-To: <20170820200535.25987-1-qi.z.zhang@intel.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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.