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

2015-11-10 Thread Thomas Monjalon
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

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

2015-11-09 Thread 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 l

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

2015-11-09 Thread 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 l