DPDK patches and discussions
 help / color / mirror / Atom feed
From: Alexandra Sava <alexandrasava18@gmail.com>
To: dev@dpdk.org
Subject: [dpdk-dev] Not getting statistics for all queues.
Date: Tue, 24 Feb 2015 13:14:42 +0200	[thread overview]
Message-ID: <CAMFpKOhoEnVvG3tx68vrhd41LXYF_D6uPRVyxGUxp3qbuq4_wQ@mail.gmail.com> (raw)

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

             reply	other threads:[~2015-02-24 11:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-24 11:14 Alexandra Sava [this message]
2015-03-02  8:50 ` Alexandra Sava
2015-03-02  9:15   ` Gonzalez Monroy, Sergio
2015-03-02 15:00     ` Alexandra Sava
2015-03-05 10:57       ` Alexandra Sava
2015-03-06  8:45         ` Gonzalez Monroy, Sergio

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAMFpKOhoEnVvG3tx68vrhd41LXYF_D6uPRVyxGUxp3qbuq4_wQ@mail.gmail.com \
    --to=alexandrasava18@gmail.com \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).