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 4D89FA046B for ; Fri, 26 Jul 2019 07:08:29 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2D9BF1C3C3; Fri, 26 Jul 2019 07:08:28 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id E34AD1C3C3 for ; Fri, 26 Jul 2019 07:08:26 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Jul 2019 22:08:25 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,309,1559545200"; d="scan'208";a="254213617" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga001.jf.intel.com with ESMTP; 25 Jul 2019 22:08:25 -0700 Received: from hasmsx114.ger.corp.intel.com (10.184.198.65) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 25 Jul 2019 22:08:24 -0700 Received: from hasmsx105.ger.corp.intel.com ([169.254.1.231]) by HASMSX114.ger.corp.intel.com ([169.254.14.198]) with mapi id 14.03.0439.000; Fri, 26 Jul 2019 08:08:22 +0300 From: "Stojaczyk, Dariusz" To: "Burakov, Anatoly" , "dev@dpdk.org" CC: "Mcnamara, John" , "Kovacevic, Marko" , "thomas@monjalon.net" , "david.marchand@redhat.com" , "jerinj@marvell.com" Thread-Topic: [PATCH v3] eal: pick IOVA as PA if IOMMU is not available Thread-Index: AQHVQtjyAWUxc2+xPE+SOKcH77OFyabcRZpg Date: Fri, 26 Jul 2019 05:08:22 +0000 Message-ID: References: <8b7148c100678ee2f4cd9b94168b006e851fe6ef.1564052753.git.anatoly.burakov@intel.com> In-Reply-To: <8b7148c100678ee2f4cd9b94168b006e851fe6ef.1564052753.git.anatoly.burakov@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.600.7 dlp-reaction: no-action x-originating-ip: [10.184.70.10] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v3] eal: pick IOVA as PA if IOMMU is not available 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" > -----Original Message----- > From: Burakov, Anatoly > Sent: Thursday, July 25, 2019 1:06 PM > To: dev@dpdk.org > Cc: Mcnamara, John ; Kovacevic, Marko > ; Stojaczyk, Dariusz > ; thomas@monjalon.net; > david.marchand@redhat.com; jerinj@marvell.com > Subject: [PATCH v3] eal: pick IOVA as PA if IOMMU is not available >=20 > When IOMMU is not available, /sys/kernel/iommu_groups will not be > populated. This is happening since at least 3.6 when VFIO support > was added. If the directory is empty, EAL should not pick IOVA as > VA as the default IOVA mode. >=20 > Signed-off-by: Anatoly Burakov > --- Tested-by: Darek Stojaczyk Thanks!