DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] Error: Cannot allocate memzone for ethernet port data Pktgen
@ 2014-12-03 13:53 Venkateswara Rao Dokku
  0 siblings, 0 replies; only message in thread
From: Venkateswara Rao Dokku @ 2014-12-03 13:53 UTC (permalink / raw)
  To: dev


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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-12-03 13:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-03 13:53 [dpdk-dev] Error: Cannot allocate memzone for ethernet port data Pktgen Venkateswara Rao Dokku

DPDK patches and discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/dev/0 dev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dev dev/ https://inbox.dpdk.org/dev \
	public-inbox-index dev

Example config snippet for mirrors.
Newsgroup available over NNTP:

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git