From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v3] eal: read and parse device option separately Date: Thu, 03 Aug 2017 19:57:41 +0200 Message-ID: <5262738.FVJRLsIQ6H@xps> References: <9208af1d05aa250b54f145aefbefaf070797dc90.1501693678.git.gaetan.rivet@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Dirk-Holger Lenz To: Gaetan Rivet Return-path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id AFC90324B for ; Thu, 3 Aug 2017 19:57:43 +0200 (CEST) In-Reply-To: <9208af1d05aa250b54f145aefbefaf070797dc90.1501693678.git.gaetan.rivet@6wind.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" 02/08/2017 19:10, Gaetan Rivet: > When the EAL parses the common options given to the application, > not all subsystems are available. Some device drivers are registered > afterward upon dynamic plugin loading. > > Devices using those drivers are thus unable to be parsed by any drivers > and are rejected. > > Store the device options first and keep them for later processing. > Parse these right before initializing the buses, the drivers must have > been stabilized at this point. > > Signed-off-by: Gaetan Rivet > Tested-by: Dirk-Holger Lenz Applied, thanks