From 4b9fb500109e4c3704ddddcc0cb9af248ae1133c Mon Sep 17 00:00:00 2001 From: "Todd Foggoa (tfoggoa)" Date: Thu, 24 Mar 2016 11:51:24 -0400 Subject: [PATCH] Mark some show commands as mp safe Change-Id: I92cd378370feeddf27832acde06f186fbdf64908 Signed-off-by: Todd Foggoa (tfoggoa) --- vnet/vnet/devices/dpdk/cli.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vnet/vnet/devices/dpdk/cli.c b/vnet/vnet/devices/dpdk/cli.c index c27dbfabfc0..6fa3b231ffa 100644 --- a/vnet/vnet/devices/dpdk/cli.c +++ b/vnet/vnet/devices/dpdk/cli.c @@ -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 ][free ]", .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, };