[dpdk-dev] Need help on dpdk packet-generator

Mahesh Ishwar Mathad mi.mahesh at globaledgesoft.com
Mon Jul 17 08:03:01 CEST 2017


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 
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 
4096Kbytes also and I bind DPDK ports to igb_uio driver but still i am 
getting below error:

Copyright (c) <2010-2017>, Intel Corporation. All rights reserved. 
Powered by Intel® 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: 
[./dpdk-stable-16.07.2/examples/pktgen-3.3.4/app/app/x86_64-native-linuxapp-gcc/pktgen() 
[0x4317ae]]
5: [/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) 
[0x7f5fa5111f45]]
4: 
[./dpdk-stable-16.07.2/examples/pktgen-3.3.4/app/app/x86_64-native-linuxapp-gcc/pktgen(main+0x182) 
[0x430962]]
3: 
[./dpdk-stable-16.07.2/examples/pktgen-3.3.4/app/app/x86_64-native-linuxapp-gcc/pktgen(rte_eal_init+0xc43) 
[0x4847b3]]
2: 
[./dpdk-stable-16.07.2/examples/pktgen-3.3.4/app/app/x86_64-native-linuxapp-gcc/pktgen(__rte_panic+0xbe) 
[0x42d045]]
1: 
[./dpdk-stable-16.07.2/examples/pktgen-3.3.4/app/app/x86_64-native-linuxapp-gcc/pktgen(rte_dump_stack+0x1a) 
[0x48be2a]]

Can anyone help me to understand issue and possible solution

-- 
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.



More information about the dev mailing list