From 2c4acdd8d47a14867d9658debc674323efc78323 Mon Sep 17 00:00:00 2001 From: Ole Troan Date: Thu, 6 May 2021 14:09:50 +0200 Subject: vlib: rename vl_counter_t to vlib_error_desc_t Type: improvement Signed-off-by: Ole Troan Change-Id: I368b0410db2d633d3c52199c840e24d21952c1b4 --- src/plugins/memif/device.c | 2 +- src/plugins/memif/node.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/plugins/memif') 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 _ -- cgit 1.2.3-korg