Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ upstream commit 57fc68cf11cf3ec49526d8a8eca98956d5b77989 ] After VF reset, kernel driver may reuse the original VSI without reset its stats. 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: 22b123a ("net/avf: initialize PMD") Signed-off-by: Kuan Xu <kuanx.xu@intel.com> Signed-off-by: Yiding Zhou <yidingx.zhou@intel.com> Acked-by: Qi Zhang <qi.z.zhang@intel.com>
- Loading branch information