summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorHarry van Haaren <harry.van.haaren@intel.com>2015-11-09 10:22:22 +0000
committerThomas Monjalon <thomas.monjalon@6wind.com>2015-11-11 19:38:47 +0100
commita4aca79ba4d866627383efa5967a4540a67ccffa (patch)
tree6bae68281d584d82d6989b267f827addca3398d1 /app
parent3f50f072ff064ead4d7678005df6ebc6bd2b1275 (diff)
downloaddpdk-a4aca79ba4d866627383efa5967a4540a67ccffa.zip
dpdk-a4aca79ba4d866627383efa5967a4540a67ccffa.tar.gz
dpdk-a4aca79ba4d866627383efa5967a4540a67ccffa.tar.xz
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: 9aace75fc82e ("i40e: fix statistics") Signed-off-by: Harry van Haaren <harry.van.haaren@intel.com> Acked-by: Maryam Tahhan <maryam.tahhan@intel.com>
Diffstat (limited to 'app')
0 files changed, 0 insertions, 0 deletions