* [dpdk-users] Enabling stats in pipeline applications @ 2018-02-08 13:15 sharanya k 2018-02-08 14:11 ` Heena Sirwani 0 siblings, 1 reply; 4+ messages in thread From: sharanya k @ 2018-02-08 13:15 UTC (permalink / raw) To: users 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 ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [dpdk-users] Enabling stats in pipeline applications 2018-02-08 13:15 [dpdk-users] Enabling stats in pipeline applications sharanya k @ 2018-02-08 14:11 ` Heena Sirwani 2018-02-09 12:24 ` sharanya k 0 siblings, 1 reply; 4+ messages in thread From: Heena Sirwani @ 2018-02-08 14:11 UTC (permalink / raw) To: users, sharanya k [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain; charset=utf-8, Size: 1506 bytes --] 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º&«m ì\x1c¢h® ¨¥rá^oÍ{çn{ÛM|Eën®sÚ¶\x19¶Ø^ÁÊ)¦Zâ W(\x17z+Þuúèf¢t\x7f^õ ç(f¢t\x7f^õ ç(¾5Û6×½[ÉÚ]à>-~,pØDHÄÏß\x04\00µ\aÍz~î±êìvd¢¸\x13ï\x05y½´×Í{çn{ûMtÐ!\x13Eç\x1e÷o)Z-Ñý{Ö (W¢l"¶\x14Løk»(ãÝõÛÞh¶O_¢»¬z»\x1d¥Ù(®\x04á»O\x05y½´×Í<çn{ÓÍ4=$Ã(\x12 Ú¶êÞ ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [dpdk-users] Enabling stats in pipeline applications 2018-02-08 14:11 ` Heena Sirwani @ 2018-02-09 12:24 ` sharanya k 2018-02-09 13:07 ` Heena Sirwani 0 siblings, 1 reply; 4+ messages in thread From: sharanya k @ 2018-02-09 12:24 UTC (permalink / raw) To: Heena Sirwani; +Cc: users 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 ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [dpdk-users] Enabling stats in pipeline applications 2018-02-09 12:24 ` sharanya k @ 2018-02-09 13:07 ` Heena Sirwani 0 siblings, 0 replies; 4+ messages in thread From: Heena Sirwani @ 2018-02-09 13:07 UTC (permalink / raw) To: sharanya k; +Cc: users [-- 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 槢Ʈ®ë ¨¥ryÇ¢½ç_®¦j)e\x7fGøò (W¢iY_Ñþ< ç(m=óµç^[ÉÚ]à>-~,pØDHÄÏÐC\x03Mõ\aÍÃ~î±êìvd¢¸\x05®/Ey½´×ÍzßÝ»ûMtÐ!\x13Eç\x1e÷o)Y_Ñþ< ç(\b #\x13>'ZÛN,£]{ï8æWÚÙú+ºÇ«±Ú]à\x16¸´ôWÛM|Ó½ýÛ½<ÓCÒL21( «në ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-02-09 13:07 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2018-02-08 13:15 [dpdk-users] Enabling stats in pipeline applications sharanya k 2018-02-08 14:11 ` Heena Sirwani 2018-02-09 12:24 ` sharanya k 2018-02-09 13:07 ` Heena Sirwani
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).