From 3389bbcad02e6d1824742be9fcbb74abdefa3ce5 Mon Sep 17 00:00:00 2001 From: Dave Barach Date: Tue, 2 Aug 2016 13:31:31 -0400 Subject: VPP-180 Clean up multi-socket / multi-chunk mempool discovery Change the default DPDK version to 16.07, and rename the indicated patch directory. Use the native vhost-user driver. Change-Id: Ie3d17e90e363ce86f0233b58c152de683b5d9456 Signed-off-by: Dave Barach --- vpp/vpp-api/api.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vpp') diff --git a/vpp/vpp-api/api.c b/vpp/vpp-api/api.c index 2f076c0b..73ecbd72 100644 --- a/vpp/vpp-api/api.c +++ b/vpp/vpp-api/api.c @@ -3814,13 +3814,13 @@ vl_api_create_vhost_user_if_t_handler (vl_api_create_vhost_user_if_t *mp) { int rv = 0; vl_api_create_vhost_user_if_reply_t * rmp; -#if DPDK > 0 && DPDK_VHOST_USER +#if DPDK > 0 u32 sw_if_index = (u32)~0; vnet_main_t * vnm = vnet_get_main(); vlib_main_t * vm = vlib_get_main(); - rv = dpdk_vhost_user_create_if(vnm, vm, (char *)mp->sock_filename, + rv = vhost_user_create_if(vnm, vm, (char *)mp->sock_filename, mp->is_server, &sw_if_index, (u64)~0, mp->renumber, ntohl(mp->custom_dev_instance), (mp->use_custom_mac)?mp->mac_address:NULL); -- cgit