From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 313CDA053A; Tue, 4 Aug 2020 09:25:00 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 23DB91BFFA; Tue, 4 Aug 2020 09:24:53 +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 3CD392AB for ; Tue, 4 Aug 2020 09:24:50 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1596525889; 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=mO/5qOTSM36nWOId5jrG7qJR1ujbYy0bmow/TtuZ4G0=; b=EhFmFdaIStFqBBwEk1ubKJZCPDzBdNFXiqlpovRMsldr75VR6jusMqMROYYFz4yrzMIYpY MFbAizosO8njkYuAoK1vdBNkoVSEDNqfg2G6Tdne+R/il7f3YG/x0R6UdDrkAOzvqvAhXT /xL3QOaEIUNh20J1KM4eJIGep8YVgnQ= 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-401-9ob41GCAOY-1RCh9GrHtJw-1; Tue, 04 Aug 2020 03:24:46 -0400 X-MC-Unique: 9ob41GCAOY-1RCh9GrHtJw-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id EEAF31005510; Tue, 4 Aug 2020 07:24:44 +0000 (UTC) Received: from amorenoz.users.ipa.redhat.com (ovpn-113-91.ams2.redhat.com [10.36.113.91]) by smtp.corp.redhat.com (Postfix) with ESMTP id C29D67852C; Tue, 4 Aug 2020 07:24:40 +0000 (UTC) From: Adrian Moreno To: dev@dpdk.org Cc: zhihong.wang@intel.com, chenbo.xia@intel.com, maxime.coquelin@redhat.com, Adrian Moreno Date: Tue, 4 Aug 2020 09:24:27 +0200 Message-Id: <20200804072431.86441-1-amorenoz@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v2 0/4] Add support for GET/SET_STATUS on virtio-user pmd 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" Recently, two new messages have been added to the vhost-user protocol that make the device initialization more robust. VHOST_VIRTIO_SET_STATUS allows the driver to set the device status VHOST_VIRTIO_GET_STATUS allows the driver to read the status back from the device This series implements these features in the virtio-user pmd --- v2: - Drop "net/virtio: split virtio-net and virtio status" An identical patch has already been merged - [Chenbo] Log when set-status fails Adrian Moreno (3): net/virtio: add DEVICE_NEEDS_RESET status bit net/virtio: add GET_STATUS support to virtio-user net/virtio: enable feature checking on virtio-user Maxime Coquelin (1): net/virtio: add VIRTIO_SET_STATUS support to Virtio-user drivers/net/virtio/virtio_ethdev.c | 13 ++-- drivers/net/virtio/virtio_pci.h | 13 ++-- drivers/net/virtio/virtio_user/vhost.h | 6 ++ drivers/net/virtio/virtio_user/vhost_user.c | 12 ++++ .../net/virtio/virtio_user/virtio_user_dev.c | 68 ++++++++++++++++++- .../net/virtio/virtio_user/virtio_user_dev.h | 2 + drivers/net/virtio/virtio_user_ethdev.c | 3 + 7 files changed, 104 insertions(+), 13 deletions(-) -- 2.26.2