From: "Posadas, Emerson" <emerson.posadas@intel.com>
To: "dev@dpdk.org" <dev@dpdk.org>
Subject: [dpdk-dev] Pktgen error on pkts_rx from lua script
Date: Wed, 19 Aug 2015 22:30:32 +0000 [thread overview]
Message-ID: <DC37A2D0D1A435489038224DF610BC990A873C3C@FMSMSX106.amr.corp.intel.com> (raw)
Hello
I have checked that I can access some of the pktgen data from lua scripts. I'm currently running a two port configuration and want to get the pkts_rx and pkts_tx
>From http://dpdk.org/browse/apps/pktgen-dpdk/tree/scripts/rfc2544.lua example script I see that I can access an element like this endstats[0].opackets.
But when trying to access endStats[0].pkts_rx I get this:
!ERROR!: ./Pktgen.lua:65: bad argument #2 to 'strfmt' (number expected, got nil)
I'm currently using pkgten version: 2.9.1. Any suggestion?
EP
reply other threads:[~2015-08-19 22:30 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=DC37A2D0D1A435489038224DF610BC990A873C3C@FMSMSX106.amr.corp.intel.com \
--to=emerson.posadas@intel.com \
--cc=dev@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).