aboutsummaryrefslogtreecommitdiffstats
path: root/vnet
diff options
context:
space:
mode:
authorTodd Foggoa (tfoggoa) <tfoggoa@cisco.com>2016-03-24 11:51:24 -0400
committerGerrit Code Review <gerrit@fd.io>2016-03-29 08:51:59 +0000
commit4b9fb500109e4c3704ddddcc0cb9af248ae1133c (patch)
treed219c3242be82efc92a54e22c0655dc72ea7bf6b /vnet
parente5389bb05330a9bd2f24478f996adbcce532ded5 (diff)
Mark some show commands as mp safe
Change-Id: I92cd378370feeddf27832acde06f186fbdf64908 Signed-off-by: Todd Foggoa (tfoggoa) <tfoggoa@cisco.com>
Diffstat (limited to 'vnet')
-rw-r--r--vnet/vnet/devices/dpdk/cli.c5
1 files changed, 4 insertions, 1 deletions
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 <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,
};