DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] Need help on dpdk packet-generator
@ 2017-07-17  6:03 Mahesh Ishwar Mathad
  2017-07-17  6:14 ` harshavardhan Reddy
  0 siblings, 1 reply; 3+ messages in thread
From: Mahesh Ishwar Mathad @ 2017-07-17  6:03 UTC (permalink / raw)
  To: users; +Cc: users, dev


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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-dev] Need help on dpdk packet-generator
  2017-07-17  6:03 [dpdk-dev] Need help on dpdk packet-generator Mahesh Ishwar Mathad
@ 2017-07-17  6:14 ` harshavardhan Reddy
  2017-07-17 15:34   ` Wiles, Keith
  0 siblings, 1 reply; 3+ messages in thread
From: harshavardhan Reddy @ 2017-07-17  6:14 UTC (permalink / raw)
  To: Mahesh Ishwar Mathad; +Cc: users, dev

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



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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-dev] Need help on dpdk packet-generator
  2017-07-17  6:14 ` harshavardhan Reddy
@ 2017-07-17 15:34   ` Wiles, Keith
  0 siblings, 0 replies; 3+ messages in thread
From: Wiles, Keith @ 2017-07-17 15:34 UTC (permalink / raw)
  To: harshavardhan Reddy; +Cc: Mahesh Ishwar Mathad, users, dev


> 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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-07-17 15:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-17  6:03 [dpdk-dev] Need help on dpdk packet-generator Mahesh Ishwar Mathad
2017-07-17  6:14 ` harshavardhan Reddy
2017-07-17 15:34   ` Wiles, Keith

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