[PATCH] net/iavf: fix port stats not cleared

Liao, TingtingX tingtingx.liao at intel.com
Tue Sep 5 10:06:43 CEST 2023


> -----Original Message-----
> From: Yiding Zhou <yidingx.zhou at intel.com>
> Sent: 2023年8月30日 14:55
> To: dev at dpdk.org
> Cc: Zhou, YidingX <yidingx.zhou at intel.com>; stable at dpdk.org; Xu, KuanX <kuanx.xu at intel.com>
> Subject: [PATCH] net/iavf: fix port stats not cleared
>
> Call 'iavf_dev_stats_reset' during the initialization of the VF in order to clear any statistics that may exist from the last use of the VF and to avoid statistics errors.
>
> Fixes: 22b123a36d07 ("net/avf: initialize PMD")
> Cc: stable at dpdk.org
>
> Signed-off-by: Kuan Xu <kuanx.xu at intel.com>
> Signed-off-by: Yiding Zhou <yidingx.zhou at intel.com>
>
Tested-by: Tingting Liao <tingtingx.liao at intel.com>




More information about the stable mailing list