aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/l2
diff options
context:
space:
mode:
authorSteven Luong <sluong@cisco.com>2019-04-25 11:19:49 -0700
committersteven luong <sluong@cisco.com>2019-05-03 00:19:41 +0000
commit6f05f724f4091acde82ef39e941a1ef819e53893 (patch)
tree34078b56e1f5e084351df0abfdf0554871f5a102 /src/vnet/l2
parent79ad20fc043d74b8812824d0862292bc83e9b09a (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')
-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 f60cd41bb39..edb1deb0d1a 100644
--- a/src/vnet/l2/l2_api.c
+++ b/src/vnet/l2/l2_api.c
@@ -1061,6 +1061,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
*/