aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/dev/counters.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/dev/counters.c')
-rw-r--r--src/vnet/dev/counters.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vnet/dev/counters.c b/src/vnet/dev/counters.c
index d02839d664f..05cfc0ad290 100644
--- a/src/vnet/dev/counters.c
+++ b/src/vnet/dev/counters.c
@@ -89,6 +89,8 @@ format_vnet_dev_counter_name (u8 *s, va_list *va)
char *units[] = {
[VNET_DEV_CTR_UNIT_BYTES] = "bytes",
[VNET_DEV_CTR_UNIT_PACKETS] = "packets",
+ [VNET_DEV_CTR_UNIT_DESCRIPTORS] = "descriptors",
+ [VNET_DEV_CTR_UNIT_BUFFERS] = "buffers",
};
if (c->type == VNET_DEV_CTR_TYPE_VENDOR)