From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qg0-f51.google.com (mail-qg0-f51.google.com [209.85.192.51]) by dpdk.org (Postfix) with ESMTP id 86A0DADB3 for ; Tue, 24 Feb 2015 12:14:42 +0100 (CET) Received: by mail-qg0-f51.google.com with SMTP id z60so29202559qgd.10 for ; Tue, 24 Feb 2015 03:14:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=LIuHuFd9LlK+vbvqBggq86ebSm1k2gvQNwnTmprRX54=; b=IcywUqLohVWEym27yz3lkBkRGDXimVymJu0mP6PBn1ff2H/wRdDTpVQQsL1qP9euyQ DldwpQd58mzpDcQTvZK9ASK9YiQzQ8aBNCL0+6e9UFMwFO9px7tE7nRSw/d9dPTJDIgX Vsac/ogmz9G48sM7UAWskO1Gs5Mvkua7VRW9JX8jIIuDKgRgA5aUr3M2OHMWj8VRNHKU jadDNbj7XahBeWZOj/L/nc/R1lK8Njws4eMxiwqISeXeatw0nm6Gebf01GEjeaex8VOC EAC8mjsQ4wyOTfil8EiQ++9hI806X7odRap+C4kf1ZMTj0m9V7NxkYiVVQyCmo75SUwO Vizg== MIME-Version: 1.0 X-Received: by 10.140.235.131 with SMTP id g125mr34908609qhc.85.1424776482132; Tue, 24 Feb 2015 03:14:42 -0800 (PST) Received: by 10.140.145.5 with HTTP; Tue, 24 Feb 2015 03:14:42 -0800 (PST) Date: Tue, 24 Feb 2015 13:14:42 +0200 Message-ID: From: Alexandra Sava To: dev@dpdk.org Content-Type: text/plain; charset=UTF-8 Subject: [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: Tue, 24 Feb 2015 11:14:42 -0000 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