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 BBB0641E90; Tue, 14 Mar 2023 15:30:14 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4C9BA40F18; Tue, 14 Mar 2023 15:30:14 +0100 (CET) Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) by mails.dpdk.org (Postfix) with ESMTP id 2FC8F40A7E for ; Tue, 14 Mar 2023 15:30:12 +0100 (CET) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id 55E21320094D; Tue, 14 Mar 2023 10:30:09 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Tue, 14 Mar 2023 10:30:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type: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= 1678804208; x=1678890608; bh=SMfhDhyX1FQGDWW4vod2tytDeljv9Jj8sFb Cy41x3Oo=; b=Lrsbre8Ie/YXZ8l8UkNJeWZ7w7XiT8kFL2q88prsFtoLd26d1YR 3wXAgeqZTuCpDneTOwy8vXfDQEj0ppwqk3xg9miIuoqlmu/AqmH6yPwi82q/HYs1 4tzos2W4sqntmICF8WobB8Bz6pL6wmjDixNbmBE5SuGtH0fc4Q4r23eOmR6E8vR/ CSXm/BSdfbrT7feW3Jqk7Fvq+iLSwPV30IU4LVzKV3F/gBNWjJSqov+D4ah+5uBN YkseHGcGMz8yrwFgHhbG2C8N29rhY0FTChT9fWIf01KXMIBxa1mf2h+gaKjjNUZr TJhvTh8jA0uM5kURkplotoWkGi9aJ9yJlpw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type: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= 1678804208; x=1678890608; bh=SMfhDhyX1FQGDWW4vod2tytDeljv9Jj8sFb Cy41x3Oo=; b=UvLut9xMt3tAvdrIb2nBDwIwW7QDWBvXtz9exGhJ0ka1GUMktPS JZikbfR5Ek0Zf/gNoEzjcmr4cIBhK2Gto/QwhFYugnIBdwnQQYefzT1Ye42XNrg9 UBZccRx1J1T16MMcWjJabZCb1AreA4YvaiwX+cenomPBrC4zXUZIPXQ0nxfx73dE ZxkH0+D0AcjcE9mU5JipAXxrZQCKm3/57gMSvN94e50ms4PlsiiIqgawUQ9JGCkU uGxfiHNRXn1ULyXRB5QflxbA3+DFFYxpsuwnXt/DH5yy50gJEGaf6NTjSfji0ZXC OLgW3clpPhs94iJOKvJD2ren8dpwsHJKtGw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvddviedgieejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgjfhggtgfgsehtkeertdertdejnecuhfhrohhmpefvhhho mhgrshcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqne cuggftrfgrthhtvghrnheptdeiffffgeefteelhfekueetueduffejgfelvedtieejudek gfevheetheehgeejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 14 Mar 2023 10:30:07 -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 Subject: [PATCH v3 0/5] refactor disabling IOVA as PA Date: Tue, 14 Mar 2023 15:29:53 +0100 Message-Id: <20230314142958.3479004-1-thomas@monjalon.net> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230219115529.3260580-1-thomas@monjalon.net> References: <20230219115529.3260580-1-thomas@monjalon.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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 As discussed recently in some email threads, it looks simpler to reword the feature "enabling IOVA as PA" to "requiring IOVA in mbuf". The Meson option name is not changed (compatibility is kept) but the variables are renamed. Some patches to allow building of some drivers are integrated. The last patch is fixing the build when IOVA as PA is disabled. v3: use C macro, rebase, fixes v2: renames Chengwen Feng (2): net/hns3: support IOVA forced as VA dma/hisilicon: support IOVA forced as VA Mahipal Challa (1): compress/octeontx: support IOVA forced as VA Thomas Monjalon (2): build: clarify configuration without IOVA field in mbuf drivers: skip build of sub-libs not supporting IOVA mode app/test/test_mbuf.c | 2 +- config/arm/meson.build | 4 ++-- config/meson.build | 2 +- drivers/bus/auxiliary/meson.build | 3 +++ drivers/bus/pci/meson.build | 2 ++ drivers/bus/platform/meson.build | 2 ++ drivers/bus/vdev/meson.build | 2 ++ drivers/bus/vmbus/meson.build | 3 ++- drivers/common/cnxk/meson.build | 2 +- drivers/common/iavf/meson.build | 3 ++- drivers/common/idpf/meson.build | 4 ++++ drivers/common/octeontx/meson.build | 2 ++ drivers/compress/octeontx/meson.build | 2 ++ drivers/crypto/armv8/meson.build | 2 +- drivers/crypto/cnxk/meson.build | 2 +- drivers/crypto/ipsec_mb/meson.build | 2 +- drivers/crypto/null/meson.build | 2 +- drivers/crypto/openssl/meson.build | 2 +- drivers/dma/cnxk/meson.build | 2 +- drivers/dma/hisilicon/meson.build | 2 ++ drivers/dma/skeleton/meson.build | 2 +- drivers/event/cnxk/meson.build | 2 +- drivers/event/dlb2/meson.build | 5 ++++- drivers/event/dsw/meson.build | 2 +- drivers/event/opdl/meson.build | 2 +- drivers/event/skeleton/meson.build | 2 +- drivers/event/sw/meson.build | 2 +- drivers/mempool/bucket/meson.build | 2 +- drivers/mempool/cnxk/meson.build | 2 +- drivers/mempool/octeontx/meson.build | 2 ++ drivers/mempool/ring/meson.build | 2 +- drivers/mempool/stack/meson.build | 2 +- drivers/meson.build | 6 +++--- drivers/ml/cnxk/meson.build | 4 ++-- drivers/net/af_packet/meson.build | 2 +- drivers/net/af_xdp/meson.build | 2 +- drivers/net/bnxt/meson.build | 4 ++++ drivers/net/bonding/meson.build | 3 ++- drivers/net/cnxk/meson.build | 3 ++- drivers/net/cpfl/meson.build | 4 +--- drivers/net/enic/meson.build | 4 ++++ drivers/net/failsafe/meson.build | 3 ++- drivers/net/hns3/hns3_rxtx_vec_neon.h | 2 +- drivers/net/hns3/hns3_rxtx_vec_sve.c | 13 +++++++++---- drivers/net/hns3/meson.build | 8 ++------ drivers/net/i40e/meson.build | 4 ++++ drivers/net/iavf/meson.build | 3 +++ drivers/net/ice/ice_rxtx_common_avx.h | 12 ++++++------ drivers/net/ice/ice_rxtx_vec_sse.c | 4 ++-- drivers/net/ice/meson.build | 3 ++- drivers/net/memif/meson.build | 3 ++- drivers/net/null/meson.build | 2 +- drivers/net/pcap/meson.build | 3 ++- drivers/net/ring/meson.build | 2 +- drivers/net/tap/meson.build | 3 ++- drivers/net/virtio/meson.build | 4 ++++ drivers/raw/cnxk_bphy/meson.build | 2 +- drivers/raw/cnxk_gpio/meson.build | 2 +- drivers/raw/skeleton/meson.build | 2 +- lib/eal/linux/eal.c | 2 +- lib/mbuf/rte_mbuf.c | 2 +- lib/mbuf/rte_mbuf.h | 4 ++-- lib/mbuf/rte_mbuf_core.h | 8 ++++---- lib/mbuf/rte_mbuf_dyn.c | 2 +- lib/meson.build | 2 +- meson_options.txt | 2 +- 66 files changed, 127 insertions(+), 76 deletions(-) -- 2.39.1