From patchwork Thu Jul 13 13:52:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Coquelin X-Patchwork-Id: 129525 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 83FE842E5F; Thu, 13 Jul 2023 15:52:47 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 57E2240EE7; Thu, 13 Jul 2023 15:52:47 +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 729BE40DDA for ; Thu, 13 Jul 2023 15:52:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1689256366; 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=tNf9r+XodYccQDGKUGBOvnqUnKtYcOgEuiV/GKJSJGk=; b=GctAAY/DetrQ+S79ROk8j9qB6YGUfIHQ3t8h8/7A1naEdIYHgK6Vo+6x9jQg5hC98OczZv lkFbQOYEu/zA9QwtVD2Ul+U90LSvbUhkQxQxPbVxDEHnP3GEzfi5k3LSeVtiwUAO3buB2M mAXPPwyZ5cdP00xojeoOl9DFZEWemsg= Received: from mimecast-mx02.redhat.com (66.187.233.73 [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-637-S5a3XGVuNnilA_Vr7vVuDg-1; Thu, 13 Jul 2023 09:52:44 -0400 X-MC-Unique: S5a3XGVuNnilA_Vr7vVuDg-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 626EC1C07832; Thu, 13 Jul 2023 13:52:44 +0000 (UTC) Received: from max-t490s.redhat.com (unknown [10.39.208.24]) by smtp.corp.redhat.com (Postfix) with ESMTP id D2B261454142; Thu, 13 Jul 2023 13:52:42 +0000 (UTC) From: Maxime Coquelin To: dev@dpdk.org, david.marchand@redhat.com, thomas@monjalon.net, chenbo.xia@intel.com, aconole@redhat.com, ktraynor@redhat.com Cc: Maxime Coquelin Subject: [PATCH v3 0/2] vduse: TSO & vIOMMU fixes Date: Thu, 13 Jul 2023 15:52:38 +0200 Message-ID: <20230713135240.240453-1-maxime.coquelin@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.7 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 series contains two patches to fix TSO support and enable vIOMMU by default as it is required by VDUSE. Changes in v3: ============== - Ensure async copy cannot be enabled with VDUSE (Kevin) Changes in v2: ============== - Fix typo in commit message - Fix build when VDUSE is not supported by the Kernel (0-day robot) Maxime Coquelin (2): vhost: fix net offload compliance vhost: force vIOMMU enablement with VDUSE lib/vhost/socket.c | 14 ++++++++------ lib/vhost/vduse.c | 4 ++-- lib/vhost/vduse.h | 6 ++++-- 3 files changed, 14 insertions(+), 10 deletions(-)