From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id C82098D39 for ; Thu, 20 Aug 2015 00:30:39 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga103.fm.intel.com with ESMTP; 19 Aug 2015 15:30:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,712,1432623600"; d="scan'208";a="772044548" Received: from orsmsx102.amr.corp.intel.com ([10.22.225.129]) by fmsmga001.fm.intel.com with ESMTP; 19 Aug 2015 15:30:34 -0700 Received: from fmsmsx112.amr.corp.intel.com (10.18.116.6) by ORSMSX102.amr.corp.intel.com (10.22.225.129) with Microsoft SMTP Server (TLS) id 14.3.224.2; Wed, 19 Aug 2015 15:30:33 -0700 Received: from fmsmsx106.amr.corp.intel.com ([169.254.5.207]) by FMSMSX112.amr.corp.intel.com ([10.18.116.6]) with mapi id 14.03.0224.002; Wed, 19 Aug 2015 15:30:33 -0700 From: "Posadas, Emerson" To: "dev@dpdk.org" Thread-Topic: Pktgen error on pkts_rx from lua script Thread-Index: AdDazpH37VGYWjdPQFSHXBCnQTNI/A== Date: Wed, 19 Aug 2015 22:30:32 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.1.200.108] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: [dpdk-dev] Pktgen error on pkts_rx from lua script X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Aug 2015 22:30:40 -0000 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=20 >>From http://dpdk.org/browse/apps/pktgen-dpdk/tree/scripts/rfc2544.lua examp= le 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