From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qa0-f42.google.com (mail-qa0-f42.google.com [209.85.216.42]) by dpdk.org (Postfix) with ESMTP id A0FD0106B for ; Mon, 2 Mar 2015 16:00:40 +0100 (CET) Received: by mail-qa0-f42.google.com with SMTP id w8so23129959qac.1 for ; Mon, 02 Mar 2015 07:00:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=H2o48TDS7XGwo1R7AgAntT58DRvmuoa7HcK17BPj0AE=; b=avUuSZOj0LaybH6boKGcS4f7RhJDxFdALJMsmlobYkmDnZTIv9tEsgn+UzR0Ge3ai0 Fyl06kWZul/LhHAl+5cpNymxk5pJWbAOCdkBv1DQE7paWu3fD5A4x6P3iQmTNXIZY/U7 mOYuEQjOOBLqiLaphTWwWIoqOSR/m2XnByDh5gSHUpEh4b0zWGzIlIJv6NCdqA77iooU pAPiyY1aNNdnfsL2RAlRrg73GtCE3ZsCS3G+F72vb8K8mGonu81akeQxNizSqWa0rndv eRGXpHALZkmyvAwQw26556G639ctfYc3fqy01Kax53fZnWJ0YaDI/9B00EMiIPUq5vv1 vwdg== MIME-Version: 1.0 X-Received: by 10.55.49.207 with SMTP id x198mr6156562qkx.49.1425308440110; Mon, 02 Mar 2015 07:00:40 -0800 (PST) Received: by 10.140.145.5 with HTTP; Mon, 2 Mar 2015 07:00:40 -0800 (PST) In-Reply-To: <54F42A15.7040700@intel.com> References: <54F42A15.7040700@intel.com> Date: Mon, 2 Mar 2015 17:00:40 +0200 Message-ID: From: Alexandra Sava To: "Gonzalez Monroy, Sergio" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 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 15:00:40 -0000 Hi, lspci command shows the following: *04:00.0 Ethernet controller: Intel Corporation 82599EB 10-Gigabit SFI/SFP+ Network Connection (rev 01)Subsystem: Hewlett-Packard Company Ethernet 10Gb 2-port 560SFP+ Adapter* Thanks, Alexandra On 2 March 2015 at 11:15, Gonzalez Monroy, Sergio < sergio.gonzalez.monroy@intel.com> wrote: > 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 >>> >>