From: Wei Zhao Date: Thu, 21 Sep 2017 06:32:24 +0000 (+0800) Subject: net/i40e: support reset stats in VF X-Git-Tag: spdx-start~1882 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=0e7ba7326f2d8f8e8a6286bbd96e0a361455448b;p=dpdk.git net/i40e: support reset stats in VF Add stats reset support to VF. Signed-off-by: Wei Zhao Reviewed-by: Ferruh Yigit --- diff --git a/drivers/net/i40e/i40e_ethdev_vf.c b/drivers/net/i40e/i40e_ethdev_vf.c index 806ff9e704..13c472fa03 100644 --- a/drivers/net/i40e/i40e_ethdev_vf.c +++ b/drivers/net/i40e/i40e_ethdev_vf.c @@ -198,6 +198,7 @@ static const struct eth_dev_ops i40evf_eth_dev_ops = { .allmulticast_disable = i40evf_dev_allmulticast_disable, .link_update = i40evf_dev_link_update, .stats_get = i40evf_dev_stats_get, + .stats_reset = i40evf_dev_xstats_reset, .xstats_get = i40evf_dev_xstats_get, .xstats_get_names = i40evf_dev_xstats_get_names, .xstats_reset = i40evf_dev_xstats_reset,