From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 58B24A0A00 for ; Mon, 11 Jan 2021 15:59:59 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 01839140EEA; Mon, 11 Jan 2021 15:59:57 +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 D041A140EE5 for ; Mon, 11 Jan 2021 15:59:53 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1610377193; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=oNX14a29ZrjEivqgwasO5fpxwbbIEph2nSJGMzE8ETQ=; b=bIqXmJ1nC24MjxukAonb8J0gXtpBO7iYaLTYA3Jrm8WvtX7vljpP3sHmNd/FTDzHBIwQ5n Hwb/oqmN4shNBFXn/PthPChgQcUnX3EDBqASZ9bcOdZgeu1JK4N4Muf2tLOZlXIp3l5CYa 90jyO8UeuYQsDthBsxfrf9P3c4Evjtc= 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-157-vSEoEkSkNpKbJ9hI8U8_uw-1; Mon, 11 Jan 2021 09:59:51 -0500 X-MC-Unique: vSEoEkSkNpKbJ9hI8U8_uw-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 77D521572E; Mon, 11 Jan 2021 14:59:50 +0000 (UTC) Received: from [10.36.110.24] (unknown [10.36.110.24]) by smtp.corp.redhat.com (Postfix) with ESMTPS id AE22B60877; Mon, 11 Jan 2021 14:59:43 +0000 (UTC) To: dev@dpdk.org, stable@dpdk.org, chenbo.xia@intel.com, amorenoz@redhat.com, jasowang@redhat.com, david.marchand@redhat.com References: <20210108094149.215384-1-maxime.coquelin@redhat.com> From: Maxime Coquelin Message-ID: <1d857a15-5fe9-05d2-6889-b58e0266372d@redhat.com> Date: Mon, 11 Jan 2021 15:59:41 +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: <20210108094149.215384-1-maxime.coquelin@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 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 v3 0/2] Vhost-vDPA fixes 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 1/8/21 10:41 AM, Maxime Coquelin wrote: > Vhost-vDPA support in Virtio-user PMD was lacking > backend features negotiation and IOTLB batching > support, causing intialization issues with Mellanox > vDPA device managed by Kernel vDPA framework. > > Changes in v3: > ============= > - Fix protocol features negotiation condition (Chenbo) > - Fixup comment in struct declaration (Chenbo) > > Changes in v2: > ============= > - Add backend features negotiation (David, Jason) > - Ensure Kernel supports IOTLB MSG v2 > > Maxime Coquelin (2): > net/virtio: fix missing backend features negotiation > net/virtio: fix memory init with vDPA backend > > drivers/net/virtio/virtio_user/vhost.h | 8 ++ > drivers/net/virtio/virtio_user/vhost_vdpa.c | 120 +++++++++++++++++- > .../net/virtio/virtio_user/virtio_user_dev.c | 15 ++- > .../net/virtio/virtio_user/virtio_user_dev.h | 4 +- > 4 files changed, 135 insertions(+), 12 deletions(-) > Applied to dpdk-next-virtio/main. Thanks, Maxime