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

2015-11-08 Thread Tahhan, Maryam
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Harry van Haaren > Sent: Thursday, November 5, 2015 12:56 PM > To: dev at dpdk.org > Cc: Harry van Haaren > Subject: [dpdk-dev] [PATCH v2] i40e: fix resetting of stats > > This patch fixes a bug where only some o

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

2015-11-05 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(). 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