From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 72AB51B388 for ; Tue, 7 Nov 2017 02:28:11 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 16F3520BC8; Mon, 6 Nov 2017 20:28:11 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Mon, 06 Nov 2017 20:28:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=GmEqjSp0vLz5knEpc7H+E2t302 l2ekRBvWUjyImjFKI=; b=XpwxF1mC0898e3K2BfMmAaoxIYy6x9NQnaHtziorjJ M3eaLkPoPwgObUofv7Iqjo2eQA9BVVWIpZcoeflVSfQa8OmVPFn9rME7S58nv9YM hDOXP0TDVxKBAKa/2dAR/5Say0lbz/jKmnsbaQAlSaWSMx721runNBGZ7H5byNXm s= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=GmEqjS p0vLz5knEpc7H+E2t302l2ekRBvWUjyImjFKI=; b=LzeUd3gYogWvyXMFnIzbGi d/CtMeQzR5C2kKvFvqFRtO9BTUBkU8vLztCieqAQm9KXTFfaS9bUIdIdlatmp/EL m0AIAq+hOwb5v9ecGRt3JK7CkM/p0IA2MP1zBkO1B/ZPxjUMLq3qlTyRlGIljBG6 aiyqz8ATCGCOuBlJ6YYZXBE3maw6lgMIGFwZWPR6Y9xCe3s1bsBMYndxRQPtL01V rnXOt+Ulcm5DYGzQttY9lXHaVojYfRRl7R9O3v2C2d4hpgLZl2tbIx6ZMvYs+PxR Ce+huvFvgzmgk1tYbL90JziEulwJDru/udoyTfFo7CCzgtrBboovanGuvY+/YtKQ == X-ME-Sender: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id C69B02473E; Mon, 6 Nov 2017 20:28:10 -0500 (EST) From: Thomas Monjalon To: Maxime Coquelin Cc: dev@dpdk.org, Yuanhan Liu , lei.a.yao@intel.com, mst@redhat.com Date: Tue, 07 Nov 2017 02:28:09 +0100 Message-ID: <5924423.GFTsNyYVQg@xps> In-Reply-To: <20171106115852.GD12931@yliu-home> References: <20171103155235.29869-1-maxime.coquelin@redhat.com> <20171106115852.GD12931@yliu-home> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] vhost: postpone ring addresses translations at kick time only 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: Tue, 07 Nov 2017 01:28:11 -0000 06/11/2017 12:58, Yuanhan Liu: > On Fri, Nov 03, 2017 at 04:52:35PM +0100, Maxime Coquelin wrote: > > If multiple queue pairs are created but all are not used, the > > device is never started, as unused queues aren't enabled and > > their ring addresses aren't translated. The device is changed > > to running state when all rings addresses are translated. > > > > This patch fixes this by postponning rings addresses translation > > at kick time unconditionnaly, VHOST_USER_F_PROTOCOL_FEATURES > > being negotiated or not. > > > > Reported-by: Lei Yao > > Signed-off-by: Maxime Coquelin > > Acked-by: Yuanhan Liu Applied, thanks