[PATCH] testpmd: do not print bitrate-stats in help if not configured

Stephen Hemminger stephen at networkplumber.org
Thu Jan 11 00:25:59 CET 2024


On Wed, 10 Jan 2024 18:52:39 +0000
Ferruh Yigit <ferruh.yigit at amd.com> wrote:

> On 1/9/2024 11:09 PM, Stephen Hemminger wrote:
> > Like other #ifdef options, bitrate-stats should not be printed
> > in help if not configured.
> > 
> > Fixes: e25e6c70fb56 ("app/testpmd: add --bitrate-stats option")
> > Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
> >   
> 
> Acked-by: Ferruh Yigit <ferruh.yigit at amd.com>
> 
> Applied to dpdk-next-net/main, thanks.
> 
> 
> Moved 'latencystats' help string next to bitrate-stats, to group them
> together and keep same order with documentation.
> It makes this patch do two things but I didn't want to make separate
> patch just reorder help string, instead squeezed it into this one.
> 

Make sense. Just wanted to make command matched help and documentation overall.


More information about the dev mailing list