From patchwork Mon Mar 6 16:13:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Monjalon X-Patchwork-Id: 124817 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 3F71141DCD; Mon, 6 Mar 2023 17:13:37 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 214CE40EDB; Mon, 6 Mar 2023 17:13:37 +0100 (CET) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by mails.dpdk.org (Postfix) with ESMTP id A790E40A8A for ; Mon, 6 Mar 2023 17:13:35 +0100 (CET) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 2A7DF5C0032; Mon, 6 Mar 2023 11:13:35 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Mon, 06 Mar 2023 11:13:35 -0500 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=fm1; t= 1678119215; x=1678205615; bh=Z+w81fMwO3oVTOP88i8A11rm6aNGAOyacQ5 0MOSpsO0=; b=kV4GF/syxGAHWfeS8zE7pU6PvsmjgmSwAF8krYMo6yGLBzFsnI7 csYlCkDSxx1nH7kVKzd72+TeE9AHe6qJMA6dx5I/kfGuLwPNWCXjuQsziePgueQp Gem7ApkdaIxlFDBhwglpQCxDKWiVpyRaKkwHvICLaDKG2zIIf0y1WLYuvoTTq4CQ 6CpxvXTcnX3AbdV+Z4cTNPmUwMHtnKqZtFoEQ3bJZI5FAfiG7zY6x238roChYPPp WPfg6Qeo2PYzFrkINh6ngY4F4zQBUCgfcEsxeASJOBUan/+BHDrAUXGORsMIznup xX3zUJcTxoyELKZV7fzWOUFoloTyD7Mjhzg== 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=fm1; t= 1678119215; x=1678205615; bh=Z+w81fMwO3oVTOP88i8A11rm6aNGAOyacQ5 0MOSpsO0=; b=nB7Oic4g5gLWgHaKUmd9gTK/LbA9S+km8dJumaFrST6OdfeuflA B9wh/L9QHq3p+3UZetO23KCe3zmPi87r9Gq97rT+jZzyj+2x7JLnilaeohHgjMPO ae32wCNaf1iK/kRhf78UEL9mRBefVaE+7IKi7tsqgh1w/n9pI81941Vk0CFGVdmQ AgCOPS5ULZEhIt5PqWkhBUqG1NJxKmgAD2A2JdpdQstRboiwpKzKH4Ix5TPpofz7 kalWjPdLGrLV36CtRnf54FZBImG8r6YYMi96r32AL+SxtEG1lkPUumaWTf55+caj FI79JysCvqItPp6fHK+2lb00Ht2QUARVfRw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvddtkedgheekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgjfhggtgfgsehtkeertdertdejnecuhfhrohhmpefvhhho mhgrshcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqne cuggftrfgrthhtvghrnheptdeiffffgeefteelhfekueetueduffejgfelvedtieejudek gfevheetheehgeejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 6 Mar 2023 11:13:33 -0500 (EST) From: Thomas Monjalon To: dev@dpdk.org Cc: David Marchand , Bruce Richardson , Qi Zhang , =?utf-8?q?Morten_Br=C3=B8rup?= , Shijith Thotton Subject: [PATCH v2 0/2] refactor diasbling IOVA as PA Date: Mon, 6 Mar 2023 17:13:26 +0100 Message-Id: <20230306161328.3802696-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 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. The second patch (which can be applied alone) is fixing the build when IOVA as PA is disabled. v2: renames 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 +- doc/guides/rel_notes/release_22_11.rst | 2 +- drivers/common/cnxk/meson.build | 2 +- drivers/common/iavf/meson.build | 2 +- drivers/common/idpf/meson.build | 4 ++++ 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/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/ring/meson.build | 2 +- drivers/mempool/stack/meson.build | 2 +- drivers/meson.build | 6 +++--- 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 | 2 +- drivers/net/cnxk/meson.build | 2 +- drivers/net/enic/meson.build | 4 ++++ drivers/net/failsafe/meson.build | 2 +- drivers/net/hns3/meson.build | 4 +--- 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 | 2 +- drivers/net/memif/meson.build | 2 +- drivers/net/null/meson.build | 2 +- drivers/net/pcap/meson.build | 2 +- drivers/net/ring/meson.build | 2 +- drivers/net/tap/meson.build | 2 +- 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 +- 54 files changed, 87 insertions(+), 63 deletions(-)