[dpdk-dev] Error: Cannot allocate memzone for ethernet port data Pktgen

Venkateswara Rao Dokku dvrao.584 at gmail.com
Wed Dec 3 14:53:33 CET 2014


Hi,

I am getting the following error when I am trying to run the PktGen on DPDK
EAL:   PCI memory mapped at 0x7f4ba0d6c000
PANIC in rte_eth_dev_data_alloc():
Cannot allocate memzone for ethernet port data
9: [./app/build/pktgen() [0x421069]]
8: [/lib64/libc.so.6(__libc_start_main+0xfd) [0x3af581ecdd]]
7: [./app/build/pktgen(main+0x115) [0x430ce5]]
6: [./app/build/pktgen(rte_eal_init+0xb58) [0x4b2a88]]
5: [./app/build/pktgen(rte_eal_pci_probe+0xfb) [0x4bc90b]]
4: [./app/build/pktgen() [0x4ac87e]]
3: [./app/build/pktgen() [0x4ac822]]
2: [./app/build/pktgen(__rte_panic+0xc0) [0x420fb0]]
1: [./app/build/pktgen(rte_dump_stack+0x1e) [0x4b900e]]
Aborted (core dumped)

These are the steps I followed.

1. Loaded the Igb_Uio module
2. Loaded the KNI module
3. Allocated HugePages
4.Ran the PktGen with the following command
./app/build/pktgen -c 0x1 -n 3 --proc-type auto --file-prefix pg -- -P

Can you please help me in solving the issue.

PS: I thought the error is due to insufficient number of huge pages, so I
increased the number of hugepages and tried. Still facing the same issue.
DPDK version 1.7
PktGen 2.5.6

-- 
Thanks & Regards,
Venkateswara Rao Dokku.


More information about the dev mailing list