From patchwork Thu Jul 6 08:12:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Coquelin X-Patchwork-Id: 129327 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 D4FA942DE6; Thu, 6 Jul 2023 10:13:07 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C209C40A79; Thu, 6 Jul 2023 10:13:07 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id 26EB340A79 for ; Thu, 6 Jul 2023 10:13:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1688631185; 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=+pN/IaAlvGfxCAF+UrbGSBRV0zhsKV7CmGbvMYOaSmk=; b=bwDUIrzLuxuZmWHmdUigd6fVRK6tGDbrLMm04XDD7VsnBe0JzjmMkcQO64qJT/pCiqoi2D fN5Hub8KD7GHw8v+fu1Ey0f8qdMjl8MrX57DT3YEsMx/yHJhOAwgQ1A/OOvjJRNWmMZUr+ E+r9gWaae1DS64TwnrGQAHM4CR3otAw= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-616-ObzbO_TsOIC7I-ax0rCFRg-1; Thu, 06 Jul 2023 04:13:03 -0400 X-MC-Unique: ObzbO_TsOIC7I-ax0rCFRg-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 8066F3C0DDA1; Thu, 6 Jul 2023 08:13:03 +0000 (UTC) Received: from max-t490s.redhat.com (unknown [10.39.208.34]) by smtp.corp.redhat.com (Postfix) with ESMTP id CBE791121330; Thu, 6 Jul 2023 08:12:25 +0000 (UTC) From: Maxime Coquelin To: dev@dpdk.org, chenbo.xia@intel.com, david.marchand@redhat.com Cc: Maxime Coquelin Subject: [PATCH v2 0/2] VDUSE fixes for v23.07 Date: Thu, 6 Jul 2023 10:12:21 +0200 Message-ID: <20230706081223.151832-1-maxime.coquelin@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.3 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 small series brings a couple of VDUSE fixes for v23.07, discovered during testing with OVS-DPDK. Changes in v2: ============== - Define a common set of features to highlight delta between Vhsot and VDUSE (David) - Change patches order for simplification Maxime Coquelin (2): vduse: fix missing event index features vhost: fix vduse features negotiation lib/vhost/socket.c | 19 +++++++++++++------ lib/vhost/vduse.c | 28 +++++++--------------------- lib/vhost/vduse.h | 2 ++ lib/vhost/vhost.h | 8 +------- lib/vhost/vhost_user.h | 9 +++++++++ 5 files changed, 32 insertions(+), 34 deletions(-) Reviewed-by: David Marchand