DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Wiles, Keith" <keith.wiles@intel.com>
To: harshavardhan Reddy <hvreddy1110@gmail.com>
Cc: Mahesh Ishwar Mathad <mi.mahesh@globaledgesoft.com>,
	users <users-bounces@dpdk.org>, "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] Need help on dpdk packet-generator
Date: Mon, 17 Jul 2017 15:34:00 +0000	[thread overview]
Message-ID: <0AA2DD0B-71CB-4EB4-B688-1B5806A9CFFD@intel.com> (raw)
In-Reply-To: <CAERxyUXKHsL+TvBW+fOozCR32N3rGU1OOToUcf+14Mu7VcFAcQ@mail.gmail.com>


> On Jul 17, 2017, at 1:14 AM, harshavardhan Reddy <hvreddy1110@gmail.com> wrote:
> 
> EAL: No free hugepages reported in hugepages-1048576kB
> EAL: No free hugepages reported in hugepages-2048kB
> PANIC in rte_eal_init():
> 
> Means you have to allocate hugepages before starting this app.
> http://dpdk.org/doc/guides/linux_gsg/sys_reqs.html#running-dpdk-applications


You should be able to find more information about setting up Pktgen in the docs.
http://pktgen-dpdk.readthedocs.io/en/latest/

If you have not attached ports to the igb_uio module, please look at the usertools/dpdk-devbind.py usage.

> 
> 
> 
> On Mon, Jul 17, 2017 at 11:33 AM, Mahesh Ishwar Mathad <
> mi.mahesh@globaledgesoft.com> wrote:
> 
>> 
>> 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.
>> 
>> 

Regards,
Keith


      reply	other threads:[~2017-07-17 15:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-17  6:03 Mahesh Ishwar Mathad
2017-07-17  6:14 ` harshavardhan Reddy
2017-07-17 15:34   ` Wiles, Keith [this message]

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=0AA2DD0B-71CB-4EB4-B688-1B5806A9CFFD@intel.com \
    --to=keith.wiles@intel.com \
    --cc=dev@dpdk.org \
    --cc=hvreddy1110@gmail.com \
    --cc=mi.mahesh@globaledgesoft.com \
    --cc=users-bounces@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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).