From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 218F6D4A4 for ; Thu, 2 Mar 2017 08:12:03 +0100 (CET) Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 01 Mar 2017 23:12:02 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.35,228,1484035200"; d="scan'208";a="71853746" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by fmsmga006.fm.intel.com with ESMTP; 01 Mar 2017 23:12:02 -0800 Received: from fmsmsx154.amr.corp.intel.com (10.18.116.70) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 1 Mar 2017 23:12:02 -0800 Received: from fmsmsx113.amr.corp.intel.com ([169.254.13.17]) by FMSMSX154.amr.corp.intel.com ([169.254.6.37]) with mapi id 14.03.0248.002; Wed, 1 Mar 2017 23:12:01 -0800 From: "Wiles, Keith" To: Philip Lee CC: "users@dpdk.org" Thread-Topic: [dpdk-users] DPDK Pktgen Stats Help Thread-Index: AQHSksqgv6D/XFkbHUGNfZHeuo5HkKGBqRqA Date: Thu, 2 Mar 2017 07:12:01 +0000 Message-ID: <0C89B156-A43E-4FE6-9340-CBF64542C896@intel.com> References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.254.49.209] Content-Type: text/plain; charset="us-ascii" Content-ID: <853788E82757EE4EAA2B20DD4467A42D@intel.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-users] DPDK Pktgen Stats Help 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: Thu, 02 Mar 2017 07:12:04 -0000 > On Mar 1, 2017, at 2:29 PM, Philip Lee wrote: >=20 > Hi All, >=20 > Is there a specific support location for pktgen help? I've tried > posting on the Github page, but am still waiting on replies. >=20 > I'm having trouble getting the rate statistics to show up. The DPDK > API rte_eth_stats_get() is used in pktgen.c to get the stats, but the > results are all 0. >=20 > The setup are two Netronome NICs connected to each other with DPDK > driver on the one virtual function on each. We do not have Netronome's > OvS software installed on the system, but have their Agilio P4C SDK > RTE installed. The command we use follow as such: ./pktgen -c 0x1f -n > 1 -- -m [1:2].0 The problem appears to be with the Netronome PMD as the get_stats call just= calls in to the PMD to get the stats. I would look in the PMD and see if t= hey support stats gathering. Should be a table in the driver to tell ethdev= which function to call. This really is not a Pktgen problem, but a DPDK/Ne= tronome PMD problem. >=20 > Pictures + more details can be found here: > https://github.com/pktgen/Pktgen-DPDK/issues/88 >=20 > Anyone know what could be wrong? >=20 > Thanks, >=20 > Philip Regards, Keith