From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8CAD541E90; Tue, 14 Mar 2023 15:30:48 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2CB744282D; Tue, 14 Mar 2023 15:30:40 +0100 (CET) Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) by mails.dpdk.org (Postfix) with ESMTP id 4477141101 for ; Tue, 14 Mar 2023 15:30:38 +0100 (CET) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 72BBC320097F; Tue, 14 Mar 2023 10:30:36 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Tue, 14 Mar 2023 10:30:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm2; t=1678804236; x= 1678890636; bh=p/G/bvoQePbXC4MOPZI7/j7x9erGBlyKrzleDF5gYmE=; b=a rM6qR5ZktJ+QT8R6VftQrWApj97s+c1rwqG59/oOs3Ze/mg29SfdpNoEp8lFKIXT dqZrIviPdq4oCwqelBCQFn6sVv9wjkYiBvj8RfSRbrVmhqdlOrY4ksGnNbJL3zjV QpJHnbWOsKhIOwHqXQVQiI5Af0HHGwiZ+EReEuqgWsKWQgSqUq2/BD1/K812QNjT SUxQeCMqRLJqJh87VLldj1xe2aLkTE83/Rya5eSO+lv1pleakI01lMO0vVg7X/oC FXG0dm0L/x4Vg8vt87Tj+sz3+viyBO17WNan/r5EpuJlpFEt/K0sPis8liNKzbJQ Jl7yvPkAz38fnVbET3FHg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1678804236; x= 1678890636; bh=p/G/bvoQePbXC4MOPZI7/j7x9erGBlyKrzleDF5gYmE=; b=D Ce0UjC5ac/SK7Wrn1LWUeJHWw5AaYNFnHwhuS5JCWtozda2v+679F8yYZDDiT5xZ LJdgQw4d0eEHxXr4vJRm9s58EnNQQJwhOcRmES0mROd08k+wKfHtcXajgeVCh80B U2oHXiLpcP2H1i3G83YSqwaqkRB8Cg+pLkqJqcF+LwY/KFVut1QMn0f91NrWossG aanjYJZFUVp38IYHGh2vpUAj2B9ZJeRzldgFoCcdGUDDUmVbZeimqHpZg18EQjr6 dFWMnsIf9ry8f8eFvkFBYg5YXi+gyvy784ML323eGEiDO2XLqtyi4MHh8+VqApDa cFSQ6eFz01Gn9cDqiXyMw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvddviedgieeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpedvjefhudeghedvtdeijeeigeetuedugfejueekieeltdfhteev keehhfeilefhtdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 14 Mar 2023 10:30:34 -0400 (EDT) From: Thomas Monjalon To: dev@dpdk.org Cc: David Marchand , Bruce Richardson , Qi Zhang , =?UTF-8?q?Morten=20Br=C3=B8rup?= , Shijith Thotton , Mahipal Challa , Harman Kalra , Ashish Gupta , Fan Zhang Subject: [PATCH v3 4/5] compress/octeontx: support IOVA forced as VA Date: Tue, 14 Mar 2023 15:29:57 +0100 Message-Id: <20230314142958.3479004-5-thomas@monjalon.net> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230314142958.3479004-1-thomas@monjalon.net> References: <20230219115529.3260580-1-thomas@monjalon.net> <20230314142958.3479004-1-thomas@monjalon.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 From: Mahipal Challa Claim octeontx compress, common and mempool drivers do not require IOVA mbuf field, so they can build when disabling enable_iova_as_pa. Signed-off-by: Mahipal Challa --- drivers/common/octeontx/meson.build | 2 ++ drivers/compress/octeontx/meson.build | 2 ++ drivers/mempool/octeontx/meson.build | 2 ++ 3 files changed, 6 insertions(+) diff --git a/drivers/common/octeontx/meson.build b/drivers/common/octeontx/meson.build index dc060dfea1..a15e2febf5 100644 --- a/drivers/common/octeontx/meson.build +++ b/drivers/common/octeontx/meson.build @@ -9,3 +9,5 @@ if not is_linux or not dpdk_conf.get('RTE_ARCH_64') endif sources = files('octeontx_mbox.c') + +require_iova_in_mbuf = false diff --git a/drivers/compress/octeontx/meson.build b/drivers/compress/octeontx/meson.build index 3a29c3e609..16f973f4d7 100644 --- a/drivers/compress/octeontx/meson.build +++ b/drivers/compress/octeontx/meson.build @@ -11,3 +11,5 @@ sources = files('otx_zip.c', 'otx_zip_pmd.c') includes += include_directories('include') deps += ['mempool_octeontx', 'bus_pci'] ext_deps += dep + +require_iova_in_mbuf = false diff --git a/drivers/mempool/octeontx/meson.build b/drivers/mempool/octeontx/meson.build index fb05928129..3ccecac75d 100644 --- a/drivers/mempool/octeontx/meson.build +++ b/drivers/mempool/octeontx/meson.build @@ -13,3 +13,5 @@ sources = files( ) deps += ['mbuf', 'bus_pci', 'common_octeontx'] + +require_iova_in_mbuf = false -- 2.39.1