DPDK usage discussions
 help / color / mirror / Atom feed
From: Heena Sirwani <heena.sirwani@nevisnetworks.com>
To: sharanya k <ksharanya.97@gmail.com>
Cc: users@dpdk.org
Subject: Re: [dpdk-users] Enabling stats in pipeline applications
Date: Fri, 9 Feb 2018 18:37:30 +0530 (IST)	[thread overview]
Message-ID: <545296933.10333.1518181650416.JavaMail.root@127.0.0.1> (raw)
In-Reply-To: <CAHJ=+w5WQo19-dVMap5PdXc6FzC2sO+Tt_t8gpNWnr5t5fHaHA@mail.gmail.com>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=utf-8, Size: 2678 bytes --]

If you have enabled them in $RTE_SDK/$RTE_TARGET/.config, they should be reflected in $RTE_SDK/$RTE_TARGET/include/rte_config.h. Do you see it defined there?
If not, perhaps you forgot to run make,
cd $RTE_SDK/$RTE_TARGET
vi .config <make stats config changes>
make
The lib/librte_pipeline, librte_port should recompile and you should see #define RTE_*_STATS_COLLECT 1 in $RTE_SDK/$RTE_TARGET/include/rte_config.h.
Once this is done, recompile your example application.
-- Original Message --
 
From: sharanya k [ksharanya.97@gmail.com]
To: Heena Sirwani [heena.sirwani@nevisnetworks.com]
Cc: [users@dpdk.org]
Date: Fri 09 February 2018 [5:54:31 PM]
Subject: Re: [dpdk-users] Enabling stats in pipeline applications
Hi,
I made sure that all the stats are enabled in the .config file. I did
what you mentioned. Still, I stuck with the same problem(statistics
isn't coming). Can you please let me know if I have to do some other
steps to get my statistics in my ip pipeline application.
Thanks,
Sharanya
On Thu, Feb 8, 2018 at 7:41 PM, Heena Sirwani
<heena.sirwani@nevisnetworks.com> wrote:
>
>
>
> I had a similar issue. The problem turned out to be in configs.
> Make sure the configuration changes are made in the target in
> $RTE_SDK/$RTE_TARGET/.config.
> Either edit that config file for build local configs or remake target
> configuration by
>
> make config T=$RTE_TARGET
>
> -- Original Message --
>
> From: sharanya k [ksharanya.97@gmail.com]
> To: [users@dpdk.org]
> Date: Thu 08 February 2018 [6:45:13 PM]
> Subject: [dpdk-users] Enabling stats in pipeline applications
>
>
> Hi,
> I am running an ip pipeline application in dpdk version 17.08.1
> (stable). I can see the packets getting received and send through
> Wireshark. But, I couldn't get the statistics in the pipeline app
> using the following command.
>
> 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 2 stats port in 0
> Pipeline 2 - stats for input port 0:
> Pkts in: 0
> Pkts dropped by AH: 0
> Pkts dropped by other: 0
> pipeline> p 2 stats port out 0
> Pipeline 2 - stats for output port 0:
> Pkts in: 0
> Pkts dropped by AH: 0
> Pkts dropped by other: 0
>
> I even enabled the following flags in dpdk/config/common_base and
> recompiled.
> CONFIG_RTE_*_STATS_COLLECT=y
> Still its not working.
>
> Can you please help me to rectify this?
>
> Regards,
> Sharanya\x16º&¶\x17šž‹\x1aº»¬‚f¢•Ê&\x16¸…y¿uë\x7fvïm5ñ\x17­º¹ÏjØm…槢Ʈ®ë ™¨¥r‰‘yÇ¢½ç_®‰¦j)e\x7fGøò
(‚Wœ¢išŠY_Ñþ<‚Š •ç(›m=óµç^[ÉÚ]’Šà>‹-~,pŠØDHÄωÐC\x03Mõ\aÍÃ~Šî±êìv—d¢¸\x05®/Ey½´×ÍzßÝ»ûMtÐ!\x13Eç\x1eŠ÷o)šŠY_Ñþ<‚Š •ç(›\b­…#\x13>'ZÛN,£]{ï8æWÚÙú+ºÇ«±Ú]’Šà\x16¸´ôW›ÛM|Ó½ýÛ½<ÓCÒL2ˆ1( «n­ë

      reply	other threads:[~2018-02-09 13:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-08 13:15 sharanya k
2018-02-08 14:11 ` Heena Sirwani
2018-02-09 12:24   ` sharanya k
2018-02-09 13:07     ` Heena Sirwani [this message]

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=545296933.10333.1518181650416.JavaMail.root@127.0.0.1 \
    --to=heena.sirwani@nevisnetworks.com \
    --cc=ksharanya.97@gmail.com \
    --cc=users@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).