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 11A05A0524 for ; Fri, 8 Jan 2021 10:42:06 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D6DB5140E5C; Fri, 8 Jan 2021 10:42:05 +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 D77B4140E5C for ; Fri, 8 Jan 2021 10:42:03 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1610098923; 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; bh=yVK/x7BhJGilLs5oQhd/PRPKT9Zxq+Nj097e/4rEmVs=; b=fwOxFoAbgRBWyYPV8y5tEWhxd5CcjzkYMrmDMvXF77+vSWAh6n5ySGndaVXGLe2ZvjYjec erURVjODuifBa8LbaR1wtnkdjfFor5oCe8hoC4ZbucVESg3zDYaJB1FqnBw/Ffe3m7rGFF qo32Uodc1g+BCrDxTwFqTvmlDymcosY= 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-89-R_3-Ndd0PiytebHh2v0QaA-1; Fri, 08 Jan 2021 04:42:01 -0500 X-MC-Unique: R_3-Ndd0PiytebHh2v0QaA-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 65E771009456; Fri, 8 Jan 2021 09:42:00 +0000 (UTC) Received: from max-t490s.redhat.com (unknown [10.36.110.9]) by smtp.corp.redhat.com (Postfix) with ESMTP id 3F9E971C9A; Fri, 8 Jan 2021 09:41:51 +0000 (UTC) From: Maxime Coquelin To: dev@dpdk.org, stable@dpdk.org, chenbo.xia@intel.com, amorenoz@redhat.com, jasowang@redhat.com, david.marchand@redhat.com Cc: Maxime Coquelin Date: Fri, 8 Jan 2021 10:41:47 +0100 Message-Id: <20210108094149.215384-1-maxime.coquelin@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 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-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Subject: [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" 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(-) -- 2.29.2