diff options
author | 2016-08-02 13:31:31 -0400 | |
---|---|---|
committer | 2016-08-03 15:18:37 +0000 | |
commit | 3389bbcad02e6d1824742be9fcbb74abdefa3ce5 (patch) | |
tree | 44a29d1191dcf455a0e629aca18ecd2078851ed0 /vpp/vpp-api | |
parent | 429e7951975e31c86bbbe9bef46195175135d866 (diff) |
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 <dave@barachs.net>
Diffstat (limited to 'vpp/vpp-api')
-rw-r--r-- | vpp/vpp-api/api.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |