From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from demumfd001.nsn-inter.net (demumfd001.nsn-inter.net [93.183.12.32]) by dpdk.org (Postfix) with ESMTP id 51A2C568B for ; Wed, 9 Dec 2015 06:51:10 +0100 (CET) Received: from demuprx016.emea.nsn-intra.net ([10.150.129.55]) by demumfd001.nsn-inter.net (8.15.2/8.15.2) with ESMTPS id tB95p9I0026044 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 9 Dec 2015 05:51:09 GMT Received: from SGSIHTC001.nsn-intra.net ([10.159.225.18]) by demuprx016.emea.nsn-intra.net (8.12.11.20060308/8.12.11) with ESMTP id tB95lFPt012637 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Wed, 9 Dec 2015 06:51:08 +0100 Received: from SGSIHTC005.nsn-intra.net (10.159.225.22) by SGSIHTC001.nsn-intra.net (10.159.225.18) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 9 Dec 2015 13:48:38 +0800 Received: from SGSIMBX011.nsn-intra.net ([169.254.11.161]) by SGSIHTC005.nsn-intra.net ([10.159.225.22]) with mapi id 14.03.0248.002; Wed, 9 Dec 2015 13:48:38 +0800 From: "P D, Arun (Nokia - IN/Bangalore)" To: "EXT Pattan, Reshma" Thread-Topic: Issue on Running KNI application Thread-Index: AdEx4w8Z+m5WiwS1Tjilu9ZZyxI9XwAIZ9+gAA5iCnA= Date: Wed, 9 Dec 2015 05:48:37 +0000 Message-ID: <452B978F8CA9744BAA81E3E69370ABC4D92C4B@SGSIMBX011.nsn-intra.net> References: <452B978F8CA9744BAA81E3E69370ABC4D92C14@SGSIMBX011.nsn-intra.net> <3AEA2BF9852C6F48A459DA490692831FF8AB00@IRSMSX109.ger.corp.intel.com> In-Reply-To: <3AEA2BF9852C6F48A459DA490692831FF8AB00@IRSMSX109.ger.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.159.225.125] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-purgate-type: clean X-purgate-Ad: Categorized by eleven eXpurgate (R) http://www.eleven.de X-purgate: clean X-purgate: This mail is considered clean (visit http://www.eleven.de for further information) X-purgate-size: 3721 X-purgate-ID: 151667::1449640269-00002C61-DE4C0B50/0/0 Cc: "users@dpdk.org" Subject: Re: [dpdk-users] Issue on Running KNI application X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Dec 2015 05:51:10 -0000 Hi Reshma, I am getting error, upon executing saying that it's an invalid core mask. Also please let me know how you are calculating the hexadecimal bitmask for= the cores. ./kni -c 0x1E -n 4 -- -P -p 0x3 --config=3D"(0,1,3),(1,2,4)" EAL: Detected lcore 0 as core 0 on socket 0 EAL: Detected lcore 1 as core 1 on socket 0 EAL: Detected lcore 2 as core 2 on socket 0 EAL: Detected lcore 3 as core 3 on socket 0 EAL: Support maximum 128 logical core(s) by configuration. EAL: Detected 4 lcore(s) EAL: lcore 4 unavailable EAL: invalid coremask Regards, Arun Raj -----Original Message----- From: EXT Pattan, Reshma [mailto:reshma.pattan@intel.com]=20 Sent: Wednesday, December 09, 2015 3:37 AM To: P D, Arun (Nokia - IN/Bangalore) ; users@dpdk.org Subject: RE: Issue on Running KNI application Hi Arun, Core mask value i.e. -c value should be 0x1E in your command. Because you a= re using cores 1,2,3,4 so their respective bits must be set to 1 in -c valu= e. ./kni -c 0x1E -n 4 -- -P -p 0x3 --config=3D"(0,1,3),(1,2,4)" Thanks, Reshma > -----Original Message----- > From: users [mailto:users-bounces@dpdk.org] On Behalf Of P D, Arun (Nokia= - > IN/Bangalore) > Sent: Tuesday, December 8, 2015 6:06 PM > To: users@dpdk.org > Subject: [dpdk-users] Issue on Running KNI application >=20 > Hello, >=20 > I am trying to run the KNI program in examples of dpdk. >=20 > I am giving the following command and facing the error as "Cause: lcore = id 1 for > port 0 receiving not enabled". >=20 > Please let me know if I am making any mistake at config parameters, or I = am > missing something. >=20 > ./kni -c 4 -n 4 -- -P -p 0x3 --config=3D"(0,1,3),(1,2,4)" >=20 > EAL: Detected lcore 0 as core 0 on socket 0 > EAL: Detected lcore 1 as core 1 on socket 0 > EAL: Detected lcore 2 as core 2 on socket 0 > EAL: Detected lcore 3 as core 3 on socket 0 > EAL: Support maximum 128 logical core(s) by configuration. > EAL: Detected 4 lcore(s) > EAL: Setting up physically contiguous memory... > EAL: Ask a virtual area of 0x200000 bytes > EAL: Virtual area found at 0x7fd603600000 (size =3D 0x200000) > EAL: Ask a virtual area of 0x1000000 bytes > EAL: Virtual area found at 0x7fd602400000 (size =3D 0x1000000) > EAL: Ask a virtual area of 0x3c00000 bytes > EAL: Virtual area found at 0x7fd5fe600000 (size =3D 0x3c00000) > EAL: Ask a virtual area of 0x50400000 bytes > EAL: Virtual area found at 0x7fd5ae000000 (size =3D 0x50400000) > EAL: Ask a virtual area of 0x29c00000 bytes > EAL: Virtual area found at 0x7fd584200000 (size =3D 0x29c00000) > EAL: Ask a virtual area of 0x1000000 bytes > EAL: Virtual area found at 0x7fd583000000 (size =3D 0x1000000) > EAL: Ask a virtual area of 0x200000 bytes > EAL: Virtual area found at 0x7fd582c00000 (size =3D 0x200000) > EAL: Requesting 1024 pages of size 2MB from socket 0 > EAL: TSC frequency is ~3192614 KHz > EAL: Master lcore 2 is ready (tid=3D3cb98e0;cpuset=3D[2]) > EAL: PCI device 0000:03:00.0 on NUMA socket -1 > EAL: probe driver: 8086:1533 rte_igb_pmd > EAL: Not managed by a supported kernel driver, skipped > EAL: PCI device 0000:05:00.0 on NUMA socket -1 > EAL: probe driver: 8086:100e rte_em_pmd > EAL: Not managed by a supported kernel driver, skipped > EAL: PCI device 0000:06:00.0 on NUMA socket -1 > EAL: probe driver: 8086:10d3 rte_em_pmd > EAL: Not managed by a supported kernel driver, skipped > APP: Port ID: 0 > APP: Rx lcore ID: 1, Tx lcore ID: 3 > APP: Port ID: 1 > APP: Rx lcore ID: 2, Tx lcore ID: 4 > EAL: Error - exiting with code: 1 > Cause: lcore id 1 for port 0 receiving not enabled >=20 > Regards, > Arun Raj