From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qg0-f52.google.com (mail-qg0-f52.google.com [209.85.192.52]) by dpdk.org (Postfix) with ESMTP id B3786595A for ; Mon, 2 Mar 2015 09:50:08 +0100 (CET) Received: by mail-qg0-f52.google.com with SMTP id l89so11742738qgf.11 for ; Mon, 02 Mar 2015 00:50:08 -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 :content-type; bh=0BX0x19PVI0OQ9qL5x5+7kHKJoUia//ATMTgtIA1FbU=; b=kSX2RHyn91Wwg7lKBtI8Z9Rlc5P5RiDDBrlTnQ/1Yu1fdRUoDEUwSjH8hnkBzTewo2 JOc2mUNN3KMpSdcxW1aDgrCajQ/o+Tj7BGf25FveTSavwnnsRJ5PDBC1lEeUly9pobLb S7Zk/xN+CPTBanIu9Qaq5eiWC8wcf9/7e43yzcIrr/sCv7TgsFsMJUNTZOp37vvhRKlh C6yo/1AvwmAjWySkeSr37zwJEjKFPmwAjVTDzbe8JbE7u+kNX4PnBOAitsYljr1H1pSf H+aiBYl4vS9+tU+xy15gr/dQetggwQU04+dMe13zdiPsOvl0mrwhixn3gr612BB1VS4T /3bQ== MIME-Version: 1.0 X-Received: by 10.140.147.131 with SMTP id 125mr3263726qht.81.1425286208246; Mon, 02 Mar 2015 00:50:08 -0800 (PST) Received: by 10.140.145.5 with HTTP; Mon, 2 Mar 2015 00:50:08 -0800 (PST) In-Reply-To: References: Date: Mon, 2 Mar 2015 10:50:08 +0200 Message-ID: From: Alexandra Sava To: dev@dpdk.org Content-Type: text/plain; charset=UTF-8 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 08:50:09 -0000 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 ? > > > > Thanks, > Alexandra