Skip to contentSkip to conversation

net/i40e: add support of reset stats in vf port

PATCH Superseded Wei Zhao 1 participant 1 message Aug 29, 2017 Network drivers

v1 of 8 Superseded Latest is v8 →

lore
Share & tools
lore

Wei Zhao

author
#0 lore raw

PATCH 2/2 net/i40e: add support of reset stats in vf port

Add a new support of reset stats statics in vf port.

---
 drivers/net/i40e/i40e_ethdev_vf.c | 1 +
 1 file changed, 1 insertion(+)
drivers/net/i40e/i40e_ethdev_vf.c +1 -0
index cded04a..fd6b2d7 100644
@@ -199,6 +199,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,
Signature · 1 line
2.9.3