dev.dpdk.org archive mirror
 help / color / mirror / Atom feed
* Not getting statistics for all queues.
@ 2015-02-24 11:14 Alexandra Sava
       [not found] ` <CAMFpKOhoEnVvG3tx68vrhd41LXYF_D6uPRVyxGUxp3qbuq4_wQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Alexandra Sava @ 2015-02-24 11:14 UTC (permalink / raw)
  To: dev-VfR2kkLFssw

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Not getting statistics for all queues.
       [not found] ` <CAMFpKOhoEnVvG3tx68vrhd41LXYF_D6uPRVyxGUxp3qbuq4_wQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2015-03-02  8:50   ` Alexandra Sava
       [not found]     ` <CAMFpKOi2cNFNNPCNnQ7=pzQM_6=uvr3MigB_+dpKCcUFTGmxsg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Alexandra Sava @ 2015-03-02  8:50 UTC (permalink / raw)
  To: dev-VfR2kkLFssw

Hi guys,

Did you have a chance to look over my question?



Thanks,
Alexandra


On 24 February 2015 at 13:14, Alexandra Sava <alexandrasava18-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Not getting statistics for all queues.
       [not found]     ` <CAMFpKOi2cNFNNPCNnQ7=pzQM_6=uvr3MigB_+dpKCcUFTGmxsg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2015-03-02  9:15       ` Gonzalez Monroy, Sergio
       [not found]         ` <54F42A15.7040700-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Gonzalez Monroy, Sergio @ 2015-03-02  9:15 UTC (permalink / raw)
  To: Alexandra Sava; +Cc: dev-VfR2kkLFssw

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 <alexandrasava18-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Not getting statistics for all queues.
       [not found]         ` <54F42A15.7040700-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
@ 2015-03-02 15:00           ` Alexandra Sava
       [not found]             ` <CAMFpKOi3Nbb7zk+n1Taa50JtJ48a8hZdP6V8TjrYtm9QJ=hEaw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Alexandra Sava @ 2015-03-02 15:00 UTC (permalink / raw)
  To: Gonzalez Monroy, Sergio; +Cc: dev-VfR2kkLFssw

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-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> 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 <alexandrasava18-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
>> 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
>>>
>>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Not getting statistics for all queues.
       [not found]             ` <CAMFpKOi3Nbb7zk+n1Taa50JtJ48a8hZdP6V8TjrYtm9QJ=hEaw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2015-03-05 10:57               ` Alexandra Sava
       [not found]                 ` <CAMFpKOjruXOFPoVjLbK+vWTbzgJ7Mm7MKjrDhEpKFKBnxx-rYg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Alexandra Sava @ 2015-03-05 10:57 UTC (permalink / raw)
  To: Gonzalez Monroy, Sergio; +Cc: dev-VfR2kkLFssw

ping  :-) ? Any thoughts about this ?


Thanks,
Alexandra

On 2 March 2015 at 17:00, Alexandra Sava <alexandrasava18-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:

> 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-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> 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 <alexandrasava18-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
>>> 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
>>>>
>>>
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Not getting statistics for all queues.
       [not found]                 ` <CAMFpKOjruXOFPoVjLbK+vWTbzgJ7Mm7MKjrDhEpKFKBnxx-rYg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2015-03-06  8:45                   ` Gonzalez Monroy, Sergio
  0 siblings, 0 replies; 6+ messages in thread
From: Gonzalez Monroy, Sergio @ 2015-03-06  8:45 UTC (permalink / raw)
  To: Alexandra Sava; +Cc: dev-VfR2kkLFssw

On 05/03/2015 10:57, Alexandra Sava wrote:
> ping  :-) ? Any thoughts about this ?
>
Sorry for the delay.

I'm not able to reproduce your issue with testpmd app.
I gather that you are using your own app, have you tried to use testpmd 
to get queue stats?
If so, what command line options did you use?

Sergio
>
> Thanks,
> Alexandra
>
> On 2 March 2015 at 17:00, Alexandra Sava <alexandrasava18-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org 
> <mailto:alexandrasava18-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>> wrote:
>
>     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-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org
>     <mailto:sergio.gonzalez.monroy-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>> 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
>             <alexandrasava18-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
>             <mailto:alexandrasava18-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>> 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
>
>
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-03-06  8:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-24 11:14 Not getting statistics for all queues Alexandra Sava
     [not found] ` <CAMFpKOhoEnVvG3tx68vrhd41LXYF_D6uPRVyxGUxp3qbuq4_wQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-03-02  8:50   ` Alexandra Sava
     [not found]     ` <CAMFpKOi2cNFNNPCNnQ7=pzQM_6=uvr3MigB_+dpKCcUFTGmxsg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-03-02  9:15       ` Gonzalez Monroy, Sergio
     [not found]         ` <54F42A15.7040700-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-03-02 15:00           ` Alexandra Sava
     [not found]             ` <CAMFpKOi3Nbb7zk+n1Taa50JtJ48a8hZdP6V8TjrYtm9QJ=hEaw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-03-05 10:57               ` Alexandra Sava
     [not found]                 ` <CAMFpKOjruXOFPoVjLbK+vWTbzgJ7Mm7MKjrDhEpKFKBnxx-rYg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-03-06  8:45                   ` Gonzalez Monroy, Sergio

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).