Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
0614c62
)
lacp: correctly set is_mp_safe for VL_API_SW_INTERFACE_LACP_DUMP
85/31785/4
author
Steven Luong
<sluong@cisco.com>
Fri, 26 Mar 2021 17:08:28 +0000
(10:08 -0700)
committer
Damjan Marion
<dmarion@me.com>
Thu, 1 Apr 2021 12:45:29 +0000
(12:45 +0000)
Need to add msg_id_base to the index
Type: fix
Signed-off-by: Steven Luong <sluong@cisco.com>
Change-Id: Id7ebf168502e8fd811d8f2f0c5538e69e23242fb
src/plugins/lacp/lacp_api.c
patch
|
blob
|
history
diff --git
a/src/plugins/lacp/lacp_api.c
b/src/plugins/lacp/lacp_api.c
index
dbeb14b
..
fce2492
100644
(file)
--- a/
src/plugins/lacp/lacp_api.c
+++ b/
src/plugins/lacp/lacp_api.c
@@
-125,8
+125,7
@@
lacp_plugin_api_hookup (vlib_main_t * vm)
lm->msg_id_base = setup_message_id_table ();
/* Mark these APIs as mp safe */
- am->is_mp_safe[VL_API_SW_INTERFACE_LACP_DUMP] = 1;
- am->is_mp_safe[VL_API_SW_INTERFACE_LACP_DETAILS] = 1;
+ am->is_mp_safe[lm->msg_id_base + VL_API_SW_INTERFACE_LACP_DUMP] = 1;
return 0;
}