From patchwork Wed Jul 5 13:22:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Coquelin X-Patchwork-Id: 129297 X-Patchwork-Delegate: maxime.coquelin@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 0C91842DD8; Wed, 5 Jul 2023 15:22:52 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 621F642D0E; Wed, 5 Jul 2023 15:22:44 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id C85EB4021F for ; Wed, 5 Jul 2023 15:22:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1688563361; 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=01Y+wDqHr5BV5bQx4RCGADheAJMAH6aaDRZMr5XIXU0=; b=d++fV5SFnCjO6e6A3k5yCEDVdH+mx5VxUvTL6YACy7mzBzJRYz2VckFbi2B2wfDOxoLSuV ZmDv8XuXf1JHjjqX4nRWnwdxG1pAQMmQi3YZFDhdnn68344B9jieHZBiGdrJvN+2x4BtQx hedSSY0f6DPot+16QUdNpcwFFhrtH8E= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-549-JqMWIn7ZOy6KjJO2gqbUmQ-1; Wed, 05 Jul 2023 09:22:40 -0400 X-MC-Unique: JqMWIn7ZOy6KjJO2gqbUmQ-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 88E7B856F66; Wed, 5 Jul 2023 13:22:39 +0000 (UTC) Received: from max-t490s.redhat.com (unknown [10.39.208.34]) by smtp.corp.redhat.com (Postfix) with ESMTP id 8E82C40C2063; Wed, 5 Jul 2023 13:22:38 +0000 (UTC) From: Maxime Coquelin To: dev@dpdk.org, chenbo.xia@intel.com, david.marchand@redhat.com Cc: Maxime Coquelin Subject: [PATCH 2/2] vduse: fix missing event index features Date: Wed, 5 Jul 2023 15:22:32 +0200 Message-ID: <20230705132232.114266-3-maxime.coquelin@redhat.com> In-Reply-To: <20230705132232.114266-1-maxime.coquelin@redhat.com> References: <20230705132232.114266-1-maxime.coquelin@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org This features was mistakenly removed, add it back. Fixes: 0adb8eccc6a6 ("vhost: add VDUSE device creation and destruction") Signed-off-by: Maxime Coquelin --- lib/vhost/vduse.h | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/vhost/vduse.h b/lib/vhost/vduse.h index cd55bfd858..46753fec73 100644 --- a/lib/vhost/vduse.h +++ b/lib/vhost/vduse.h @@ -22,6 +22,7 @@ (1ULL << VIRTIO_NET_F_GUEST_UFO) | \ (1ULL << VIRTIO_NET_F_GUEST_ECN) | \ (1ULL << VIRTIO_RING_F_INDIRECT_DESC) | \ + (1ULL << VIRTIO_RING_F_EVENT_IDX) | \ (1ULL << VIRTIO_F_IN_ORDER) | \ (1ULL << VIRTIO_F_IOMMU_PLATFORM) | \ (1ULL << VIRTIO_NET_F_CTRL_VQ) | \