From f9dafebc44c7b52605eed393a418f47ca3ce6990 Mon Sep 17 00:00:00 2001 From: Steven Date: Fri, 26 Oct 2018 20:10:49 -0700 Subject: vmxnet3: add logging support to the control plane [VPP-1470] There are different flavors of vmxnet3 device, esxi server, vm fusion, vmware workstation, and vmware player, that we need to communicate with. Each of them also has different versions. We really need the control plane logging to debug when things don't work as expected. Change-Id: I53c23cf10958bfbc06abb1c252d368003563cd04 Signed-off-by: Steven --- src/plugins/vmxnet3/cli.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/plugins/vmxnet3/cli.c') diff --git a/src/plugins/vmxnet3/cli.c b/src/plugins/vmxnet3/cli.c index 1a97dc0d0fa..566b0d68079 100644 --- a/src/plugins/vmxnet3/cli.c +++ b/src/plugins/vmxnet3/cli.c @@ -567,9 +567,12 @@ VLIB_CLI_COMMAND (show_vmxnet3_command, static) = { clib_error_t * vmxnet3_cli_init (vlib_main_t * vm) { + vmxnet3_main_t *vmxm = &vmxnet3_main; + /* initialize binary API */ vmxnet3_plugin_api_hookup (vm); + vmxm->log_default = vlib_log_register_class ("vmxnet3", 0); return 0; } -- cgit 1.2.3-korg