From: Igor Ryzhov Date: Wed, 8 Apr 2015 16:31:07 +0000 (+0300) Subject: doc: fix vhost guide X-Git-Tag: spdx-start~9311 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=016a07f32fe978cec1d2a466c734be3c2a5c5959;hp=bc925f8378c1e67a61752d87dadf325642edbe78;p=dpdk.git doc: fix vhost guide Guide says that a configure parameter to choose between vhost cuse and vhost user will be introduced in the future, but it’s already added by commit 28a1ccca41bf. Signed-off-by: Igor Ryzhov Acked-by: Changchun Ouyang --- diff --git a/doc/guides/sample_app_ug/vhost.rst b/doc/guides/sample_app_ug/vhost.rst index 8a7eb3b840..df8cd8cbe7 100644 --- a/doc/guides/sample_app_ug/vhost.rst +++ b/doc/guides/sample_app_ug/vhost.rst @@ -309,13 +309,12 @@ Compiling the Sample Code CONFIG_RTE_LIBRTE_VHOST=n - vhost user is turned on by default in the lib/librte_vhost/Makefile. - To enable vhost cuse, uncomment vhost cuse and comment vhost user manually. In future, a configure will be created for switch between two implementations. + vhost user is turned on by default in the configure file config/common_linuxapp. + To enable vhost cuse, disable vhost user. .. code-block:: console - SRCS-$(CONFIG_RTE_LIBRTE_VHOST) += vhost_cuse/vhost-net-cdev.c vhost_cuse/virtio-net-cdev.c vhost_cuse/eventfd_copy.c - #SRCS-$(CONFIG_RTE_LIBRTE_VHOST) += vhost_user/vhost-net-user.c vhost_user/virtio-net-user.c vhost_user/fd_man.c + CONFIG_RTE_LIBRTE_VHOST_USER=y After vhost is enabled and the implementation is selected, build the vhost library.