From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 86837590B for ; Fri, 7 Nov 2014 00:34:40 +0100 (CET) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga103.fm.intel.com with ESMTP; 06 Nov 2014 15:37:48 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.07,328,1413270000"; d="scan'208";a="618541625" Received: from irsmsx104.ger.corp.intel.com ([163.33.3.159]) by fmsmga001.fm.intel.com with ESMTP; 06 Nov 2014 15:44:06 -0800 Received: from irsmsx105.ger.corp.intel.com ([169.254.7.56]) by IRSMSX104.ger.corp.intel.com ([169.254.5.58]) with mapi id 14.03.0195.001; Thu, 6 Nov 2014 23:44:06 +0000 From: "Ananyev, Konstantin" To: Eduard Gibert Renart , "" Thread-Topic: [dpdk-dev] Cannot run l3fwd Thread-Index: AQHP+fmLFhIp7ui+EU+YHCEOdKHBGpxUP9Lw Date: Thu, 6 Nov 2014 23:44:05 +0000 Message-ID: <2601191342CEEE43887BDE71AB977258213A2F9E@IRSMSX105.ger.corp.intel.com> References: <1415146642-24717-1-git-send-email-marc.sune@bisdn.de> <545BBBF4.7010501@bisdn.de> <236BCFEC-58FD-47D2-9B5E-E892CE8FBF6D@gmail.com> In-Reply-To: <236BCFEC-58FD-47D2-9B5E-E892CE8FBF6D@gmail.com> Accept-Language: en-IE, 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] Cannot run l3fwd 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: Thu, 06 Nov 2014 23:34:41 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Eduard Gibert Renart > Sent: Thursday, November 06, 2014 7:40 PM > To: > Subject: [dpdk-dev] Cannot run l3fwd >=20 > Hi Everyone: >=20 > When I try to run l3fwd inside my VM I get the following error: >=20 > ubuntu@ubuntu-VirtualBox:~/Desktop/dpdk-1.7.1/examples/l3fwd/build$ sudo = ./l3fwd -c 0x3 -n 2 -- -p 0x3 --config=3D"(0,0,0),(1,0,1)" > EAL: Cannot read numa node link for lcore 0 - using physical package id i= nstead > EAL: Detected lcore 0 as core 0 on socket 0 > EAL: Cannot read numa node link for lcore 1 - using physical package id i= nstead > EAL: Detected lcore 1 as core 1 on socket 0 > EAL: Support maximum 64 logical core(s) by configuration. > EAL: Detected 2 lcore(s) > EAL: Setting up memory... > EAL: cannot open /proc/self/numa_maps, consider that all memory is in soc= ket_id 0 > EAL: Ask a virtual area of 0x400000 bytes > EAL: Virtual area found at 0xb6400000 (size =3D 0x400000) > EAL: Ask a virtual area of 0x200000 bytes > EAL: Virtual area found at 0xb6000000 (size =3D 0x200000) > EAL: Ask a virtual area of 0xf000000 bytes > EAL: Virtual area found at 0xa6e00000 (size =3D 0xf000000) > EAL: Ask a virtual area of 0x1e200000 bytes > EAL: Virtual area found at 0x88a00000 (size =3D 0x1e200000) > EAL: Ask a virtual area of 0x200000 bytes > EAL: Virtual area found at 0x88600000 (size =3D 0x200000) > EAL: Ask a virtual area of 0x200000 bytes > EAL: Virtual area found at 0x88200000 (size =3D 0x200000) > EAL: Ask a virtual area of 0x200000 bytes > EAL: Virtual area found at 0x87e00000 (size =3D 0x200000) > EAL: Ask a virtual area of 0x200000 bytes > EAL: Virtual area found at 0x87a00000 (size =3D 0x200000) > EAL: Ask a virtual area of 0xe400000 bytes > EAL: Virtual area found at 0x79400000 (size =3D 0xe400000) > EAL: Ask a virtual area of 0x2200000 bytes > EAL: Virtual area found at 0x77000000 (size =3D 0x2200000) > EAL: Ask a virtual area of 0xc00000 bytes > EAL: Virtual area found at 0x76200000 (size =3D 0xc00000) > EAL: Ask a virtual area of 0xe00000 bytes > EAL: Virtual area found at 0x75200000 (size =3D 0xe00000) > EAL: Requesting 512 pages of size 2MB from socket 0 > EAL: TSC frequency is ~2503668 KHz > EAL: WARNING: cpu flags constant_tsc=3Dyes nonstop_tsc=3Dno -> using unre= liable clock cycles ! > EAL: Master core 0 is ready (tid=3Db75c2800) > EAL: Core 1 is ready (tid=3D751ffb40) > EAL: PCI device 0000:00:03.0 on NUMA socket -1 > EAL: probe driver: 8086:100e rte_em_pmd > EAL: 0000:00:03.0 not managed by UIO driver, skipping > EAL: PCI device 0000:00:08.0 on NUMA socket -1 > EAL: probe driver: 8086:100e rte_em_pmd > EAL: PCI memory mapped at 0xb7572000 > EAL: PCI device 0000:00:09.0 on NUMA socket -1 > EAL: probe driver: 8086:100e rte_em_pmd > EAL: PCI memory mapped at 0xb7552000 > EAL: PCI device 0000:00:03.0 on NUMA socket -1 > EAL: probe driver: 8086:100e rte_em_pmd > EAL: 0000:00:03.0 not managed by UIO driver, skipping > Initializing port 0 ... Creating queues: nb_rxq=3D1 nb_txq=3D2... EAL: Er= ror - exiting with code: 1 > Cause: Cannot configure device: err=3D-22, port=3D0 >=20 > Any ideas on what is causing the error? As I can see from your log: You are using emulated e1000 device. Only 1 RX and 1 TX queue per NIC are supported for that type of device. >>From other side l3fwd uses a separate TX queue per NIC for each logical cor= e. In your case - 2 lcores, so 2 TX queues for each device are requested.=20 Try to start with just one lcore ('-c 1' or '-c 2') - I think that should h= elp. Konstantin =20 >=20 > Thanks, > Eduard Gibert Renart