summaryrefslogtreecommitdiffstats
path: root/src/vnet/l2/l2_api.c
diff options
context:
space:
mode:
authorSteven Luong <sluong@cisco.com>2019-04-25 11:19:49 -0700
committerDave Barach <openvpp@barachs.net>2019-05-03 17:38:01 +0000
commitc5fa2b8099ea1fe18a5df3c71ad6a16df242431e (patch)
tree9b3fb56496dcb4f4f1e6c59b61c4b4aa9d9e8db3 /src/vnet/l2/l2_api.c
parent29a59c3ae18573043d9f9baa2796ab0b841bf6aa (diff)
mp_safe SW_INTERFACE_DUMP, SW_INTERFACE_DETAILS, SW_INTERFACE_TAG_ADD_DEL,
BRIDGE_DOMAIN_DUMP, CONTROL_PING, CONTROL_PING_REPLY, and show interface CLI Change-Id: I2927573b66bb5dd134b37ffb72af0e6676750917 Signed-off-by: Steven Luong <sluong@cisco.com> (cherry picked from commit 15c31921a628c5500cbed2ebc588d7ddbaa970a3)
Diffstat (limited to 'src/vnet/l2/l2_api.c')
-rw-r--r--src/vnet/l2/l2_api.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vnet/l2/l2_api.c b/src/vnet/l2/l2_api.c
index b55c5d3744a..47942ecfb2a 100644
--- a/src/vnet/l2/l2_api.c
+++ b/src/vnet/l2/l2_api.c
@@ -1065,6 +1065,9 @@ l2_api_hookup (vlib_main_t * vm)
foreach_vpe_api_msg;
#undef _
+ /* Mark VL_API_BRIDGE_DOMAIN_DUMP as mp safe */
+ am->is_mp_safe[VL_API_BRIDGE_DOMAIN_DUMP] = 1;
+
/*
* Set up the (msg_name, crc, message-id) table
*/