Pull in some additional symbols that may be needed by plugins. 91/291/3
authorJosh Gahm <jgahm@cisco.com>
Wed, 10 Feb 2016 23:03:08 +0000 (18:03 -0500)
committerDamjan Marion <damarion@cisco.com>
Thu, 11 Feb 2016 18:41:58 +0000 (18:41 +0000)
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 <jgahm@cisco.com>
vnet/vnet/plugin/p1.c

index 853480d..2d46beb 100644 (file)
@@ -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)