DPDK usage discussions
 help / color / mirror / Atom feed
From: "Knight, Joshua" <Joshua.Knight@netscout.com>
To: Saniyya Nizar <saniyya.pm@gmail.com>, "users@dpdk.org" <users@dpdk.org>
Subject: Re: Pktgen failing to execute with Lua scripts
Date: Wed, 4 Jan 2023 22:06:27 +0000	[thread overview]
Message-ID: <CH0PR01MB69557842880B9850F571EDE687F59@CH0PR01MB6955.prod.exchangelabs.com> (raw)
In-Reply-To: <E456E5DA-1027-406D-8F3A-C6964F6132D9@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1181 bytes --]

I believe you’ll see this error if pktgen was not compiled with lua support. Check that pktgen is compiled with lua enabled, in the meson_options.txt file.

https://github.com/pktgen/Pktgen-DPDK/blob/dev/meson_options.txt#L1

In my build notes I have the following, but I’m unsure if this still applies. I have not tried a recent version.


make buildlua

meson build



From: Saniyya Nizar <saniyya.pm@gmail.com>
Date: Wednesday, December 21, 2022 at 5:19 AM
To: users@dpdk.org <users@dpdk.org>
Subject: Pktgen failing to execute with Lua scripts
External Email: This message originated outside of NETSCOUT. Do not click links or open attachments unless you recognize the sender and know the content is safe.

Hi Community,

I’m trying to execute pktgen using lua scripts.

The command I’m using is :
 ./usr/local/bin/pktgen -c ffffffff -n 4 —proc-type auto —file-prefix pktgen1 —P -m “29.0” -f test/dump.lua

But after instantiating, I see it displaying this message:
>>> User State for CLI not set for Lua

Is there anything we should be setting before trying to execute Lua scripts? Would highly appreciate some inputs on this.

Thanks
Saniyya

[-- Attachment #2: Type: text/html, Size: 3881 bytes --]

  reply	other threads:[~2023-01-04 22:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-19  4:23 Saniyya Nizar
2023-01-04 22:06 ` Knight, Joshua [this message]
2022-12-19  9:15 Saniyya Nizar
2022-12-19 14:25 ` Pathak, Pravin

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=CH0PR01MB69557842880B9850F571EDE687F59@CH0PR01MB6955.prod.exchangelabs.com \
    --to=joshua.knight@netscout.com \
    --cc=saniyya.pm@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).