From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (xvm-189-124.dc0.ghst.net [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 4D8E2A0524 for ; Fri, 8 Jan 2021 10:15:36 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 43D66140EC2; Fri, 8 Jan 2021 10:15:36 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mails.dpdk.org (Postfix) with ESMTP id 98677140EC2 for ; Fri, 8 Jan 2021 10:15:35 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1610097334; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=MYS51xBGH+QsxW9gQ6ewgi5weycH+OsGKhANQ1Na2J8=; b=NQLexTT81OLnRnAanY+p1FALyi+OoXroOB/5UlYYlczXzB7iQsL4bx7hVvRBukgs0jyByJ xLjDiDiL0bTsLJDuDnM/R+4HyTad3oBxpqIkAJB6ESf2XLbnbK1vWnXEtCL6i9nPpwH0oG vstdQZokmVtC25DWzO9G8phQ8vQjq2M= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-53-xCopzTCBPzSI0ucTvgqjoQ-1; Fri, 08 Jan 2021 04:15:32 -0500 X-MC-Unique: xCopzTCBPzSI0ucTvgqjoQ-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id CB74959; Fri, 8 Jan 2021 09:15:31 +0000 (UTC) Received: from [10.36.110.9] (unknown [10.36.110.9]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 3049762951; Fri, 8 Jan 2021 09:15:29 +0000 (UTC) To: Olivier Matz , dev@dpdk.org Cc: Chenbo Xia , stable@dpdk.org References: <20201218125217.12963-1-olivier.matz@6wind.com> <20201218132352.15834-1-olivier.matz@6wind.com> From: Maxime Coquelin Message-ID: Date: Fri, 8 Jan 2021 10:15:28 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 In-Reply-To: <20201218132352.15834-1-olivier.matz@6wind.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=maxime.coquelin@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-stable] [PATCH v2] net/virtio-user: fix advertising of protocol features X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" On 12/18/20 2:23 PM, Olivier Matz wrote: > When connected to a vhost-user backend, the flag > VHOST_USER_F_PROTOCOL_FEATURES is not advertised, preventing to do > multiqueue (the VHOST_USER_PROTOCOL_F_MQ protocol feature is ignored by > some backends if the VHOST_USER_F_PROTOCOL_FEATURES feature is not set). > > When setting vhost-user features, advertise this flag if it was > advertised by our peer. > > Fixes: 8e7561054ac7 ("net/virtio: support vhost-user protocol features") > Cc: stable@dpdk.org > > Suggested-by: Maxime Coquelin > Signed-off-by: Olivier Matz > --- > > v2 > * fix obvious fallthrough case, sorry for the noise > > drivers/net/virtio/virtio_user/vhost_user.c | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) Series applied to dpdk-next-virtio/main. Thanks, Maxime