From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 04C0BA00E6 for ; Wed, 17 Apr 2019 09:53:30 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BC19E1B42D; Wed, 17 Apr 2019 09:53:29 +0200 (CEST) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 2F1661B160; Wed, 17 Apr 2019 09:53:28 +0200 (CEST) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 622BE3084212; Wed, 17 Apr 2019 07:53:27 +0000 (UTC) Received: from [10.36.112.28] (ovpn-112-28.ams2.redhat.com [10.36.112.28]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 33A6E19C67; Wed, 17 Apr 2019 07:53:20 +0000 (UTC) To: Ilya Maximets , dev@dpdk.org Cc: Tiwei Bie , Jens Freimann , David Marchand , stable@dpdk.org References: <20190412130949.14299-1-i.maximets@samsung.com> From: Maxime Coquelin Message-ID: Date: Wed, 17 Apr 2019 09:53:19 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 MIME-Version: 1.0 In-Reply-To: <20190412130949.14299-1-i.maximets@samsung.com> Content-Type: text/plain; charset="UTF-8"; format="flowed" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.40]); Wed, 17 Apr 2019 07:53:27 +0000 (UTC) Subject: Re: [dpdk-dev] [PATCH] vhost: fix silent queue enabling with legacy guests 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Message-ID: <20190417075319.zqAEwSKMpuyhw-F62sTPmIytrE-oyd8FPYeePoRUxRs@z> On 4/12/19 3:09 PM, Ilya Maximets wrote: > vhost should notify the application in case of all vring state changes. > > In general, application should not care about negotiation of > VHOST_USER_F_PROTOCOL_FEATURES. Protocol details like this should > be hidden by the vhost library. > > With this patch applications like OVS will be able to assume that > all vrings disabled by default and only process 'vring_state_changed' > events. > > Fixes: 321203a54ba7 ("vhost: enable rings at the right time") > Cc:stable@dpdk.org > > Signed-off-by: Ilya Maximets > --- > lib/librte_vhost/vhost_user.c | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) Applied to dpdk-next-virtio/master. Thanks, Maxime