aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/memif
diff options
context:
space:
mode:
authorOle Troan <ot@cisco.com>2021-05-06 14:09:50 +0200
committerDamjan Marion <dmarion@me.com>2021-05-06 14:19:55 +0000
commit2c4acdd8d47a14867d9658debc674323efc78323 (patch)
tree4685a71f7939e7297219181901a70b11d4d15928 /src/plugins/memif
parenta606d92107d4bf0107c3f54e2c87d39311f82075 (diff)
vlib: rename vl_counter_t to vlib_error_desc_t
Type: improvement Signed-off-by: Ole Troan <ot@cisco.com> Change-Id: I368b0410db2d633d3c52199c840e24d21952c1b4
Diffstat (limited to 'src/plugins/memif')
-rw-r--r--src/plugins/memif/device.c2
-rw-r--r--src/plugins/memif/node.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/memif/device.c b/src/plugins/memif/device.c
index 872660396d0..d6d4ae3780b 100644
--- a/src/plugins/memif/device.c
+++ b/src/plugins/memif/device.c
@@ -40,7 +40,7 @@ typedef enum
MEMIF_TX_N_ERROR,
} memif_tx_func_error_t;
-static vl_counter_t memif_tx_func_error_counters[] = {
+static vlib_error_desc_t memif_tx_func_error_counters[] = {
#define _(f, n, s, d) { #n, d, VL_COUNTER_SEVERITY_##s },
foreach_memif_tx_func_error
#undef _
diff --git a/src/plugins/memif/node.c b/src/plugins/memif/node.c
index 84bc63fc7c3..7c4de8b8564 100644
--- a/src/plugins/memif/node.c
+++ b/src/plugins/memif/node.c
@@ -43,7 +43,7 @@ typedef enum
MEMIF_INPUT_N_ERROR,
} memif_input_error_t;
-static vl_counter_t memif_input_error_counters[] = {
+static vlib_error_desc_t memif_input_error_counters[] = {
#define _(f, n, s, d) { #n, d, VL_COUNTER_SEVERITY_##s },
foreach_memif_input_error
#undef _