[dpdk-users] pktgen lua scripting
Alex Kiselev
kiselev99 at gmail.com
Mon Feb 27 21:56:30 CET 2017
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
More information about the users
mailing list