From d1d5d3e4b3162a3be50f0dd47071d5175c8a715f Mon Sep 17 00:00:00 2001 From: Chenxu Di Date: Tue, 14 Jul 2020 01:37:21 +0000 Subject: [PATCH] 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 --- 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 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) { -- 2.20.1