From patchwork Thu Jul 13 11:29:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Coquelin X-Patchwork-Id: 129522 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 545C242E5F; Thu, 13 Jul 2023 13:29:13 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 30BF540DDB; Thu, 13 Jul 2023 13:29:13 +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 A192D40DDA for ; Thu, 13 Jul 2023 13:29:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1689247751; 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=+BVUFRHgN4HnhBXdc/kBbpfFSs28X/TVM13QsgI6GU8=; b=Ij006gtyq6mWX7EZ+s5jChFTb103zE5On0XgjcwYpAhSZxIdJV3BRsjGfZX+N3elbrz59N /RBSMR86pp2vUeD3JaE1dnvuXq0xPikxFlnlOJF9uAuXtK66PCMccI+2AdE16hBpz+HZ1q fmAWOawocoIGSg6B3UJf3ieN+DD34DM= 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-451-Tnov39uEMHetq5NAETZvyw-1; Thu, 13 Jul 2023 07:29:09 -0400 X-MC-Unique: Tnov39uEMHetq5NAETZvyw-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 93C351C05156; Thu, 13 Jul 2023 11:29:09 +0000 (UTC) Received: from max-t490s.redhat.com (unknown [10.39.208.24]) by smtp.corp.redhat.com (Postfix) with ESMTP id 0ED42492C13; Thu, 13 Jul 2023 11:29:07 +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 v2 0/2] vduse: TSO & vIOMMU fixes Date: Thu, 13 Jul 2023 13:29:03 +0200 Message-ID: <20230713112905.233306-1-maxime.coquelin@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.10 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 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 | 9 ++++++--- lib/vhost/vduse.c | 4 ++-- lib/vhost/vduse.h | 6 ++++-- 3 files changed, 12 insertions(+), 7 deletions(-)