net/iavf: fix stats reset
authorQiming Yang <qiming.yang@intel.com>
Mon, 22 Apr 2019 02:18:37 +0000 (10:18 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 3 May 2019 16:45:22 +0000 (18:45 +0200)
commit281bd1aa39721a35c8fafe313a2ef82c2cfaf589
tree68c61e8193d89b8fb79364a15467eaba9b02f3bf
parent0efd46d7955de6a7b5d011fcac51bd42a8e6409b
net/iavf: fix stats reset

stats_reset has been missed when support stats in iavf driver.
This patch add statistics reset function.

Fixes: f4a41a6953af ("net/avf: support stats")
Cc: stable@dpdk.org
Signed-off-by: Qiming Yang <qiming.yang@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/iavf/iavf.h
drivers/net/iavf/iavf_ethdev.c