DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] Printing statistics on running passthrough pipeline in ip_pipeline application
@ 2017-04-21  6:28 Nidhia Varghese
  2017-04-21  6:32 ` [dpdk-users] [dpdk-dev] " Shyam Shrivastav
  0 siblings, 1 reply; 2+ messages in thread
From: Nidhia Varghese @ 2017-04-21  6:28 UTC (permalink / raw)
  To: dev, users

Hi,

I am running ip_pipeline application using ip_pipeline.cfg file. How can I
see the statistics of the packets that is being sent and received from this
pipeline?

I tried running as shown below:

pipeline> p 1 port in 0 enable
pipeline> p 1 port in 1 enable
pipeline> p 1 stats port in 1
Pipeline 1 - stats for input port 1:
        Pkts in: 0
        Pkts dropped by AH: 0
        Pkts dropped by other: 0
pipeline> p 1 stats port in 0
Pipeline 1 - stats for input port 0:
        Pkts in: 0
        Pkts dropped by AH: 0
        Pkts dropped by other: 0
pipeline> p 1 stats port out 0
Pipeline 1 - stats for output port 0:
        Pkts in: 0
        Pkts dropped by AH: 0
        Pkts dropped by other: 0
pipeline> p 1 stats port out 1
Pipeline 1 - stats for output port 1:
        Pkts in: 0
        Pkts dropped by AH: 0
        Pkts dropped by other: 0

I can see the packet being received and forwarded using wireshark. But not
able to see in the statistics. Isn't this the right command to use?

Thanks for your reply and help.

Regards,
Nidhia Varghese

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

* Re: [dpdk-users] [dpdk-dev] Printing statistics on running passthrough pipeline in ip_pipeline application
  2017-04-21  6:28 [dpdk-users] Printing statistics on running passthrough pipeline in ip_pipeline application Nidhia Varghese
@ 2017-04-21  6:32 ` Shyam Shrivastav
  0 siblings, 0 replies; 2+ messages in thread
From: Shyam Shrivastav @ 2017-04-21  6:32 UTC (permalink / raw)
  To: Nidhia Varghese; +Cc: dev, users

Enable flags in dpdk/config/common_base and recompile

CONFIG_RTE_*_STATS_COLLECT=y


{* for PIPELINE,PORT,TABLE ...}


On Fri, Apr 21, 2017 at 11:58 AM, Nidhia Varghese <
nidhiavarghese93@gmail.com> wrote:

> Hi,
>
> I am running ip_pipeline application using ip_pipeline.cfg file. How can I
> see the statistics of the packets that is being sent and received from this
> pipeline?
>
> I tried running as shown below:
>
> pipeline> p 1 port in 0 enable
> pipeline> p 1 port in 1 enable
> pipeline> p 1 stats port in 1
> Pipeline 1 - stats for input port 1:
>         Pkts in: 0
>         Pkts dropped by AH: 0
>         Pkts dropped by other: 0
> pipeline> p 1 stats port in 0
> Pipeline 1 - stats for input port 0:
>         Pkts in: 0
>         Pkts dropped by AH: 0
>         Pkts dropped by other: 0
> pipeline> p 1 stats port out 0
> Pipeline 1 - stats for output port 0:
>         Pkts in: 0
>         Pkts dropped by AH: 0
>         Pkts dropped by other: 0
> pipeline> p 1 stats port out 1
> Pipeline 1 - stats for output port 1:
>         Pkts in: 0
>         Pkts dropped by AH: 0
>         Pkts dropped by other: 0
>
> I can see the packet being received and forwarded using wireshark. But not
> able to see in the statistics. Isn't this the right command to use?
>
> Thanks for your reply and help.
>
> Regards,
> Nidhia Varghese
>

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

end of thread, other threads:[~2017-04-21  6:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-21  6:28 [dpdk-users] Printing statistics on running passthrough pipeline in ip_pipeline application Nidhia Varghese
2017-04-21  6:32 ` [dpdk-users] [dpdk-dev] " Shyam Shrivastav

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