[dpdk-dev] Pktgen error on pkts_rx from lua script

Posadas, Emerson emerson.posadas at intel.com
Thu Aug 20 00:30:32 CEST 2015


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?


More information about the dev mailing list