[dpdk-dev] [dpdk-stable] [PATCH] net/i40e: fix packet count for PF
Ferruh Yigit
ferruh.yigit at intel.com
Fri Sep 15 14:21:36 CEST 2017
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 at dpdk.org
>
> Signed-off-by: Qi Zhang <qi.z.zhang at intel.com>
Applied to dpdk-next-net/master, thanks.
More information about the dev
mailing list