From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 65E01107A for ; Wed, 11 Oct 2017 10:31:29 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Oct 2017 01:31:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.43,360,1503385200"; d="scan'208";a="1229513243" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga002.fm.intel.com with ESMTP; 11 Oct 2017 01:31:27 -0700 Received: from fmsmsx151.amr.corp.intel.com (10.18.125.4) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 11 Oct 2017 01:31:26 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by FMSMSX151.amr.corp.intel.com (10.18.125.4) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 11 Oct 2017 01:31:26 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.213]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.93]) with mapi id 14.03.0319.002; Wed, 11 Oct 2017 16:31:16 +0800 From: "Tan, Jianfeng" To: santosh , "olivier.matz@6wind.com" , "dev@dpdk.org" CC: "thomas@monjalon.net" , "jerin.jacob@caviumnetworks.com" , "hemant.agrawal@nxp.com" , "aconole@redhat.com" , "stephen@networkplumber.org" , "Burakov, Anatoly" , "gaetan.rivet@6wind.com" , "shreyansh.jain@nxp.com" , "Richardson, Bruce" , "Gonzalez Monroy, Sergio" , "maxime.coquelin@redhat.com" Thread-Topic: [dpdk-dev] [PATCH v10 3/9] linuxapp/eal_pci: get iommu class Thread-Index: AQHTPpL+QoBFGNVWnE2b1ST6YRIH8aLd6K0A//+rGgCAAJOPAP//e5mAgACLMVD//46ngAASiM9g Date: Wed, 11 Oct 2017 08:31:16 +0000 Message-ID: References: <20170920112356.17629-1-santosh.shukla@caviumnetworks.com> <20171006110346.13247-1-santosh.shukla@caviumnetworks.com> <20171006110346.13247-4-santosh.shukla@caviumnetworks.com> <02200f40-8158-27ec-02c1-aa5ba92e824a@caviumnetworks.com> <15d6938c-43dd-9301-71e4-b32a78765fb4@intel.com> <58c2e956-0c7c-0e42-c28a-334e30d802cc@caviumnetworks.com> In-Reply-To: <58c2e956-0c7c-0e42-c28a-334e30d802cc@caviumnetworks.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v10 3/9] linuxapp/eal_pci: get iommu class 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: , X-List-Received-Date: Wed, 11 Oct 2017 08:31:29 -0000 > > Then how about we enable this, iova=3Dva, if only all PCI devices are b= inded > to vfio-pci (iommu mode)? >=20 > Right, same I proposed (I guess) in v2 such that iova bus autodetecting i= n > case see all device bound > to vfio-pci then autoselect iova=3Dva, in v3 series (I guess) discussion:= it was > concluded that > better to send hint from driver. Refer work history, though iova bus stil= l does > said > auto-detection. Sorry I missed that. I tend to think that almost all PMDs for physical devi= ces shall add this flag then. Thanks, Jianfeng