From: Chenxu Di Date: Tue, 14 Jul 2020 01:37:21 +0000 (+0000) Subject: app/testpmd: fix output format in flow query X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=d1d5d3e4b3162a3be50f0dd47071d5175c8a715f;p=dpdk.git app/testpmd: fix 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 Tested-by: Phil Yang Reviewed-by: Ferruh Yigit --- diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c index fcbe6b6f74..30bee33248 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) {