* [PATCH v2 2/2] net/i40e: add support of reset stats in vf port
@ 2017-08-29 2:26 Wei Zhao
0 siblings, 0 replies; 2+ messages in thread
From: Wei Zhao @ 2017-08-29 2:26 UTC (permalink / raw)
To: dev; +Cc: root, Wei Zhao
From: root <root@dpdk2.bj.intel.com>
Add a new support of reset stats statics in vf port.
Signed-off-by: Wei Zhao <wei.zhao1@intel.com>
---
drivers/net/i40e/i40e_ethdev_vf.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/i40e/i40e_ethdev_vf.c b/drivers/net/i40e/i40e_ethdev_vf.c
index d7a9c03..3944443 100644
--- a/drivers/net/i40e/i40e_ethdev_vf.c
+++ b/drivers/net/i40e/i40e_ethdev_vf.c
@@ -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,
--
2.9.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH v2 2/2] net/i40e: add support of reset stats in vf port
@ 2017-08-29 2:28 Wei Zhao
0 siblings, 0 replies; 2+ messages in thread
From: Wei Zhao @ 2017-08-29 2:28 UTC (permalink / raw)
To: dev; +Cc: Wei Zhao
Add a new support of reset stats statics in vf port.
Signed-off-by: Wei Zhao <wei.zhao1@intel.com>
---
drivers/net/i40e/i40e_ethdev_vf.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/i40e/i40e_ethdev_vf.c b/drivers/net/i40e/i40e_ethdev_vf.c
index d7a9c03..3944443 100644
--- a/drivers/net/i40e/i40e_ethdev_vf.c
+++ b/drivers/net/i40e/i40e_ethdev_vf.c
@@ -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,
--
2.9.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-08-29 2:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-29 2:26 [PATCH v2 2/2] net/i40e: add support of reset stats in vf port Wei Zhao
2017-08-29 2:28 Wei Zhao
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.