numam-dpdk/drivers/net/i40e
Harry van Haaren a4aca79ba4 i40e: fix stats reset
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: 9aace75fc8 ("i40e: fix statistics")

Signed-off-by: Harry van Haaren <harry.van.haaren@intel.com>
Acked-by: Maryam Tahhan <maryam.tahhan@intel.com>
2015-11-11 19:38:47 +01:00
..
base i40e: fix memzone freeing 2015-11-11 19:38:47 +01:00
i40e_ethdev_vf.c ethdev: check queue state before starting or stopping 2015-11-04 17:52:14 +01:00
i40e_ethdev.c i40e: fix stats reset 2015-11-11 19:38:47 +01:00
i40e_ethdev.h i40evf: support Rx interrupt 2015-11-04 15:27:42 +01:00
i40e_fdir.c i40e: fix build with icc 2015 2015-11-11 19:38:11 +01:00
i40e_logs.h drivers: allow pruning log during build 2015-07-30 20:16:04 +02:00
i40e_pf.c i40evf: support Rx interrupt 2015-11-04 15:27:42 +01:00
i40e_pf.h i40e: support port hotplug 2015-07-19 21:22:23 +02:00
i40e_rxtx_vec.c i40e: allow vector Rx and Tx usage 2015-10-30 17:00:37 +01:00
i40e_rxtx.c ethdev: check queue state before starting or stopping 2015-11-04 17:52:14 +01:00
i40e_rxtx.h i40e: fix alignment of HW descriptors number 2015-11-02 00:07:36 +01:00
Makefile i40e: support X722 and its A0 hardware 2015-11-03 11:11:19 +01:00
rte_pmd_i40e_version.map i40e: move to drivers/net/ 2015-05-22 16:06:22 +02:00