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 6FF30A0540; Tue, 14 Jul 2020 12:06:57 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id CFB8D1D5C0; Tue, 14 Jul 2020 12:06:56 +0200 (CEST) Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-eopbgr150087.outbound.protection.outlook.com [40.107.15.87]) by dpdk.org (Postfix) with ESMTP id 298BD1C439 for ; Tue, 14 Jul 2020 12:06:55 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/63Z5JS4/Igx00n1/yz+BV3MuKxoC4lufpObJ/eUtvE=; b=ZyMu8PgNuw+S4yrX9k4eisqRoq7GEtmd8KMhigK7NR0wAewbsnL55NUGISHo46H0C56PbktP/HQBdNId6BcYXoX8MgRTjhj8H6FKJG+RBTFLhYd31znYsnpIxZsLBPSVbj+4+JUNEHozVJbXqkOx2ZWnHVUZegBPjEgqfNJIjsE= Received: from DB8PR06CA0009.eurprd06.prod.outlook.com (2603:10a6:10:100::22) by VI1PR0802MB2383.eurprd08.prod.outlook.com (2603:10a6:800:a5::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3174.22; Tue, 14 Jul 2020 10:06:52 +0000 Received: from DB5EUR03FT052.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:100:cafe::aa) by DB8PR06CA0009.outlook.office365.com (2603:10a6:10:100::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3195.17 via Frontend Transport; Tue, 14 Jul 2020 10:06:52 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dpdk.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dpdk.org; dmarc=bestguesspass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DB5EUR03FT052.mail.protection.outlook.com (10.152.21.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3174.21 via Frontend Transport; Tue, 14 Jul 2020 10:06:52 +0000 Received: ("Tessian outbound 2ae7cfbcc26c:v62"); Tue, 14 Jul 2020 10:06:52 +0000 X-CR-MTA-TID: 64aa7808 Received: from 0b72e32c0843.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 5C58878A-A50D-4102-9A43-55AF7D84A13E.1; Tue, 14 Jul 2020 10:06:47 +0000 Received: from EUR02-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 0b72e32c0843.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 14 Jul 2020 10:06:47 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ho7A7+Qai6zSkeQEhCvnS/K3gjrpF8b1zZa1fkjlBMiqz/CeyZ3xbO9Ap7FXEINFovPjyxDuwJc3h70vFTzYLq1xtHXfslOQGrgVWyElXjLTJ9MmeF96d2ihNIFp32Uve7SbWaFYz29cGL9tio96ulnsZHXP7Kk3D2ahTl8BFvtNvg/6V6IXvoBfCA1gxTzw3PZMKaGE/JV4fk9lPBlCLHuR3ubOz4t52bOyUTGQlVnAl6J9QaASK7hGU2hxNlMzbZAaz2jsLFg+lFJZnhZfASbxEVnaRHgNPwnp0QSoSrFC1cfOU52KUbjlembdP0JFbKo0h3rfU8bB9pb6UDRYUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/63Z5JS4/Igx00n1/yz+BV3MuKxoC4lufpObJ/eUtvE=; b=FpwwctjIMk9N6ZcoKfpfqiDsCNLtbPYc3oT5aSG1QkG7Jp6+q0+V9VJQCWoiyrf8uVZxCYCJzls/4+9+S2V/Sei8nY/+DKpoxBmrwRI+8GSTi968+73IA/QnsVOu54QeNnUPQbOFwk2sOJW3aQsCgQJVPJT6EXqvGrtV/wWQyLWrP4R8dnykCv65x6s3Z/AnR+lgn53K2M0t/IAHS7H/r1doY02vyihgt83jCGYB2RpTi+gvm10ModyvSuhA6Jk0mkkkY1A8s65gAWUCx80rsuA1iZMUCHlH3vusFeKwTlWB+2JAXrljsJRDVQT/N7lXrzjOaEKuZodnHUa80kWtKA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/63Z5JS4/Igx00n1/yz+BV3MuKxoC4lufpObJ/eUtvE=; b=ZyMu8PgNuw+S4yrX9k4eisqRoq7GEtmd8KMhigK7NR0wAewbsnL55NUGISHo46H0C56PbktP/HQBdNId6BcYXoX8MgRTjhj8H6FKJG+RBTFLhYd31znYsnpIxZsLBPSVbj+4+JUNEHozVJbXqkOx2ZWnHVUZegBPjEgqfNJIjsE= Received: from VE1PR08MB4640.eurprd08.prod.outlook.com (2603:10a6:802:b2::11) by VI1PR08MB4544.eurprd08.prod.outlook.com (2603:10a6:803:100::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3174.22; Tue, 14 Jul 2020 10:06:44 +0000 Received: from VE1PR08MB4640.eurprd08.prod.outlook.com ([fe80::c2e:9ccb:a690:6863]) by VE1PR08MB4640.eurprd08.prod.outlook.com ([fe80::c2e:9ccb:a690:6863%6]) with mapi id 15.20.3174.025; Tue, 14 Jul 2020 10:06:44 +0000 From: Phil Yang To: Chenxu Di , "dev@dpdk.org" CC: "beilei.xing@intel.com" , "david.marchand@redhat.com" , "wenzhuo.lu@intel.com" , nd , nd Thread-Topic: [dpdk-dev] [PATCH v2] app/testpmd: fix incorrect output format in flow query Thread-Index: AQHWWYE6ArmEKY+kZU6zaPKztF052KkG2aow Date: Tue, 14 Jul 2020 10:06:43 +0000 Message-ID: References: <20200713062842.49166-1-chenxux.di@intel.com> <20200714013721.50751-1-chenxux.di@intel.com> In-Reply-To: <20200714013721.50751-1-chenxux.di@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: 2638bcf5-aa09-4a3e-b852-1df9351a245a.0 x-checkrecipientchecked: true Authentication-Results-Original: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=arm.com; x-originating-ip: [203.126.0.112] x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: e7e7a125-4150-4ab2-400d-08d827dda159 x-ms-traffictypediagnostic: VI1PR08MB4544:|VI1PR0802MB2383: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true nodisclaimer: true x-ms-oob-tlc-oobclassifiers: OLM:1227;OLM:1227; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: rlI0qXJ/Cn59DLO7Rch46XPsvtX4GxCyy7Sr7L7Vptf4R9cg48AJJQu6yFDcssblJi55+iDfd3e6khZp9/IhRtCExF8A2j4XtJlRRLIUCBmHPd4/A+08ftxsijS3Lf/TzIKjwkoSpaiq9NeXvErce/66/PG/KQpG4rg95g867TZ2jVkuid6ahSuRIgRagY6iososoLQOun4i8zUaPau5ftIGQZXq8ctEZMAf2rRoqO5w6T02v1aG23z5EZjcUsggHGUQj0c465ZfdPoBu5pRk8XaVXhZ1fiLz+V3f1i7kLwy0Hhq0Ak6LrzZaq454ant X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VE1PR08MB4640.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(136003)(396003)(376002)(366004)(346002)(39860400002)(83380400001)(478600001)(4326008)(52536014)(71200400001)(54906003)(186003)(110136005)(26005)(316002)(5660300002)(9686003)(66476007)(6506007)(55016002)(53546011)(76116006)(64756008)(7696005)(86362001)(33656002)(66556008)(66446008)(2906002)(66946007)(8936002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: B+0hLCIkiXYhZnLzjSey3fktDVFCVHj0Xh30TqLh2W0GS3nj1aRlYiumdT68ttCyyy3xSSd5hbx3Cj/TqcOW6FSv2gnb9gLM00gThPOjdxFY6ZuOxVhxSYuzEErsSksS42MjwwWYaMBtcMF9FjFhlkVgb6kMZ7GJdHlA/s5gDagM4vOUpbxs0x6DNyr8VZzHkYfZ3ssVPcTtHwCar7LZdHfrBE5pLLyz/DgAq8XqKpSiXcQDuzN51z0XwJTz+31VjmoR3egbXCOHUka+XdImaXbfeId3ktv+tMWLjdjRmwP2UYp25LiesPJzzuP+JFv85USPLfuy9JzQaVdVl8LuOXrjhQ2xZJP9rey+OTvB2p+exNSbdZGl1rBDZdWEgMG30rbILhvZAdNoR8XSWxRzZvSMPHwDtgTlx0XJfyqLC6Tu9VQMRtjrZqgmh/gPkCc0xWlAJ5a5vUgXq6q7eyFRmGL6hoN6gtU6RP2CT7IsoC4= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB4544 Original-Authentication-Results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT052.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFTY:; SFS:(4636009)(136003)(39860400002)(396003)(376002)(346002)(46966005)(5660300002)(9686003)(53546011)(82740400003)(47076004)(2906002)(55016002)(8936002)(6506007)(86362001)(110136005)(356005)(33656002)(83380400001)(54906003)(81166007)(316002)(7696005)(336012)(186003)(478600001)(70206006)(70586007)(52536014)(26005)(82310400002)(4326008); DIR:OUT; SFP:1101; X-MS-Office365-Filtering-Correlation-Id-Prvs: 32ffc48d-57da-46b2-eb8a-08d827dd9c88 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: DbfT7JN4jhIRPhPoZA2MSg46utAc00W1uUtv8hN05TGqwNJmqvCl0Ea0P8q4GGd3p2qMXFVVCbCrO2rC5wUdzl/p6KPVLC2JJR4O6dg0m2N21TmvT+NMTPksQwJGBmCGRIFWtSt5rgeB/mnyqDxPjNeV7C/KK/ZcwpV8yix1yfMFcDilNUL27IsyEMQzWtQqrAfIrkrYxXDRV0MXEurE89zldSPBkALwuuMI6R+0DSLb2sC5OM8TORavzjJMBFsMOqzA9wVdgE0hIFWQ5jmjSkOBMyuveM4QDaUuYZsZizmEoyNl+dyM5sBrstpCHD9uHI6tF4vck/yC9PuKeGIT4/k5HZPFIxvDmPNRyPJtjwV4yYc0K2oOLKH0IJCHLnP6hXZOtUIHFQhmmxhiSQ2ZtA== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Jul 2020 10:06:52.1081 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e7e7a125-4150-4ab2-400d-08d827dda159 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: DB5EUR03FT052.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0802MB2383 Subject: Re: [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" > -----Original Message----- > From: dev On Behalf Of Chenxu Di > Sent: Tuesday, July 14, 2020 9:37 AM > To: dev@dpdk.org > Cc: beilei.xing@intel.com; david.marchand@redhat.com; > wenzhuo.lu@intel.com; Chenxu Di > Subject: [dpdk-dev] [PATCH v2] app/testpmd: fix incorrect output format i= n > flow query >=20 > This patch fix the error line break in the output format of flow query >=20 > Fixes: bdb1d61690f7 ("app/testpmd: support RSS config in flow query") >=20 > Signed-off-by: Chenxu Di Tested-by: Phil Yang > --- > app/test-pmd/config.c | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) >=20 > 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) > } >=20 > printf("RSS:\n" > - " queues: "); > + " queues:"); > if (rss_conf->queue_num =3D=3D 0) > - printf("none\n"); > + printf(" none"); > for (i =3D 0; i < rss_conf->queue_num; i++) > - printf("%d\n", rss_conf->queue[i]); > + printf(" %d", rss_conf->queue[i]); > + printf("\n"); >=20 > printf(" function: "); > switch (rss_conf->func) { > -- > 2.17.1