git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69986a8
)
net/i40e: support reset stats in VF
author
Wei Zhao
<wei.zhao1@intel.com>
Thu, 21 Sep 2017 06:32:24 +0000
(14:32 +0800)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Fri, 6 Oct 2017 00:49:49 +0000
(
02:49
+0200)
Add stats reset support to VF.
Signed-off-by: Wei Zhao <wei.zhao1@intel.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/net/i40e/i40e_ethdev_vf.c
patch
|
blob
|
history
diff --git
a/drivers/net/i40e/i40e_ethdev_vf.c
b/drivers/net/i40e/i40e_ethdev_vf.c
index
806ff9e
..
13c472f
100644
(file)
--- 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,