From patchwork Wed Jul 1 10:53:58 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adrian Moreno X-Patchwork-Id: 72598 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id CFB8DA0350; Wed, 1 Jul 2020 12:54:23 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C86621C2A7; Wed, 1 Jul 2020 12:54:22 +0200 (CEST) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) by dpdk.org (Postfix) with ESMTP id 07A4E1C2A3 for ; Wed, 1 Jul 2020 12:54:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1593600861; 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=bgk0O+E8bn6OPI2QoWNcIKIRMArs+4Sw+CrzOcvYAT4=; b=SBG/zBdh0udLGEgqiYeMR5Ig04LA5322wbmf1RIUIGirvebMhktLGVd38laROOaVox+azy bWsU+rt0q1x6FiX9MB4Nqfdo990f39euS2LfHwLw9EDhdUTmVOTMgoidTVwo52VuA3Gjje 0darpp+WeXU3ppoCysPL/uh01R8F7bM= 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-419-1UmjcEUkNLq4CEPpCxZ6ww-1; Wed, 01 Jul 2020 06:54:19 -0400 X-MC-Unique: 1UmjcEUkNLq4CEPpCxZ6ww-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 7418556B39; Wed, 1 Jul 2020 10:54:18 +0000 (UTC) Received: from amorenoz.users.ipa.redhat.com (ovpn-112-91.ams2.redhat.com [10.36.112.91]) by smtp.corp.redhat.com (Postfix) with ESMTP id AE16961780; Wed, 1 Jul 2020 10:54:10 +0000 (UTC) From: Adrian Moreno To: dev@dpdk.org Cc: chenbo.xia@intel.com, zhihong.wang@intel.com, xiao.w.wang@intel.com, ferruh.yigit@intel.com, maxime.coquelin@redhat.com, Adrian Moreno Date: Wed, 1 Jul 2020 12:53:58 +0200 Message-Id: <20200701105400.1145875-1-amorenoz@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=amorenoz@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Subject: [dpdk-dev] [PATCH v2 0/2] net/virtio: add vhost-user protocol features support 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" This series adds Vhost-user protocol features support to Virtio-user PMD's Vhost-user backend. The first patch introduces protocol features negotiation, and the second one reply-ack feature. Changes since v1: - Rebased on top of virtio-next - Dropped patch 3 as it depends on a new SET_STATUS request being merged into Qemu. Will submit independently. - [Chenbo] Do not send SET_PROTOCOL_FEATURES request if not supported by backend Maxime Coquelin (2): net/virtio: add vhost-user protocol features support net/virtio: add reply-ack support to Virtio-user drivers/net/virtio/virtio_user/vhost.h | 13 ++++++ drivers/net/virtio/virtio_user/vhost_user.c | 27 +++++++++++-- .../net/virtio/virtio_user/virtio_user_dev.c | 40 ++++++++++++++++++- .../net/virtio/virtio_user/virtio_user_dev.h | 3 ++ drivers/net/virtio/virtio_user_ethdev.c | 19 +++++++++ 5 files changed, 97 insertions(+), 5 deletions(-)