DPDK usage discussions
 help / color / mirror / Atom feed
From: Alex Kiselev <kiselev99@gmail.com>
To: users <users@dpdk.org>
Subject: [dpdk-users] pktgen lua scripting
Date: Mon, 27 Feb 2017 23:56:30 +0300	[thread overview]
Message-ID: <CAMKNYbwUeDYQuYhowoR0=h4ynb1UcSr4zV2Q+3E_OEVMdhRMyQ@mail.gmail.com> (raw)

Hi.

I have just started with the pktgen lua scripting language ang got
something that looks like a bug:

pktgen: /usr/src/dpdk-17.02/lib/librte_timer/rte_timer.c:520:
rte_timer_manage: Assertion `lcore_id < 128' failed.
Aborted (core dumped)

I run the pktgen
# ./app/app/x86_64-native-linuxapp-gcc/app/pktgen -cf -n2 -- -m "1.0, 2.1" -G

than I execute the lua script using the socat program
# socat - TCP4:localhost:22022 < test/test1.lua

and then I get the assertion error.

Here is my test lua script. It's just a useless test script:

package.path = package.path ..";?.lua;test/?.lua;app/?.lua;"

printf("Lua Version      : %s\n", pktgen.info.Lua_Version);
printf("Pktgen Version   : %s\n", pktgen.info.Pktgen_Version);
printf("Pktgen Copyright : %s\n", pktgen.info.Pktgen_Copyright);
printf("Pktgen Authors   : %s\n", pktgen.info.Pktgen_Authors);


pktgen.screen("on");
pktgen.set("1", "count", 400);
pktgen.delay(1000);
printf("done\n");

This is the line that causes the error:
pktgen.delay(1000);

I am getting the error with
pktgen-3.0.14 + dpdk-16.07
or
pktgen-3.1.2 + dpdk-17.02

In both cases dpdk was built with the following target:
export RTE_TARGET=x86_64-native-linuxapp-gcc


--
Kiselev Alexander

             reply	other threads:[~2017-02-27 20:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-27 20:56 Alex Kiselev [this message]
2017-02-27 21:27 ` Wiles, Keith

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='CAMKNYbwUeDYQuYhowoR0=h4ynb1UcSr4zV2Q+3E_OEVMdhRMyQ@mail.gmail.com' \
    --to=kiselev99@gmail.com \
    --cc=users@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).