X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fplugins%2Fdpdk%2Fapi%2Fdpdk_test.c;h=ea17e5d0e7a8ad8f535f0524cde4a89dd9640e35;hb=99617f7a2649674dff35e8bfa3d9b84244236778;hp=9fe0f93486c2ae319b74eeaf48631086eb299cff;hpb=6f6f52aeb689fdaee628e7fa132749928694f01f;p=vpp.git diff --git a/src/plugins/dpdk/api/dpdk_test.c b/src/plugins/dpdk/api/dpdk_test.c index 9fe0f93486c..ea17e5d0e7a 100644 --- 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 entry tc queue \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 */ @@ -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) - vat_api_hookup (vam); + dpdk_api_hookup (vam); vec_free(name);