From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 88B64A0540; Tue, 14 Jul 2020 03:50:47 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1ACB21D664; Tue, 14 Jul 2020 03:50:47 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 16BA71D663 for ; Tue, 14 Jul 2020 03:50:44 +0200 (CEST) IronPort-SDR: SbpXYPCSRDvPuH3ODejj14+Ig8JLsEwaAIi/e9Sm1W4EaCTQyl8ZnQlFkgErDj6Cq3Zjf69XNJ 9dkc8DmzeUhA== X-IronPort-AV: E=McAfee;i="6000,8403,9681"; a="136921599" X-IronPort-AV: E=Sophos;i="5.75,349,1589266800"; d="scan'208";a="136921599" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Jul 2020 18:50:44 -0700 IronPort-SDR: /I7EFqujk5i83Ffs/SCIeykgGdlXmiKOlp1YtvHNiUTsvrddjJvb94PIzEiylWdHcH9+XZPZxn yq03fUJGcjvA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,349,1589266800"; d="scan'208";a="390345212" Received: from intel.sh.intel.com ([10.239.255.20]) by fmsmga001.fm.intel.com with ESMTP; 13 Jul 2020 18:50:41 -0700 From: Chenxu Di To: dev@dpdk.org Cc: beilei.xing@intel.com, david.marchand@redhat.com, wenzhuo.lu@intel.com, Chenxu Di Date: Tue, 14 Jul 2020 01:37:21 +0000 Message-Id: <20200714013721.50751-1-chenxux.di@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200713062842.49166-1-chenxux.di@intel.com> References: <20200713062842.49166-1-chenxux.di@intel.com> Subject: [dpdk-dev] [PATCH v2] app/testpmd: fix incorrect output format in flow query X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 --- 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