From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f52.google.com (mail-wg0-f52.google.com [74.125.82.52]) by dpdk.org (Postfix) with ESMTP id 16CFA3F9 for ; Wed, 17 Dec 2014 01:12:14 +0100 (CET) Received: by mail-wg0-f52.google.com with SMTP id x12so18820685wgg.39 for ; Tue, 16 Dec 2014 16:12:14 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=sI575+Fy/U/UH+9ZBUtmc+eiOkg8Tj3PAEWjye3A6UQ=; b=hG4bSnfqSp77wCtlNXSKDihct1+rIWmehhbghIp1yqU4EiCNzYFGo73c2rBqMHBlXk U9Q9fzBc3QqJaphML+hVf6fqlUFWDHE7zZCSq09LpToXMOC/hhQvtVOflMSxEQtkpb5o jpmzVVuZJoln0PNmRZnae150HuqzK0nhkhN5uboWT+RzAHUtmzpYD+TMi4oHd/s9fySY VYgw0pRCpFxdDTokeoIjnEEYnWWzWpkttsJjl95vF+5jAAN8Xv68xxqYI3DM0elwsfbu hJiRFddTV+oAgSIlYvHzCxHTNUYPOViiYLwFIlTGVQBlGYrHwg1wsqTjV8udMVudZO0W z0WA== X-Gm-Message-State: ALoCoQn1n6MFy4skcMHfrts3lX6AcyWMoX5C71IVse0z8qdfccAMHGA27M9ZPi2FM9IDz7g/zlQk X-Received: by 10.180.205.163 with SMTP id lh3mr9178241wic.63.1418775133932; Tue, 16 Dec 2014 16:12:13 -0800 (PST) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id gl5sm18737708wib.0.2014.12.16.16.12.12 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Dec 2014 16:12:13 -0800 (PST) From: Thomas Monjalon To: Pablo de Lara Date: Wed, 17 Dec 2014 01:11:46 +0100 Message-ID: <17516341.UzgSQ56bLf@xps13> Organization: 6WIND User-Agent: KMail/4.14.3 (Linux/3.17.4-1-ARCH; KDE/4.14.3; x86_64; ; ) In-Reply-To: <1418305835-10031-1-git-send-email-pablo.de.lara.guarch@intel.com> References: <1418305835-10031-1-git-send-email-pablo.de.lara.guarch@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] app/test: fix multiprocess unit test when device is bound to uio X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Dec 2014 00:12:14 -0000 > 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