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 8954142C50; Mon, 12 Jun 2023 19:41:53 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 62C61410DD; Mon, 12 Jun 2023 19:41:53 +0200 (CEST) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by mails.dpdk.org (Postfix) with ESMTP id F37EE40698 for ; Mon, 12 Jun 2023 19:41:51 +0200 (CEST) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 8DC825C00A7; Mon, 12 Jun 2023 13:41:50 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Mon, 12 Jun 2023 13:41:50 -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= 1686591710; x=1686678110; bh=+B4VnHmMFKXVw2uWvRylOWZjCirzto645el oDHn+3Pc=; b=witWmFV2e6lFbJTuCNXHKtGjjv86O7Ue97pJZqRM/LPJkzA8n29 PjHhdh/vvMD9qebFqhftWRCsrhiL+AqzS4lhHuMQz0TFCmhmTauuvn8VfRh7yrLo K/AzkO03KAcIHjScrxyaLYYTCvnPS4mW5dLBqKD1OVgzONArlXigqxpJnt/zqqIw JrHZy2G7ROUzZaoosRGp5r/9y09bypuF6y/hd5XZML7JHG0xJ4/OmU1rO3C/ENsT Nj/qcpagVkJMXIgYg5IPXg0EMKDj0rFxi2r43TcBQD+jfR1GhmOmxteisE1YteLj Swy8vJyB92RzRjeyhqbD4mWo6oetm6zVx4w== 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= 1686591710; x=1686678110; bh=+B4VnHmMFKXVw2uWvRylOWZjCirzto645el oDHn+3Pc=; b=GA+jKKUNe6FlNb6qUk04T/r3q5KKKOibqjJaUALef/YEpaMtCyN OPR7M4QBDj8yV2BtOjBD6CuRR9H1dqfPm+ZIFU9SmBifzYf7+yBAdBp5wc4dZSel AEtghgAq6op3m6YBb3SRXWrDgCLnOg/UhYQob1IBG6jjg2mwsJuPwK1LzA3fnZHD 8x2xhVibYVsxrRWoPaUSyOZiyz40vu6H/SqYR1qzZbrKx++h9MIvuzbbhpXt1zUH q4yIN9vie688N5O6bg3tB9ktI4twrpCPLiQMmPqe8N7NWSEZzcAzSwyEwY8aTuTl JoELRTzJUrMI8Upt/fII6996wS99Riy7xog== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrgeduhedgudduhecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvfevufffkfgjfhgggfgtsehtqhertddttddunecuhfhrohhmpefvhhho mhgrshcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqne cuggftrfgrthhtvghrnhepfefhjeeluedvvedtuddtuedtvefhieejtefhffeujefhtedu udevtdektdeikeffnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 12 Jun 2023 13:41:49 -0400 (EDT) From: Thomas Monjalon To: Viacheslav Ovsiienko Cc: dev@dpdk.org, david.marchand@redhat.com Subject: Re: [PATCH v3] eal: choose IOVA mode according to compilation flags Date: Mon, 12 Jun 2023 19:41:48 +0200 Message-ID: <2496787.Sgy9Pd6rRy@thomas> In-Reply-To: <20230608154526.5165-1-viacheslavo@nvidia.com> References: <20230412171949.27665-1-viacheslavo@nvidia.com> <20230608154526.5165-1-viacheslavo@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" 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 08/06/2023 17:45, Viacheslav Ovsiienko: > The DPDK can be compiled to be run in IOVA VA mode with > 'enable_iova_as_pa=3Dfalse' meson option. If there is no > explicit EAL --iova-mode parameter specified in the command > line the rte_eal_init() tried to deduce VA or PA mode without > taking into account the above mentioned compile time option, > resulting into initialization failure. >=20 > Also, for FreeBSD and Windows EALs the IOVE mode checks were > added or moved to be after the mode selection code block for > final checking. >=20 > Signed-off-by: Viacheslav Ovsiienko > Reviewed-by: Morten Br=F8rup Applied, thanks.