From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 5B189106B for ; Mon, 2 Mar 2015 10:15:05 +0100 (CET) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga102.jf.intel.com with ESMTP; 02 Mar 2015 01:13:44 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,674,1418112000"; d="scan'208";a="534742544" Received: from smonroyx-mobl.ger.corp.intel.com (HELO [10.237.220.47]) ([10.237.220.47]) by orsmga003.jf.intel.com with ESMTP; 02 Mar 2015 01:15:08 -0800 Message-ID: <54F42A15.7040700@intel.com> Date: Mon, 02 Mar 2015 09:15:01 +0000 From: "Gonzalez Monroy, Sergio" User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Alexandra Sava References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org Subject: Re: [dpdk-dev] Not getting statistics for all queues. 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: Mon, 02 Mar 2015 09:15:05 -0000 Hi Alexandra, On 02/03/2015 08:50, Alexandra Sava wrote: > Hi guys, > > Did you have a chance to look over my question? > > > > Thanks, > Alexandra > > > On 24 February 2015 at 13:14, Alexandra Sava wrote: >> Hi guys, >> >> I'm trying to get statistics per queue (on rx side), therefore I'm >> using rte_eth_dev_set_rx_queue_stats_mapping >> function in order to map a particular queue to a stat index (Note: I >> have 4 rx queues with the following mapping: queue 0 -> stat_idx 0; >> queue 1 -> stat_idx 1 , etc). >> The problem is that I only get statistics for the first queue (in this >> case, queue 0), the rest of them are 0. Also, the statistics for the first >> queue are equal to the total statistics, so >> rte_eth_stats.ipackets >> is equal to rte_eth_stats.q_ipackets[0] and rte_eth_stats.ibytes is >> equal to rte_eth_stats.q_ibytes[0]. >> >> I'm using dpdk-1.8.0, Ubuntu 12.04, Intel x86_64 architecture. >> >> Any idea about this issue ? What NIC are you using? Sergio >> >> >> Thanks, >> Alexandra