From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f49.google.com (mail-wm0-f49.google.com [74.125.82.49]) by dpdk.org (Postfix) with ESMTP id CF6B72C23 for ; Mon, 27 Feb 2017 21:56:31 +0100 (CET) Received: by mail-wm0-f49.google.com with SMTP id v77so70498719wmv.1 for ; Mon, 27 Feb 2017 12:56:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=nSfYSE8NyNmsDiGuSsKyJ0xgzidIuZis7U/p4Lh69tw=; b=s0YdZNNzuFYK1RQxW7fUe+RmgnLFNxTPSM1SzKkIr1xIVueTAl9zgkTHIr68IqQbqY YHIoVT8Py8+2aMGFE28+LRKyVAq2uwEdfIc7IzziSlTYi/KUIErp5W7vni6wkeHvmvBL ikWfOKDSvFlvE1WAMNKYvTXRstHtsgy8TGIYNIbPc622glOPUu0I2iTAvpZyV1FLW19w F0aEGYPT3UeeWiOp8lU3kPyqjok/yqgt2u5+/NtGDyQlHWw3xkKW0Qx2tTmh2geUuXdL zUKZ4ZRDXjqfRh+VdWpobyfYST54a5agsx6EGR57Et7KcCKkjj02MjAwrCPT1U8fZwFC PvoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=nSfYSE8NyNmsDiGuSsKyJ0xgzidIuZis7U/p4Lh69tw=; b=kirVaXkQjZD4Fz0dyCJXu666jThh/bpmrxNSQfbW/vlu3PAjJDguEub2ZQ/7Mt560B kZ6QL4F2atIH72P7ZWVxYY/ouMF96de5zXk/6A2SdqY7ynVWKj1zaXvnU4tVqnbA5eXU Dbgf+YdKJIG+yR8KltroDoa6iJ3tQz2+XpIq0WlxVlzo+Z3dv2ft8Z2JDqU2wwQnraUd J65L9jbejRFkoZGWv32w2EvHOQ6RnDR9ZXpQmk/xBVxn7bnBUa+2MOZoG+rJbiX5gpei 2oE9nsWFHpwpxbeNQDcHKKM6JNkt+uvUuUyD2Chihd0wUMfd4cXfHnxlLdcStF0vhm8V JcsA== X-Gm-Message-State: AMke39mfDcLfK2AISUwEPZeOthjI4FZkJL+SI8q4hXlwlpr7utEpkx19RSvNf623Vo/aP6kcQ7AoxsDQHnw2HQ== X-Received: by 10.28.155.9 with SMTP id d9mr14554838wme.114.1488228991270; Mon, 27 Feb 2017 12:56:31 -0800 (PST) MIME-Version: 1.0 Received: by 10.28.31.211 with HTTP; Mon, 27 Feb 2017 12:56:30 -0800 (PST) From: Alex Kiselev Date: Mon, 27 Feb 2017 23:56:30 +0300 Message-ID: To: users Content-Type: text/plain; charset=UTF-8 Subject: [dpdk-users] pktgen lua scripting X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Feb 2017 20:56:32 -0000 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