diff options
author | Josh Gahm <jgahm@cisco.com> | 2016-02-10 18:03:08 -0500 |
---|---|---|
committer | Damjan Marion <damarion@cisco.com> | 2016-02-11 18:41:58 +0000 |
commit | 3640d537e1c1ea7670b98f0aaf27a48c08984893 (patch) | |
tree | cbfa42c24b5125024a0ad3394717c71859aa4b9f /vnet | |
parent | 14a44d37a36d1f62897aa304922cea568ce1b577 (diff) |
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 <jgahm@cisco.com>
Diffstat (limited to 'vnet')
-rw-r--r-- | vnet/vnet/plugin/p1.c | 4 |
1 files changed, 4 insertions, 0 deletions
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) |