From 3640d537e1c1ea7670b98f0aaf27a48c08984893 Mon Sep 17 00:00:00 2001 From: Josh Gahm Date: Wed, 10 Feb 2016 18:03:08 -0500 Subject: Pull in some additional symbols that may be needed by plugins. Ensure that some additional rte_* symbols (from the dpdk library) and pulled into the vpp image so that they will be available to plugins. Also, provide vlib's dpdk configuration function so that plugins that need to make dpdk calls during initialization/configuration may ensure that dpdk itself is initialized first. Change-Id: Iff8b518c6fc23e9e2f24a85944e5b246c80e5f67 Signed-off-by: Josh Gahm --- vnet/vnet/plugin/p1.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'vnet') diff --git a/vnet/vnet/plugin/p1.c b/vnet/vnet/plugin/p1.c index 853480dd423..2d46beba575 100644 --- a/vnet/vnet/plugin/p1.c +++ b/vnet/vnet/plugin/p1.c @@ -39,6 +39,7 @@ _(_vlib_init_function_pg_init) \ _(_vlib_init_function_ip_main_init) \ _(_vlib_init_function_ethernet_init) \ _(_vlib_init_function_ethernet_arp_init) \ +_(_vlib_config_function_dpdk_config) \ _(l2input_intf_bitmap_enable) \ _(ip4_main) \ _(ip6_main) \ @@ -101,6 +102,9 @@ _(dpdk_interface_tx_vector) \ _(rte_calloc) \ _(rte_free) \ _(rte_malloc) \ +_(rte_zmalloc) \ +_(rte_malloc_virt2phy) \ +_(rte_eal_get_configuration) \ _(post_sw_interface_set_flags) \ _(dpdk_get_admin_up_down_in_progress) \ _(efd_config) -- cgit 1.2.3-korg