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: sta...@dpdk.org > > Signed-off-by: Qi Zhang <qi.z.zh...@intel.com>
Applied to dpdk-next-net/master, thanks.