From patchwork Fri May 26 14:12:37 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Finucane X-Patchwork-Id: 767406 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail.linuxfoundation.org (mail.linuxfoundation.org [140.211.169.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3wZ7RH5xZMz9s80 for ; Sat, 27 May 2017 00:14:03 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="key not found in DNS" (0-bit key; unprotected) header.d=that.guru header.i=@that.guru header.b="S3NJKxWW"; dkim-atps=neutral Received: from mail.linux-foundation.org (localhost [127.0.0.1]) by mail.linuxfoundation.org (Postfix) with ESMTP id F251CC5F; Fri, 26 May 2017 14:13:16 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@mail.linuxfoundation.org Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id 54CE2C56 for ; Fri, 26 May 2017 14:13:15 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from burlywood.ash.relay.mailchannels.net (burlywood.ash.relay.mailchannels.net [23.83.222.26]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 0BEC9198 for ; Fri, 26 May 2017 14:13:12 +0000 (UTC) X-Sender-Id: mxroute|x-authuser|stephen@that.guru Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id B9615365593; Fri, 26 May 2017 14:13:07 +0000 (UTC) Received: from relay004.mxroute.com (unknown [100.96.126.214]) (Authenticated sender: mxroute) by relay.mailchannels.net (Postfix) with ESMTPA id 2B8C936658B; Fri, 26 May 2017 14:13:04 +0000 (UTC) X-Sender-Id: mxroute|x-authuser|stephen@that.guru Received: from relay004.mxroute.com (relay004.mxroute.com [172.20.108.37]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.9.3); Fri, 26 May 2017 14:13:07 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: mxroute|x-authuser|stephen@that.guru X-MailChannels-Auth-Id: mxroute X-Thoughtful-Whistle: 1e6066ee39a713b5_1495807986639_2628161363 X-MC-Loop-Signature: 1495807986639:2804016868 X-MC-Ingress-Time: 1495807986638 Received: from localhost (localhost [127.0.0.1]) by relay004.mxroute.com (Postfix) with ESMTP id 5BD2042881; Fri, 26 May 2017 14:12:56 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at relay004.mxroute.com Received: from relay004.mxroute.com ([127.0.0.1]) by localhost (relay004.mxroute.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xK31GBtzVj7G; Fri, 26 May 2017 14:12:43 +0000 (UTC) Received: from one.mxroute.com (one-outgoing.mxroute.com [23.92.70.115]) by relay004.mxroute.com (Postfix) with ESMTPS id 89D3D419F1; Fri, 26 May 2017 14:12:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=that.guru; s=default; h=Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:MIME-Version :Content-Type:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=VJbbdMaJ/mgav3LepL8gYhnyDKS8LVU4BV9oNWDdABM=; b=S3NJKxWWvPLt3wGDBbtdEDsOXc MpCPQohd47Aa3kP02PrDzHPxtvX3AF06j4fzMv3qro6WPOgkJ68qmMGmuaPGCqSASwo8kbm2+g219 rNQIDJQ0B8T9lI3gzKbpIzjQ+okveoHCIsYUildEom6v2sOcnGnEGIuWWFwCTafaL5FKftgKNtBup Gk6wUoizzAwXQ+ySKq4bcycLLW2c5Pf9Ug4+e8eCq9azkMElnBmclQrgCti3V28dlRDvukV0BR8pp OgxM08WFP5QNUKGbnEW5G6QsHTb0OGKyz/wLMhRqKMDhD+54s1Zq4Q4jj+fn81RnZxBwfoeAEGfZt pWmrrdWw==; From: Stephen Finucane To: dev@openvswitch.org Date: Fri, 26 May 2017 15:12:37 +0100 Message-Id: <20170526141238.31246-1-stephen@that.guru> X-Mailer: git-send-email 2.9.4 X-AuthUser: stephen@that.guru X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_NONE,T_DKIM_INVALID autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp1.linux-foundation.org Subject: [ovs-dev] [PATCH 1/2] docs: Clarify the superiority of dpdkvhostuserclient X-BeenThere: ovs-dev@openvswitch.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: ovs-dev-bounces@openvswitch.org Errors-To: ovs-dev-bounces@openvswitch.org Apparently dpdkvhostuser interfaces are inferior to dpdkvhostuserclient. Explain why. Signed-off-by: Stephen Finucane Cc: Ciara Loftus Cc: Kevin Traynor --- I'd like to note what happens to traffic when OVS or a VM is restarted for both port types. If someone knows the answer to this, please feel free to take ownership of that patch/ask me for a v2. --- Documentation/topics/dpdk/vhost-user.rst | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Documentation/topics/dpdk/vhost-user.rst b/Documentation/topics/dpdk/vhost-user.rst index ba22684..2e2396b 100644 --- a/Documentation/topics/dpdk/vhost-user.rst +++ b/Documentation/topics/dpdk/vhost-user.rst @@ -54,8 +54,12 @@ vHost User sockets, and the client connects to the server. Depending on which port type you use, ``dpdkvhostuser`` or ``dpdkvhostuserclient``, a different configuration of the client-server model is used. -For vhost-user ports, Open vSwitch acts as the server and QEMU the client. For -vhost-user-client ports, Open vSwitch acts as the client and QEMU the server. +For vhost-user ports, Open vSwitch acts as the server and QEMU the client. This +means if OVS dies, all VMs **must** be restarted. On the other hand, for +vhost-user-client ports, OVS acts as the client and QEMU the server. This means +OVS can die and be restarted without issue, and it is also possible to restart +an instance itself. For this reason, vhost-user-client ports are the preferred +type for most use cases. .. _dpdk-vhost-user: