From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mahesh Ishwar Mathad Subject: Need help on dpdk packet-generator Date: Mon, 17 Jul 2017 11:33:01 +0530 Message-ID: <596C5315.2080906@globaledgesoft.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Cc: users , dev@dpdk.org To: users Return-path: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi team, Kernel Version : 4.5 DPDK Version : 16.07.2 PKT-GEN Version: 3.3.4 I am trying to execute dpdk pkt-gen application to generator L2 traffic=20 on DPDK ports. But I am getting errors while executing command : ./app/pktgen -c 0x7 -n 3 -- -p 0x1 -P -m "[1:2].0" Since I am allocating enough huge page ie 2048Kbytes and i tried with=20 4096Kbytes also and I bind DPDK ports to igb_uio driver but still i am=20 getting below error: Copyright (c) <2010-2017>, Intel Corporation. All rights reserved.=20 Powered by Intel=C2=AE DPDK EAL: Detected 4 lcore(s) EAL: No free hugepages reported in hugepages-1048576kB EAL: No free hugepages reported in hugepages-2048kB PANIC in rte_eal_init(): Cannot get hugepage information 6:=20 [./dpdk-stable-16.07.2/examples/pktgen-3.3.4/app/app/x86_64-native-linuxa= pp-gcc/pktgen()=20 [0x4317ae]] 5: [/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)=20 [0x7f5fa5111f45]] 4:=20 [./dpdk-stable-16.07.2/examples/pktgen-3.3.4/app/app/x86_64-native-linuxa= pp-gcc/pktgen(main+0x182)=20 [0x430962]] 3:=20 [./dpdk-stable-16.07.2/examples/pktgen-3.3.4/app/app/x86_64-native-linuxa= pp-gcc/pktgen(rte_eal_init+0xc43)=20 [0x4847b3]] 2:=20 [./dpdk-stable-16.07.2/examples/pktgen-3.3.4/app/app/x86_64-native-linuxa= pp-gcc/pktgen(__rte_panic+0xbe)=20 [0x42d045]] 1:=20 [./dpdk-stable-16.07.2/examples/pktgen-3.3.4/app/app/x86_64-native-linuxa= pp-gcc/pktgen(rte_dump_stack+0x1a)=20 [0x48be2a]] Can anyone help me to understand issue and possible solution --=20 Thanks & Regards, Mahesh Mathad. Disclaimer:- The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. The views expressed in this E-mail message (including the enclosure/(s) or attachment/(s) if any) are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of GlobalEdge. Before opening any mail and attachments please check them for viruses .GlobalEdge does not accept any liability for virus infected mails.