From mboxrd@z Thu Jan 1 00:00:00 1970 From: Igor Ryzhov Subject: [PATCH] doc: fix vhost guide Date: Wed, 8 Apr 2015 19:31:07 +0300 Message-ID: <1428510667-6438-1-git-send-email-iryzhov@nfware.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: Igor Ryzhov To: dev-VfR2kkLFssw@public.gmane.org Return-path: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" Guide says that a configure parameter to choose between vhost cuse and vh= ost user will be introduced in the future, but it=E2=80=99s already added= by commit 28a1ccca41bf. Signed-off-by: Igor Ryzhov --- doc/guides/sample_app_ug/vhost.rst | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/doc/guides/sample_app_ug/vhost.rst b/doc/guides/sample_app_u= g/vhost.rst index 8a7eb3b..df8cd8c 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 =20 CONFIG_RTE_LIBRTE_VHOST=3Dn =20 - vhost user is turned on by default in the lib/librte_vhost/Makefile. - To enable vhost cuse, uncomment vhost cuse and comment vhost user ma= nually. In future, a configure will be created for switch between two imp= lementations. + vhost user is turned on by default in the configure file config/comm= on_linuxapp. + To enable vhost cuse, disable vhost user. =20 .. code-block:: console =20 - SRCS-$(CONFIG_RTE_LIBRTE_VHOST) +=3D vhost_cuse/vhost-net-cdev.c= vhost_cuse/virtio-net-cdev.c vhost_cuse/eventfd_copy.c - #SRCS-$(CONFIG_RTE_LIBRTE_VHOST) +=3D vhost_user/vhost-net-user.= c vhost_user/virtio-net-user.c vhost_user/fd_man.c + CONFIG_RTE_LIBRTE_VHOST_USER=3Dy =20 After vhost is enabled and the implementation is selected, build th= e vhost library. =20 --=20 1.9.5 (Apple Git-50.3)