Re: [dpdk-dev] [PATCH] app/testpmd: refine xstats show

2017-10-24 Thread Ferruh Yigit
On 10/23/2017 4:47 PM, Ferruh Yigit wrote: > On 10/20/2017 10:09 AM, Elza Mathew wrote: >> When using "show port xstats all" command to show xstats, the output >> is usually too long to obtain what you really want, especially when >> multi-queue is enabled. >> >> Added an option to set whether zero

Re: [dpdk-dev] [PATCH] app/testpmd: refine xstats show

2017-10-23 Thread Ferruh Yigit
On 10/20/2017 10:09 AM, Elza Mathew wrote: > When using "show port xstats all" command to show xstats, the output > is usually too long to obtain what you really want, especially when > multi-queue is enabled. > > Added an option to set whether zero values should be displayed > or not for xstats.

[dpdk-dev] [PATCH] app/testpmd: refine xstats show

2017-10-20 Thread Elza Mathew
When using "show port xstats all" command to show xstats, the output is usually too long to obtain what you really want, especially when multi-queue is enabled. Added an option to set whether zero values should be displayed or not for xstats. The "set xstats-hide-zero on|off" command enables the u

Re: [dpdk-dev] [PATCH] app/testpmd: refine xstats show

2017-04-30 Thread Thomas Monjalon
08/02/2017 17:30, Thomas Monjalon: > 2017-01-18 09:07, Tan, Jianfeng: > > > > How about "nz" for non-zero? > > > > > > I would prefer the full name. If you want nonzero, that's ok for me, but > > > there > > > is > > > no need to make it shorter and not readable enough (I wouldn't know what > > >

Re: [dpdk-dev] [PATCH] app/testpmd: refine xstats show

2017-02-08 Thread Thomas Monjalon
2017-01-18 09:07, Tan, Jianfeng: > > > How about "nz" for non-zero? > > > > I would prefer the full name. If you want nonzero, that's ok for me, but > > there > > is > > no need to make it shorter and not readable enough (I wouldn't know what > > nz is). > > Make sense. Will send out patch soon.

Re: [dpdk-dev] [PATCH] app/testpmd: refine xstats show

2017-01-18 Thread Tan, Jianfeng
> -Original Message- > From: De Lara Guarch, Pablo > Sent: Wednesday, January 18, 2017 5:03 PM > To: Tan, Jianfeng; dev@dpdk.org > Cc: Wu, Jingjing > Subject: RE: [dpdk-dev] [PATCH] app/testpmd: refine xstats show > > Hi Jianfeng, > > > -Or

Re: [dpdk-dev] [PATCH] app/testpmd: refine xstats show

2017-01-18 Thread De Lara Guarch, Pablo
Hi Jianfeng, > -Original Message- > From: Tan, Jianfeng > Sent: Wednesday, January 18, 2017 6:46 AM > To: De Lara Guarch, Pablo; dev@dpdk.org > Cc: Wu, Jingjing > Subject: RE: [dpdk-dev] [PATCH] app/testpmd: refine xstats show > > Hi Pablo, > > > -O

Re: [dpdk-dev] [PATCH] app/testpmd: refine xstats show

2017-01-17 Thread Tan, Jianfeng
Hi Pablo, > -Original Message- > From: De Lara Guarch, Pablo > Sent: Wednesday, January 18, 2017 12:04 AM > To: Tan, Jianfeng; dev@dpdk.org > Cc: Wu, Jingjing; Tan, Jianfeng > Subject: RE: [dpdk-dev] [PATCH] app/testpmd: refine xstats show > > Hi Jianfeng, >

Re: [dpdk-dev] [PATCH] app/testpmd: refine xstats show

2017-01-17 Thread De Lara Guarch, Pablo
Hi Jianfeng, > -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Jianfeng Tan > Sent: Wednesday, December 21, 2016 9:10 AM > To: dev@dpdk.org > Cc: Wu, Jingjing; Tan, Jianfeng > Subject: [dpdk-dev] [PATCH] app/testpmd: refine xstats show > &g

[dpdk-dev] [PATCH] app/testpmd: refine xstats show

2016-12-21 Thread Jianfeng Tan
When using "show port xstats all" command to show xstats, the output is usually too long to obtain what you really want, expecially when multi-queue is enabled. This patch refines this situation by skipping showing those with value of zero. Signed-off-by: Jianfeng Tan --- app/test-pmd/config.c