summaryrefslogtreecommitdiffstats
path: root/src/plugins/avf/avf.h
diff options
context:
space:
mode:
authorFilip Tehlar <ftehlar@cisco.com>2019-06-20 23:53:43 +0000
committerNeale Ranns <nranns@cisco.com>2019-06-25 09:40:46 +0000
commitc036c93bdf240541ec436877f8614c82c5b49b8b (patch)
treeabc145a51bab39682be3a65a4356136a95ad64a3 /src/plugins/avf/avf.h
parentece2ae0fa27a11d25fff6ea27263d5c5ba5c9dbc (diff)
avf: fix clear hw stats
AVF plugin is missing a handler for clearing stats. This patch will implement it. Ticket: VPP-1701 Type: fix Change-Id: If4b4354da442065896bb001deda23f64ddc18fb4 Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'src/plugins/avf/avf.h')
-rw-r--r--src/plugins/avf/avf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/avf/avf.h b/src/plugins/avf/avf.h
index 2efdfcd4823..4994074fdfb 100644
--- a/src/plugins/avf/avf.h
+++ b/src/plugins/avf/avf.h
@@ -180,6 +180,7 @@ typedef struct
/* stats */
virtchnl_eth_stats_t eth_stats;
+ virtchnl_eth_stats_t last_cleared_eth_stats;
/* error */
clib_error_t *error;