From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 81404333 for ; Tue, 1 Jul 2014 10:59:50 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP; 01 Jul 2014 01:54:41 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.01,580,1400050800"; d="scan'208";a="537028793" Received: from irsmsx103.ger.corp.intel.com ([163.33.3.157]) by orsmga001.jf.intel.com with ESMTP; 01 Jul 2014 02:00:06 -0700 Received: from irsmsx154.ger.corp.intel.com (163.33.192.96) by IRSMSX103.ger.corp.intel.com (163.33.3.157) with Microsoft SMTP Server (TLS) id 14.3.123.3; Tue, 1 Jul 2014 09:59:50 +0100 Received: from irsmsx103.ger.corp.intel.com ([169.254.3.62]) by IRSMSX154.ger.corp.intel.com ([169.254.12.216]) with mapi id 14.03.0123.003; Tue, 1 Jul 2014 09:59:50 +0100 From: "De Lara Guarch, Pablo" To: Olivier MATZ , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] app/test: Removed vdev test in EAL flags unit test Thread-Index: AQHPlHGf3eoqrwDe+kCxQPheUuGFvpuK1A6AgAAW4/A= Date: Tue, 1 Jul 2014 08:59:49 +0000 Message-ID: References: <1404139377-24580-1-git-send-email-pablox.de.lara.guarch@intel.com> <53B271E1.1010304@6wind.com> In-Reply-To: <53B271E1.1010304@6wind.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] app/test: Removed vdev test in EAL flags unit test 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: Tue, 01 Jul 2014 08:59:51 -0000 Hi Olivier, > -----Original Message----- > From: Olivier MATZ [mailto:olivier.matz@6wind.com] > Sent: Tuesday, July 01, 2014 9:31 AM > To: De Lara Guarch, Pablo; dev@dpdk.org > Cc: Olivier MATZ > Subject: Re: [dpdk-dev] [PATCH] app/test: Removed vdev test in EAL flags > unit test >=20 > Hi Pablo, >=20 > On 06/30/2014 04:42 PM, Pablo de Lara wrote: > > From: Pablo de Lara > > > > In whitelist test, within EAL flags unit test, vdev flag > > was being tested, but test fails, as a secondary process > > cannot allocate memzones, so it cannot create the device > > and application exits. Also, this can be tested in ring > > pmd test, which needs vdev and not in whitelist, which > > should only test --pci-whitelist. > > > > Patch "app/test: fix build switches to enable cmdline tests" > > from Thomas Monjalon is needed for this patch. > > > > Signed-off-by: Pablo de Lara >=20 > If the test cannot success because it is started from a secondary > process, do you think it is possible to do it with a primary process? >=20 > I did a quick test and it works (see my patch in the same thread), but > as I'm not really familiar with this part of the code, I may have > forgotten something. >=20 > Regards, > Olivier I checked your patch, and I got this: ... EAL: Detected lcore 38 as core 11 on socket 1 EAL: Detected lcore 39 as core 12 on socket 1 EAL: Support maximum 64 logical core(s) by configuration. EAL: Detected 40 lcore(s) ./x86_64-native-linuxapp-gcc/app/test: unrecognized option '--prefix=3Dwhit= elist' Also, I thought we could not run two primary process at the same time=20 (considering that the test app is a primary process). Thanks, Pablo