From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-la0-f47.google.com (mail-la0-f47.google.com [209.85.215.47]) by dpdk.org (Postfix) with ESMTP id 017E85A59 for ; Wed, 8 Apr 2015 18:31:20 +0200 (CEST) Received: by labbd9 with SMTP id bd9so58743024lab.2 for ; Wed, 08 Apr 2015 09:31:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-type:content-transfer-encoding; bh=0KtdCkWNWDNti+S7ZQkRzqJPsmMR7Cxi47ZG7eOI+O4=; b=iWhrV+jEVuu6vtRhPkYB2YeQ7hfqovU5qND3OfRF3aDk8m+11EbBX3ZH1BC3MLVpZa 5u7+KziXweKIvp6G6Jd72p3YZ2vPKW73nn3RxkE6fVnHked5DSa1dMUraLtW0CbSxr3m NuEryKBERY8YYgqT2kQOZ9DOZxtT0Jwj2wKYBGgaOngJzEIXoQNPIWD/YThCFIksgI/5 eEE/vcv+j+24aG5Pd5yAE3kAFJRXwgFo5ONBGqF9rbIJex3GmcS7t7ybF5nwgRQtIb4z Av/Z29HPVdRPBawImnmWnlRjdhfR0LIB8KVqlXR1sue0lYzlbw6URIiphji39X6Vjy8O HXsw== X-Gm-Message-State: ALoCoQkNMvPYunjjVp/n2PcpMfYK1r3MI/9GS3a6+/6caSL5ZBtcoPv3tY7QQr0qnb40AJHj7PpT X-Received: by 10.112.168.102 with SMTP id zv6mr1144497lbb.45.1428510679681; Wed, 08 Apr 2015 09:31:19 -0700 (PDT) Received: from localhost.localdomain (vpn.arccn.ru. [95.182.74.2]) by mx.google.com with ESMTPSA id si3sm2599650lbb.32.2015.04.08.09.31.18 (version=TLSv1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 08 Apr 2015 09:31:18 -0700 (PDT) From: Igor Ryzhov To: dev@dpdk.org Date: Wed, 8 Apr 2015 19:31:07 +0300 Message-Id: <1428510667-6438-1-git-send-email-iryzhov@nfware.com> X-Mailer: git-send-email 1.9.5 (Apple Git-50.3) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Igor Ryzhov Subject: [dpdk-dev] [PATCH] doc: fix vhost guide X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Apr 2015 16:31:20 -0000 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 --- 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_ug/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 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. -- 1.9.5 (Apple Git-50.3)