From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 47FF7C46499 for ; Fri, 5 Jul 2019 14:58:04 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id CF0B121738 for ; Fri, 5 Jul 2019 14:58:03 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=monjalon.net header.i=@monjalon.net header.b="Q8RcseeR"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="SJE/VXbN" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CF0B121738 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=monjalon.net Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 609E11B9C6; Fri, 5 Jul 2019 16:58:02 +0200 (CEST) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by dpdk.org (Postfix) with ESMTP id 163041B9BD for ; Fri, 5 Jul 2019 16:58:01 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 6BF6321B24; Fri, 5 Jul 2019 10:58:00 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Fri, 05 Jul 2019 10:58:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=YOuInzNdFSQEahgdz3rfj/0HChm8uTg5TryfSfHgyeg=; b=Q8RcseeRusHZ uvtJ/gYJ77Cn07TJXRqwyh0M2RZ0j+T1otqR74bTJPPC1wEnjqbSPzyPVSAQqab7 t8SuJH+YDTl39W2NRwd7Wz0Kq5t4r0OX8n0SmUQIn6bwkbdWikL+/qF7CK25vuOC mQHcxTNXuE3kMUS+koud+LcRBiLfego= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=YOuInzNdFSQEahgdz3rfj/0HChm8uTg5TryfSfHgy eg=; b=SJE/VXbNSdMC2uznJ/FmnkM720IUuZbtGMYHKDrHX3Im4rbnjb/MG9GEK jLA8uKbM6pN1ZWBeWJpZhXN1cmHxnpE9iGNc7L3+egJaGamhZ7Vei3mypS4ZdcNh NTWFpOQAaa8b7l+9Dlq9Bx2lgEflPjVW2yktPou+VJc86eIvo9oGdTd5z2281yMG BdIiiCcVQOFsiHsQU6p96ptz+dWnRcuKE0JZdVdS6KToCDJ/NQNgJhfvzZa+NDO6 IDX+DUC8mOE2fY5Wr6RsOPiKZFjEmG2S6u1fwZdzMS7oWnM2bAVL5F/b0MG3m7zI +flHuP8lC2Z/tQTAxKSj0ScYEIKxQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrfeeggdekgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucfkph epjeejrddufeegrddvtdefrddukeegnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhho mhgrshesmhhonhhjrghlohhnrdhnvghtnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 2E5C7380083; Fri, 5 Jul 2019 10:57:59 -0400 (EDT) From: Thomas Monjalon To: David Marchand Cc: dev@dpdk.org, benjamin.walker@intel.com, jerinj@marvell.com, anatoly.burakov@intel.com, maxime.coquelin@redhat.com Date: Fri, 05 Jul 2019 16:57:57 +0200 Message-ID: <4123739.SMs651u1gE@xps> In-Reply-To: <1560505157-9769-1-git-send-email-david.marchand@redhat.com> References: <20190530174819.1160221-1-benjamin.walker@intel.com> <1560505157-9769-1-git-send-email-david.marchand@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2 0/3] Improve automatic selection of IOVA mode X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 14/06/2019 11:39, David Marchand: > In SPDK, not all drivers are registered with DPDK at start up time. > Previously, that meant DPDK always chose to set itself up in IOVA_PA > mode. Instead, when the correct iova choice is unclear based on the > devices and drivers known to DPDK at start up time, use other heuristics > (such as whether /proc/self/pagemap is accessible) to make a better > choice. > > This enables SPDK to run as an unprivileged user again without requiring > users to explicitly set the iova mode on the command line. Applied, thanks