[dpdk-dev] [PATCH v3] i40e: fix resetting of stats

Thomas Monjalon thomas.monjalon at 6wind.com
Tue Nov 10 17:45:05 CET 2015


2015-11-09 10:22, Harry van Haaren:
> This patch fixes a bug where only some of the statistics were being
> reset when calling rte_eth_stats_reset() or rte_eth_xstats_reset().
> As both the stats reset and xstats reset do the same, refactor away
> the duplicated function.
> 
> This patch marks the VSI to update its offset, causing the stats be
> look like they are reset.
> 
> Fixes: 9aace75fc82e ("i40e: fix statistics")
> 
> Signed-off-by: Harry van Haaren <harry.van.haaren at intel.com>
> Acked-by: Maryam Tahhan <maryam.tahhan at intel.com>

Applied, thanks



More information about the dev mailing list