From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from indelg01.tcs.com (indelg01.tcs.com [203.200.109.55]) by dpdk.org (Postfix) with ESMTP id 4054F5690 for ; Fri, 13 Mar 2015 11:03:23 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2CpBABvtQJV/0YgFaxag1haw2SFdAKBegEBAQEBAX2EDwEBAQQaDVIQBQQCDQQDAQIoB0YJCAYLCBEKniabfQEBnB0BAQEBAQEBAQEBAQEBAQEBAQEBAQEXixeEIAEBPgwFBgEGhCcFhgKEIFGDK4Vug3yDFxGDF487giIDHBSBRGeBC4E4AQEB X-IPAS-Result: A2CpBABvtQJV/0YgFaxag1haw2SFdAKBegEBAQEBAX2EDwEBAQQaDVIQBQQCDQQDAQIoB0YJCAYLCBEKniabfQEBnB0BAQEBAQEBAQEBAQEBAQEBAQEBAQEXixeEIAEBPgwFBgEGhCcFhgKEIFGDK4Vug3yDFxGDF487giIDHBSBRGeBC4E4AQEB X-IronPort-AV: E=Sophos;i="5.11,394,1422901800"; d="scan'208";a="63041655" X-DISCLAIMER: FALSE MIME-Version: 1.0 Importance: Normal X-Priority: 3 (Normal) In-Reply-To: References: , From: Arkajit Ghosh To: "Wiles, Keith" Message-ID: Date: Fri, 13 Mar 2015 15:33:07 +0530 X-Mailer: Lotus Domino Web Server Release 9.0.1FP2HF609 December 16, 2014 X-MIMETrack: Serialize by Notes Server on InDelM04/TCS(Release 9.0.1FP2HF609 | December 16, 2014) at 03/13/2015 15:33:07, Serialize complete at 03/13/2015 15:33:08, Itemize by Notes Server on InDelM04/TCS(Release 9.0.1FP2HF609 | December 16, 2014) at 03/13/2015 15:33:08, Serialize by Router on InDelM04/TCS(Release 9.0.1FP2HF609 | December 16, 2014) at 03/13/2015 15:33:09, Serialize complete at 03/13/2015 15:33:09 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [ dpdk-pktgen execution issue ] Error: Didn't find any ports to use 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: Fri, 13 Mar 2015 10:03:25 -0000 Hi, Can you please guide me as I am facing the below issue during execution of = DPDK-Pktgen.=20 Thanks & Regards Arkajit Ghosh =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F -----Arkajit Ghosh/DEL/TCS wrote: ----- To: "Wiles, Keith" From: Arkajit Ghosh/DEL/TCS Date: 03/11/2015 02:33PM Subject: Re: [dpdk-dev] [ dpdk-pktgen execution issue ] Error: Didn't find = any ports to use Hi, Can you please suggest how to proceed. Thanks & Regards Arkajit Ghosh =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F -----Arkajit Ghosh/DEL/TCS wrote: ----- To: "Wiles, Keith" From: Arkajit Ghosh/DEL/TCS Date: 03/10/2015 12:49PM Subject: Re: [dpdk-dev] [ dpdk-pktgen execution issue ] Error: Didn't find = any ports to use Hi Keith, Sorry for replying after after long days as I was involved in different mod= ule so not able to to track down this issue. Now once again back to this mo= dule.=A0 This time I had executed pktgen-DPDK in Host machine and Bridge an= d DPDK ports configuration done in guest machine (VM). Please find attachme= nt for bridge and dpdk-ports creation in guest machine.=20 Facing same issue "ports not found" and as well as this below issue: ################################################################# EAL: Support maximum 64 logical core(s) by configuration. EAL: Detected 24 lcore(s) EAL: Auto-detected process type: PRIMARY EAL:=A0=A0 cannot open VFIO container, error 2 (No such file or directory) EAL: VFIO support could not be initialized EAL: Setting up memory... EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f5970c00000 (size =3D 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f5970800000 (size =3D 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f5970400000 (size =3D 0x200000) EAL: Requesting 1 pages of size 2MB from socket 0 EAL: rte=5Feal=5Fcommon=5Flog=5Finit(): cannot create log=5Fhistory mempool PANIC in rte=5Feal=5Finit(): Cannot init logs 6: [./app/build/pktgen() [0x422df3]] 5: [/lib/x86=5F64-linux-gnu/libc.so.6(=5F=5Flibc=5Fstart=5Fmain+0xf5) [0x7f= 5970f06ec5]] 4: [./app/build/pktgen(main+0x127) [0x422547]] 3: [./app/build/pktgen(rte=5Feal=5Finit+0x1d87) [0x4b0207]] 2: [./app/build/pktgen(=5F=5Frte=5Fpanic+0xc9) [0x4222c6]] 1: [./app/build/pktgen(rte=5Fdump=5Fstack+0x18) [0x4b7478]] Aborted (core dumped) ############################################################### Here is the output (As requested last mail chain): lspci | grep Ethernet 01:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5720 Gigabit= Ethernet PCIe 01:00.1 Ethernet controller: Broadcom Corporation NetXtreme BCM5720 Gigabit= Ethernet PCIe 02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5719 Gigabit= Ethernet PCIe (rev 01) 02:00.1 Ethernet controller: Broadcom Corporation NetXtreme BCM5719 Gigabit= Ethernet PCIe (rev 01) 02:00.2 Ethernet controller: Broadcom Corporation NetXtreme BCM5719 Gigabit= Ethernet PCIe (rev 01) 02:00.3 Ethernet controller: Broadcom Corporation NetXtreme BCM5719 Gigabit= Ethernet PCIe (rev 01) ../../../dpdk/tools/dpdk=5Fnic=5Fbind.py --status Network devices using DPDK-compatible driver =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Network devices using kernel driver =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 0000:01:00.0 'NetXtreme BCM5720 Gigabit Ethernet PCIe' if=3Deth0 drv=3Dtg3 = unused=3D=20 0000:01:00.1 'NetXtreme BCM5720 Gigabit Ethernet PCIe' if=3Deth1 drv=3Dtg3 = unused=3D=20 0000:02:00.0 'NetXtreme BCM5719 Gigabit Ethernet PCIe' if=3Deth2 drv=3Dtg3 = unused=3D=20 0000:02:00.1 'NetXtreme BCM5719 Gigabit Ethernet PCIe' if=3Deth3 drv=3Dtg3 = unused=3D=20 0000:02:00.2 'NetXtreme BCM5719 Gigabit Ethernet PCIe' if=3Deth4 drv=3Dtg3 = unused=3D=20 0000:02:00.3 'NetXtreme BCM5719 Gigabit Ethernet PCIe' if=3Deth5 drv=3Dtg3 = unused=3D *Active* Other network devices =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Please suggest how to proceed. Thanks & Regards Arkajit Ghosh =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F -----"Wiles, Keith" wrote: ----- To: Arkajit Ghosh , "dev@dpdk.org" From: "Wiles, Keith" Date: 02/02/2015 08:17PM Subject: Re: [dpdk-dev] [ dpdk-pktgen execution issue ] Error: Didn't find = any ports to use On 2/2/15, 3:10 AM, "Arkajit Ghosh" wrote: > >Hi, > >Facing issue during the execution of dpdk-pktgen in VM. Please find the >below details: > >Setup details: > >> Executing in Guest machine (VM). >> Having 2 logical core. >>Configured 2048 km hugepages >>Number of processor: 2 > >Scenario to verify: Generate some packets by dpdk-pktgen and then one >dpdk-ports will work as a RX end and other one will be as TX end to >handle the incoming packets and do the required action. > >dpdk-Ports creation: Here is the snapshot > >root@tcs-VirtualBox:/usr/src/pktgen-DPDK/dpdk/examples/pktgen# >/usr/src/ovs/utilities/ovs-vsctl show >c2245b31-3ca1-49c6-b4c5-1041be5b9dc4 > =A0 =A0Bridge "ovsbr0" > =A0 =A0 =A0 =A0Port "dpdkr2" > =A0 =A0 =A0 =A0 =A0 =A0Interface "dpdkr2" > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0type: dpdk > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0options: {port=3D"2"} > =A0 =A0 =A0 =A0Port "ovsbr0" > =A0 =A0 =A0 =A0 =A0 =A0Interface "ovsbr0" > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0type: internal > =A0 =A0 =A0 =A0Port "dpdkr1" > =A0 =A0 =A0 =A0 =A0 =A0Interface "dpdkr1" > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0type: dpdk > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0options: {port=3D"1"} >root@tcs-VirtualBox:/usr/src/pktgen-DPDK/dpdk/examples/pktgen# > >Added the Flow Entrys: > > =A0 # Add flows between port 1 (dpdk0) to port 2 (dpdk1) > > =A0 ./ovs-ofctl add-flow ovsbr0 in=5Fport=3D1,action=3Doutput:2 > =FF ./ovs-ofctl add-flow ovsbr0 in=5Fport=3D2,action=3Doutput:1 > > >dpdk-pktgen execution error: > > Pktgen created by: Keith Wiles -- >>> Powered by Intel=A9 DPDK <<< >----------------------- >EAL: Detected lcore 0 as core 0 on socket 0 >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: Auto-detected process type: PRIMARY >EAL: =FF cannot open VFIO container, error 2 (No such file or directory) >EAL: VFIO support could not be initialized >EAL: Setting up memory... >EAL: Ask a virtual area of 0x200000 bytes >EAL: Virtual area found at 0x7f282c400000 (size =3D 0x200000) >EAL: Ask a virtual area of 0x400000 bytes >EAL: Virtual area found at 0x7f282be00000 (size =3D 0x400000) >EAL: Ask a virtual area of 0x200000 bytes >EAL: Virtual area found at 0x7f282ba00000 (size =3D 0x200000) >EAL: Ask a virtual area of 0x200000 bytes >EAL: Virtual area found at 0x7f282b600000 (size =3D 0x200000) >EAL: Ask a virtual area of 0x400000 bytes >EAL: Virtual area found at 0x7f282b000000 (size =3D 0x400000) >EAL: Ask a virtual area of 0x200000 bytes >EAL: Virtual area found at 0x7f282ac00000 (size =3D 0x200000) >EAL: Ask a virtual area of 0x200000 bytes >EAL: Virtual area found at 0x7f282a800000 (size =3D 0x200000) >EAL: Ask a virtual area of 0x400000 bytes >EAL: Virtual area found at 0x7f282a200000 (size =3D 0x400000) >EAL: Ask a virtual area of 0x800000 bytes >EAL: Virtual area found at 0x7f2829800000 (size =3D 0x800000) >EAL: Ask a virtual area of 0x200000 bytes >EAL: Virtual area found at 0x7f2829400000 (size =3D 0x200000) >EAL: Ask a virtual area of 0x1e00000 bytes >EAL: Virtual area found at 0x7f2827400000 (size =3D 0x1e00000) >EAL: Ask a virtual area of 0xc00000 bytes >EAL: Virtual area found at 0x7f2826600000 (size =3D 0xc00000) >EAL: Ask a virtual area of 0x1000000 bytes >EAL: Virtual area found at 0x7f2825400000 (size =3D 0x1000000) >EAL: Ask a virtual area of 0x200000 bytes >EAL: Virtual area found at 0x7f2825000000 (size =3D 0x200000) >EAL: Ask a virtual area of 0xc00000 bytes >EAL: Virtual area found at 0x7f2824200000 (size =3D 0xc00000) >EAL: Ask a virtual area of 0xe00000 bytes >EAL: Virtual area found at 0x7f2823200000 (size =3D 0xe00000) >EAL: Ask a virtual area of 0x200000 bytes >EAL: Virtual area found at 0x7f2822e00000 (size =3D 0x200000) >EAL: Requesting 60 pages of size 2MB from socket 0 >EAL: TSC frequency is ~2979222 KHz >EAL: WARNING: cpu flags constant=5Ftsc=3Dyes nonstop=5Ftsc=3Dno -> using >unreliable clock cycles ! >EAL: Master core 1 is ready (tid=3D2d914840) >0.1 =FF =FF =FF =FF =FF =FF =FF=3D lcores(rx 0000000000000001, tx 00000000= 00000001) >ports(rx 0000000000000002, tx 0000000000000002) >1.2 =FF =FF =FF =FF =FF =FF =FF=3D lcores(rx 0000000000000002, tx 00000000= 00000002) >ports(rx 0000000000000004, tx 0000000000000004) > >Lua 5.2.3 =FFCopyright (C) 1994-2013 Lua.org, PUC-Rio >>>> Packet Burst 32, RX Desc 512, TX Desc 512, mbufs/port 4096, mbuf >>>>cache 512 >!PANIC!: *** Did not find any ports to use *** >PANIC in pktgen=5Fconfig=5Fports(): >*** Did not find any ports to use ***6: [./app/build/pktgen() [0x414c73]] >5: [/lib/x86=5F64-linux-gnu/libc.so.6(=5F=5Flibc=5Fstart=5Fmain+0xf5) >[0x7f282c7faec5]] >4: [./app/build/pktgen(main+0x470) [0x414750]] >3: [./app/build/pktgen(pktgen=5Fconfig=5Fports+0x1007) [0x42b8c7]] >2: [./app/build/pktgen(=5F=5Frte=5Fpanic+0xc1) [0x414251]] >1: [./app/build/pktgen(rte=5Fdump=5Fstack+0x18) [0x4a7cd8]] >./doit.sh: line 24: =FF3613 Aborted =FF =FF =FF =FF =FF =FF =FF =FF (core = dumped) >./app/build/pktgen -c 0x2 -n 2 --proc-type auto -- -m "0.1,1.2" Pktgen-dpdk uses the first core in the CPU list for display and timers, so you need to make sure you a lot one extra core for that function. ./app/build/pktgen -c 0x07 -n 2 =0F‹proc-type auto =0F‹ -m =FC1= .0, 2.1=FD Note also the ports start at zero to N, notice in the above I skipped core zero and used 1 and 2 instead. As for the error above DPDK did not find any ports that were usable and this normally means the ports have not been attached to the igb=5Fuio devic= e. Please do the following and show the output: # lspci | grep Ethernet # dpdk=5Fnic=5Fbind.py =0F‹status Also the Pktgen-dpdk has a readme or you can look at the DPDK docs as well for more information. Thanks ++Keith > >############################################### > >Please suggest how to proceed and also feel free to do mention if I >missed anything as I am new to this area. > >Thanks & Regards >Arkajit Ghosh >Mailto: arkajit.ghosh@tcs.com >Website: http://www.tcs.com >=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F >Experience certainty. IT Services >Business Solutions >Consulting >=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F >=3D=3D=3D=3D=3D-----=3D=3D=3D=3D=3D-----=3D=3D=3D=3D=3D >Notice: The information contained in this e-mail >message and/or attachments to it may contain >confidential or privileged information. If you are >not the intended recipient, any dissemination, use, >review, distribution, printing or copying of the >information contained in this e-mail message >and/or attachments to it are strictly prohibited. If >you have received this communication in error, >please notify us by reply e-mail or telephone and >immediately and permanently delete the message >and any attachments. Thank you > > =20 [attachment "DPDK=5FOutput=5FResult.odt" removed by Arkajit Ghosh/DEL/TCS] =