> -----Original Message-----
> From: dev <[email protected]> On Behalf Of Chenxu Di
> Sent: Tuesday, July 14, 2020 9:37 AM
> To: [email protected]
> Cc: [email protected]; [email protected];
> [email protected]; Chenxu Di <[email protected]>
> Subject: [dpdk-dev] [PATCH v2] app/testpmd: fix incorrect output format in
> flow query
> 
> This patch fix the error line break in the output format of flow query
> 
> Fixes: bdb1d61690f7 ("app/testpmd: support RSS config in flow query")
> 
> Signed-off-by: Chenxu Di <[email protected]>


Tested-by: Phil Yang <[email protected]>


> ---
>  app/test-pmd/config.c | 7 ++++---
>  1 file changed, 4 insertions(+), 3 deletions(-)
> 
> diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c
> index fcbe6b6f7..30bee3324 100644
> --- a/app/test-pmd/config.c
> +++ b/app/test-pmd/config.c
> @@ -1421,11 +1421,12 @@ rss_config_display(struct rte_flow_action_rss
> *rss_conf)
>       }
> 
>       printf("RSS:\n"
> -            " queues: ");
> +            " queues:");
>       if (rss_conf->queue_num == 0)
> -             printf("none\n");
> +             printf(" none");
>       for (i = 0; i < rss_conf->queue_num; i++)
> -             printf("%d\n", rss_conf->queue[i]);
> +             printf(" %d", rss_conf->queue[i]);
> +     printf("\n");
> 
>       printf(" function: ");
>       switch (rss_conf->func) {
> --
> 2.17.1

Reply via email to