aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/dev_armada/pp2/pp2.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/dev_armada/pp2/pp2.h')
-rw-r--r--src/plugins/dev_armada/pp2/pp2.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/plugins/dev_armada/pp2/pp2.h b/src/plugins/dev_armada/pp2/pp2.h
index 6b12dc737a7..7be3c721bec 100644
--- a/src/plugins/dev_armada/pp2/pp2.h
+++ b/src/plugins/dev_armada/pp2/pp2.h
@@ -68,6 +68,13 @@ typedef struct
vnet_dev_rx_queue_t *rxq;
} mvpp2_rx_trace_t;
+/* counters.c */
+void mvpp2_port_add_counters (vlib_main_t *, vnet_dev_port_t *);
+void mvpp2_port_clear_counters (vlib_main_t *, vnet_dev_port_t *);
+void mvpp2_rxq_clear_counters (vlib_main_t *, vnet_dev_rx_queue_t *);
+void mvpp2_txq_clear_counters (vlib_main_t *, vnet_dev_tx_queue_t *);
+vnet_dev_rv_t mvpp2_port_get_stats (vlib_main_t *, vnet_dev_port_t *);
+
/* format.c */
format_function_t format_pp2_ppio_link_info;
format_function_t format_mvpp2_port_status;