From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 34FE5A0487 for ; Fri, 5 Jul 2019 10:26:06 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D24BD1B9A8; Fri, 5 Jul 2019 10:26:05 +0200 (CEST) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id D768D1B959 for ; Fri, 5 Jul 2019 10:26:04 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 447FF20A0E; Fri, 5 Jul 2019 04:26:04 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Fri, 05 Jul 2019 04:26:04 -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=cRajU2VFccJh+Ho498i6lDRZBOFxMS03Q/XgRMxANt0=; b=DdIyaJzvcdZ6 IO4G6haV3PrRfZVpVrxpXekjd1fjJPIPDG34EH09cAZ0KwvnNMRZ6YK/X0cQddVr zoT20Rpk2AdBp9PlX2fROJcPlsMcRGQtRO+qrpV0m2A5gvKZNO8VjGafW/W/wZmM 2DSBB6ORXP1yg4haeL3YzPppA/l1UDw= 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=cRajU2VFccJh+Ho498i6lDRZBOFxMS03Q/XgRMxAN t0=; b=Mxrhh8T55eqW3CeyX/w0HKzVcLKk39gi09VFcQ4+OAQbJYOyDUbA7P+HV CsdnzsZvhwr9sqfI9xmqxnF2IgzcF8Wy08BFDHw/Ir/knruVXMYHvAG5U1T4WfWf gz5ThEdgh872HtLdomUV+Uyfc0HSFEaiMZv4gkWM53e09Er8XnjMDSv8coYL1xqa +yBF0DR0lTR9iAvLQ8dXCqZJTEQHcimPpCPd0xPfvcndIgh3iK+lKbTwoZGvha0/ pMe0cU+cHRsDqdUSs6onSJJaxZ8BuhYGXCfzKMFKYrqEU5M84q/rI4jO1ndbSwCZ x3C6wAoHlR32r64CC0ZOgCfrZHImA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrfeeggddtgecutefuodetggdotefrodftvf 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 33F8A380076; Fri, 5 Jul 2019 04:26:02 -0400 (EDT) From: Thomas Monjalon To: Stephen Hemminger , 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 10:26:01 +0200 Message-ID: <2350820.EJgAhPrWli@xps> In-Reply-To: <20190704101418.4fc26cc3@hermes.lan> References: <20190530174819.1160221-1-benjamin.walker@intel.com> <1560505157-9769-4-git-send-email-david.marchand@redhat.com> <20190704101418.4fc26cc3@hermes.lan> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2 3/3] bus/pci: only consider usable devices to select 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" 04/07/2019 19:14, Stephen Hemminger: > On Fri, 14 Jun 2019 11:39:17 +0200 > David Marchand wrote: > > > /* Supports only RTE_KDRV_NIC_UIO */ > > + if (pdev->kdrv != RTE_KDRV_NIC_UIO) > > + RTE_LOG(DEBUG, EAL, "Unsupported kernel driver? Defaulting to IOVA as 'PA'\n"); > > Maybe NOTICE level, rather than DEBUG which is usually suppressed. DEBUG may be enough here, as it is not something unexpected. The IOVA choice will be printed in INFO level: RTE_LOG(INFO, EAL, "Selected IOVA mode '%s'\n", rte_eal_iova_mode() == RTE_IOVA_PA ? "PA" : "VA");