Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix duplicate binary API registration messages / bugs
[vpp.git]
/
src
/
plugins
/
dpdk
/
api
/
dpdk_test.c
diff --git
a/src/plugins/dpdk/api/dpdk_test.c
b/src/plugins/dpdk/api/dpdk_test.c
index
9fe0f93
..
ea17e5d
100644
(file)
--- a/
src/plugins/dpdk/api/dpdk_test.c
+++ b/
src/plugins/dpdk/api/dpdk_test.c
@@
-351,7
+351,7
@@
_(sw_interface_set_dpdk_hqos_subport, \
_(sw_interface_set_dpdk_hqos_tctbl, \
"rx sw_if_index <id> entry <n> tc <n> queue <n>\n")
_(sw_interface_set_dpdk_hqos_tctbl, \
"rx sw_if_index <id> entry <n> tc <n> queue <n>\n")
-
void vat
_api_hookup (vat_main_t *vam)
+
static void dpdk
_api_hookup (vat_main_t *vam)
{
dpdk_test_main_t * dm __attribute__((unused)) = &dpdk_test_main;
/* Hook up handlers for replies from the data plane plug-in */
{
dpdk_test_main_t * dm __attribute__((unused)) = &dpdk_test_main;
/* Hook up handlers for replies from the data plane plug-in */
@@
-389,7
+389,7
@@
clib_error_t * vat_plugin_register (vat_main_t *vam)
dm->msg_id_base = vl_client_get_first_plugin_msg_id ((char *) name);
if (dm->msg_id_base != (u16) ~0)
dm->msg_id_base = vl_client_get_first_plugin_msg_id ((char *) name);
if (dm->msg_id_base != (u16) ~0)
-
vat
_api_hookup (vam);
+
dpdk
_api_hookup (vam);
vec_free(name);
vec_free(name);