From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v9 6/9] eal: auto detect iova mode Date: Fri, 06 Oct 2017 02:19:59 +0200 Message-ID: <1709089.zPNXRAn3Mx@xps> References: <20170918104234.9149-1-santosh.shukla@caviumnetworks.com> <20170920112356.17629-1-santosh.shukla@caviumnetworks.com> <20170920112356.17629-7-santosh.shukla@caviumnetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, olivier.matz@6wind.com, jerin.jacob@caviumnetworks.com, hemant.agrawal@nxp.com, aconole@redhat.com, stephen@networkplumber.org, anatoly.burakov@intel.com, gaetan.rivet@6wind.com, shreyansh.jain@nxp.com, bruce.richardson@intel.com, sergio.gonzalez.monroy@intel.com, maxime.coquelin@redhat.com To: Santosh Shukla Return-path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 8F1A71B1BD for ; Fri, 6 Oct 2017 02:20:01 +0200 (CEST) In-Reply-To: <20170920112356.17629-7-santosh.shukla@caviumnetworks.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 20/09/2017 13:23, Santosh Shukla: > For auto detection purpose: > * Below calls moved up in the eal initialization order: > - eal_option_device_parse > - rte_bus_scan > > Based on the result of rte_bus_scan_iommu_class - select iova > mapping mode. It does not explain why you need to move things up.