DPDK patches and discussions
 help / color / mirror / Atom feed
From: Venkateswara Rao Dokku <dvrao.584@gmail.com>
To: dev@dpdk.org
Subject: [dpdk-dev] Error: Cannot allocate memzone for ethernet port data Pktgen
Date: Wed, 3 Dec 2014 19:23:33 +0530
Message-ID: <CACiOAOCBohS2r0AEHRSrxryf68agM245OByz+PBPsuN_c35f4w@mail.gmail.com> (raw)

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.

                 reply	other threads:[~2014-12-03 13:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CACiOAOCBohS2r0AEHRSrxryf68agM245OByz+PBPsuN_c35f4w@mail.gmail.com \
    --to=dvrao.584@gmail.com \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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 \
		dev@dpdk.org
	public-inbox-index dev

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dev


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