From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 4084449E0 for ; Sun, 20 May 2018 12:15:57 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 445B4222FF; Sun, 20 May 2018 03:13:02 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Sun, 20 May 2018 03:13:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fridaylinux.org; h=cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=Uf495u2OAjjKszrPsjiwAnbw1HP4Vf8uPDwyf9kUU78=; b=k8o55CsT r3rOPTulIxiwovZnG7IzJpFT+k55RP8r1AqV9IeskCfos6AyplM54rcJ7nzoVvXo NUC1bHqQu1IbM86bPtCOzy9CpeoBFjOAtlalUpGgEdpNq5n63ZVX758X/7oSa/lP y/wAIw++D0uFsXk6O5YqXPFRnZt8NqhiLuQe360J+QOakinOPzbelQmyjTUldKik Kg2AIsrWiEO61nSptNqLssS1ezur0C6yCz5D7dgVqs7OM6uof/sU/UonCJzWsbSj joE3Q5jrapk85htn7y1/NrrvG6aM8XXqj/huCdfwoWVLxJS4UCYlY6EWBz7I0Afp gRLojjNZ8GPCNg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=Uf495u2OAjjKszrPsjiwAnbw1HP4V f8uPDwyf9kUU78=; b=VfNmW/oUu4sZPDLksR5ln9QQP3VjQ9snmNXjdIje1kAW4 ZNhG3NscG/U79SfSLXBCVC+KD0iU56wqsPQ/t5aCdH09lbQehpM8rxitslXzNswR u9DN65wegOneNqZVD3BELdBymRj5Yn0hnO0amOu4X6PPYJztI2UWXQBeID1XVCc5 0vYA0vSA4BJEnvku5dyv8EXb5Hm0JWjkJHxpxv1plUX92MQFLNAGn8lHYC2swZOS Qdu4UZQLIFHJigRIuckOL9rHWLrxGdwyY6//npoU03YhiSyOrK8O8ER59NF4rCCQ hfABOM6vmemNUpO9FFScnOtirwwfkAXFKe++8ljKg== X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Sender: Received: from yuanhanliu-NB0 (unknown [223.74.148.80]) by mail.messagingengine.com (Postfix) with ESMTPA id EF9F31025D; Sun, 20 May 2018 03:13:00 -0400 (EDT) Date: Sun, 20 May 2018 15:07:25 +0800 From: Yuanhan Liu To: Maxime Coquelin Cc: Dariusz Stojaczyk , dev@dpdk.org, Tiwei Bie , Tetsuya Mukawa , Thomas Monjalon , Stefan Hajnoczi , James Harris Message-ID: <20180520070725.4ccoumdtpq3utcqr@yuanhanliu-NB0.tencent.com> References: <1525958573-184361-1-git-send-email-dariuszx.stojaczyk@intel.com> <1526648465-62579-1-git-send-email-dariuszx.stojaczyk@intel.com> <27ce772e-9f01-dff9-1f82-b99924efa950@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <27ce772e-9f01-dff9-1f82-b99924efa950@redhat.com> User-Agent: NeoMutt/20170113 (1.7.2) Subject: Re: [dpdk-dev] [RFC v2] vhost: new rte_vhost API proposal X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 May 2018 10:15:57 -0000 On Fri, May 18, 2018 at 03:50:45PM +0200, Maxime Coquelin wrote: > Hi Dariusz, > > On 05/18/2018 03:01 PM, Dariusz Stojaczyk wrote: > > rte_vhost is not vhost-user spec compliant. Some Vhost drivers have > > been already confirmed not to work with rte_vhost. virtio-user-scsi-pci > > in QEMU 2.12 doesn't fully initialize its management queues at SeaBIOS > > stage. This is perfectly fine from the Vhost-user spec perspective, but > > doesn't meet rte_vhost expectations. rte_vhost waits for all queues > > to be fully initialized before it allows the entire device to be > > processed. qFixing rte_vhost directly would require quite a big amount > > of changes, which would completely break backwards compatibility. > > > > This rte_vhost2 library is intended to smooth out the transition. > > It exposes a low-level API for implementing new Vhost-user slaves. > > The existing rte_vhost is about to be refactored to use rte_vhost2 > > library underneath, and demanding backends could now use rte_vhost2 > > directly. > > I like the idea, and the proposed way to smooth the transition. Please be aware of that I just had a quick glimpse of this patch and it's likely I don't have too much time to follow this. However, I also like this idea. And thank you for working on it. --yliu