From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] app/test: fix multiprocess unit test when device is bound to uio Date: Wed, 17 Dec 2014 01:11:46 +0100 Message-ID: <17516341.UzgSQ56bLf@xps13> References: <1418305835-10031-1-git-send-email-pablo.de.lara.guarch@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev-VfR2kkLFssw@public.gmane.org To: Pablo de Lara Return-path: In-Reply-To: <1418305835-10031-1-git-send-email-pablo.de.lara.guarch-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" > Since commit a155d4301 "support link bonding device initialization", > EAL probes drivers to the PCI devices in rte_eal_init, > then PCI resources are mapped if a device > is bound to igb_uio driver, for instance. > Therefore, test app probes all the devices and multiprocess unit test > tries to map resources twice in the secondary processes, and test fails, > caused by RTE_PCI_DRV_NEEDED_MAPPING flag in dummy pci driver my_driver2. > > Test is fixed by setting the driver flags to 0. > > Signed-off-by: Pablo de Lara Applied Thanks -- Thomas