Mark some show commands as mp safe 22/622/2
authorTodd Foggoa (tfoggoa) <tfoggoa@cisco.com>
Thu, 24 Mar 2016 15:51:24 +0000 (11:51 -0400)
committerGerrit Code Review <gerrit@fd.io>
Tue, 29 Mar 2016 08:51:59 +0000 (08:51 +0000)
Change-Id: I92cd378370feeddf27832acde06f186fbdf64908
Signed-off-by: Todd Foggoa (tfoggoa) <tfoggoa@cisco.com>
vnet/vnet/devices/dpdk/cli.c

index c27dbfa..6fa3b23 100644 (file)
@@ -188,6 +188,7 @@ VLIB_CLI_COMMAND (cmd_show_dpdk_bufferr,static) = {
     .path = "show dpdk buffer",
     .short_help = "show dpdk buffer state",
     .function = show_dpdk_buffer,
+    .is_mp_safe = 1,
 };
 
 static clib_error_t *
@@ -243,10 +244,11 @@ test_dpdk_buffer (vlib_main_t * vm, unformat_input_t * input,
   return 0;
 }
 
-VLIB_CLI_COMMAND (cmd_test_dpdk_bufferr,static) = {
+VLIB_CLI_COMMAND (cmd_test_dpdk_buffer,static) = {
     .path = "test dpdk buffer",
     .short_help = "test dpdk buffer [allocate <nn>][free <nn>]",
     .function = test_dpdk_buffer,
+    .is_mp_safe = 1,
 };
 
 static void
@@ -327,6 +329,7 @@ VLIB_CLI_COMMAND (cmd_trace_frame_queue,static) = {
     .path = "trace frame-queue",
     .short_help = "trace frame-queue (on|off)",
     .function = trace_frame_queue,
+    .is_mp_safe = 1,
 };