aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/avf/avf.h
diff options
context:
space:
mode:
authorJakub Grajciar <jgrajcia@cisco.com>2018-05-21 12:39:03 +0200
committerDamjan Marion <dmarion.lists@gmail.com>2018-05-22 17:39:39 +0000
commitb5236cb975c766154a36d0d59731850683635ea4 (patch)
tree2d5aab62a78e328474c89b0ffbcf762b6846907a /src/plugins/avf/avf.h
parent3e0ee6ec3ce1d3f32c1faca7514048e55412220e (diff)
avf plugin: add support for logging
Change-Id: Ic8c5b527395fc99f1e1a72e51f8d41c9b4f415df Signed-off-by: Jakub Grajciar <jgrajcia@cisco.com>
Diffstat (limited to 'src/plugins/avf/avf.h')
-rw-r--r--src/plugins/avf/avf.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/avf/avf.h b/src/plugins/avf/avf.h
index 71e6f09e824..5db40746541 100644
--- a/src/plugins/avf/avf.h
+++ b/src/plugins/avf/avf.h
@@ -17,6 +17,8 @@
#include <avf/virtchnl.h>
+#include <vlib/log.h>
+
#define foreach_avf_device_flags \
_(0, INITIALIZED, "initialized") \
_(1, ERROR, "error") \
@@ -162,6 +164,8 @@ typedef struct
vlib_physmem_region_index_t physmem_region;
int physmem_region_alloc;
+ vlib_log_class_t log_class;
+
/* 256 element array for ptype based lookup */
avf_ptype_t *ptypes;
} avf_main_t;