From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 04FE3A034C; Thu, 28 Apr 2022 14:01:11 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F2CDA42826; Thu, 28 Apr 2022 14:01:01 +0200 (CEST) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2102.outbound.protection.outlook.com [40.107.236.102]) by mails.dpdk.org (Postfix) with ESMTP id 04B6C4068F; Thu, 28 Apr 2022 03:38:14 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Rcfff6CzsicLXM5KveZS5CPOudY93O78l7cvzp0V8A2hgt1MZ+x77rct0d3eBtS3G83MU355O5PVkngoBasIzqmdUAGnPkjZhQBEAsTNE859guP1wrUxwBRxT8rtV0y8C9E1JaMkKIg8urK/KmuwmAqa4GVXF/QFTOSVS0J1dOngK6pm2wp4LbV1hNnVSVdUUBmf3YFD5RlQE1U1nXgMPSLvQ3MszWl3e7I+r30RnHWC6cLqghKBWafzCHvJOEbfLD3wBjDFYscRx3AAyEwiE+DYBAjtd4WK8YaezSHsZRZI+4SmDp8q3psxoBPS/RqLULsbWzBX94WzAy5xEz3lyA== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=H4CwtbPZ0Uz7nlcbYPoBtQrTR/F7Py5rUpkhzI7DKic=; b=gpyjD+LUOVosX5pHPYLNPgnPlAp2CyDSNML5yB/nSailStPAe5kaX+K5CCbb2p5QF6eEkY43DmpFi8deJCNpORnJ75IuwQnlKDHkDexC+5vrCA0oFaA2/sB1eUQQikS1160YcUmS2TJ4IdoaWVWXFAKCVhMZhvUGLQTjLC1v8sk1Uh6i/yiqbfdZJp7hRHbpgd9MX0DPHsJCq7VlG4LDBH19W86YgHkwSpO6fK7ZFqykU4T/IZ5O/rXhYfUUb6R2+plK0PPuWftud6lY6xIQuqZHgO15WOHvF05BeIJ7ur8W5XF09z5VamL3V+KgnbG2Mq1MPFc4q+u1gmf8gerlHg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=corigine.com; dmarc=pass action=none header.from=corigine.com; dkim=pass header.d=corigine.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=corigine.onmicrosoft.com; s=selector2-corigine-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=H4CwtbPZ0Uz7nlcbYPoBtQrTR/F7Py5rUpkhzI7DKic=; b=THUzfdGic+P6T2a70mNYbgTRPiD72q3/NfnNEu1vvwdvtHsutvLeey1A4kJlKK+Mtayjrryiwdmg/W77QZrnpDYwQtoe/+sSaol69B3ccYloBwgilluvIh2h/ZqpLRefyyxy0UQL3Ee9y92l4hkT2yH9We3M/rpbdFSjbdfKhgg= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=corigine.com; Received: from MN2PR13MB3006.namprd13.prod.outlook.com (2603:10b6:208:137::23) by DM6PR13MB4537.namprd13.prod.outlook.com (2603:10b6:5:32::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5206.9; Thu, 28 Apr 2022 01:38:13 +0000 Received: from MN2PR13MB3006.namprd13.prod.outlook.com ([fe80::8b9:3f1b:bb6a:c708]) by MN2PR13MB3006.namprd13.prod.outlook.com ([fe80::8b9:3f1b:bb6a:c708%6]) with mapi id 15.20.5206.012; Thu, 28 Apr 2022 01:38:12 +0000 From: Jin liu To: dev@dpdk.org Cc: niklas.soderlund@corigine.com, Jin liu , haifeil@nvidia.com, stable@dpdk.org, Chaoyong He Subject: [PATCH] app/testpmd: fix help of create meter command Date: Thu, 28 Apr 2022 03:37:42 +0200 Message-Id: <20220428013742.1810881-1-jin.liu@corigine.com> X-Mailer: git-send-email 2.27.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: LO4P123CA0039.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:152::8) To MN2PR13MB3006.namprd13.prod.outlook.com (2603:10b6:208:137::23) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d7d6474b-0ca9-4eda-dc07-08da28b7c198 X-MS-TrafficTypeDiagnostic: DM6PR13MB4537:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: igSLKFZGwnMmW5/IrYf/ggef8bAEd6vP8Fe1cTZcC9sOm/AQ0a89xmtyou9XBhUYrtlT2nMqQB82AgVBoVgqXjnSGlIJC/0dE0fS12xzj9Xgx8yJHhythsAZoz/EDN979S5gsOHzFPRZYjnLzV3GVDEvAEwv6jvPxHg+nKF8CA9L1ICDDyi0GcyOoVfV6d4PFGpViD2ZDMjAcP5dH8tp7dQO2On2n+548JP9XFuv0TzY0t7SVYZVjbkyNbBahu3zi2eC+xHrHlU9I/1tGP4lM63aYBaVE31UCJvuKw80zZZfntWF5yQZUgQYPLJk3/cNCSCOzm57h8F/F7WtYmnMvG7wHIm2Fu0qbifLBKNFUQaITHz697ccz+bev2FXdcPbQeLYRPhmm6ZondzM/uOfO9uK9Nn9SQWF4FVW4eANTnjM7eghscVbiuaBCmsLwIpumA/XD+2r3iErmEeNnq9iGzPgS1a9cP6O/mCSKB+kFYI9ZZMek5pYiAg048cMpR7UEBAQOHm6qac601HiR02DJNqK9VeU+IkStrmKBF/JheYpSy8SDaBYTKZiFjuHuHsPvr5DNpy0GUT2apzeoceDAJxSBGpL8zYt6/cZqSyRhJTPl6/DNtFqNIwdiUpeCpYbQ+D7rO/yuzEyqrhQ5L4+SMCKc3sSmyHYl5VL9vHfjuU2mQ1rLvYH4ctBia5gK7fWzXuh0HICboAjvvkqm4CSfk5nbwj19T6/K9xF+7/uLy8WfhgsO+sz/J4OQFJAWMq/ X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR13MB3006.namprd13.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(136003)(396003)(366004)(376002)(39830400003)(346002)(6666004)(52116002)(508600001)(86362001)(38100700002)(2906002)(38350700002)(6486002)(5660300002)(2616005)(54906003)(66574015)(186003)(1076003)(83380400001)(6512007)(107886003)(316002)(6916009)(8936002)(26005)(8676002)(4326008)(6506007)(66946007)(66556008)(66476007)(36756003); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?d3krZ0FhZCt2VXEyUXBlR1U5czVuU3hhYW95TmxaZHlpTjZSQWkydUlEbE96?= =?utf-8?B?aEw1V2FUTUxuemdHWmRoZGEzcnJxWW56L25ZQVQ0UHhCOEM1QlU3eSs4Z0pE?= =?utf-8?B?WHhWSmlhQmYvdlhrRVlBWjRYaEs0TUpRUG8wK3VOZlRZT1ZMZ0RZL3A1ZmJP?= =?utf-8?B?RkRLdkczaFNBZEVoaTlTdkpiNnV3ZGU1OUJYM08rRHVYeU5Xdmp3OStoU2pS?= =?utf-8?B?OFdlTHR2QTRXeStleHNtQks1SDdpQm1sbCtLTnhDRGRZazMvVUo2UFhIUjhu?= =?utf-8?B?SDBZNkNDdHV4TUtpRkNEVHNVTVdJakd2MUJQUUVZdkJvSE1UcnBQWDg5ZGla?= =?utf-8?B?UkxFTTU0ZzNiYURWRWdhQVVFU1pZR1hYbFZSWnBnL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Uno3TzBFYk9wK09oS2dTeEZBM3M1aVl5dGt3UUs1dXls?= =?utf-8?B?ckNzVGRwVWZIT0x4RXkzT05XaEZtR0MrUjBOTXE1THFJSUxnZ3Z3V1RaSEpi?= =?utf-8?B?Z3UwbkxkWTlpK21QanBhT1QrZTdCcHhYczQzdy9lZjFDaFNSZWZSdz09?= X-OriginatorOrg: corigine.com X-MS-Exchange-CrossTenant-Network-Message-Id: d7d6474b-0ca9-4eda-dc07-08da28b7c198 X-MS-Exchange-CrossTenant-AuthSource: MN2PR13MB3006.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Apr 2022 01:38:12.3649 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: fe128f2c-073b-4c20-818e-7246a585940c X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: F2PmWcvbdQac6bjUBwb+jm3B8DK49Te8icWAwIe+sxLzohDoRd2XvV02TVbhKRfU11SOgylY4rtgzcSHLvtwrQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR13MB4537 X-Mailman-Approved-At: Thu, 28 Apr 2022 14:00:58 +0200 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org The help message of create meter command is incomplete, lack of policy_id param, update help string. Fixes: f29fa2c59b85 ("app/testpmd: support policy actions per color") Cc: haifeil@nvidia.com Cc: stable@dpdk.org Signed-off-by: Jin liu Signed-off-by: Chaoyong He Signed-off-by: Niklas Söderlund --- app/test-pmd/cmdline_mtr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/test-pmd/cmdline_mtr.c b/app/test-pmd/cmdline_mtr.c index ad7ef6ad98..a0f885f190 100644 --- a/app/test-pmd/cmdline_mtr.c +++ b/app/test-pmd/cmdline_mtr.c @@ -817,8 +817,8 @@ static void cmd_create_port_meter_parsed(void *parsed_result, cmdline_parse_inst_t cmd_create_port_meter = { .f = cmd_create_port_meter_parsed, .data = NULL, - .help_str = "create port meter (yes|no) " - " " + .help_str = "create port meter " + "(yes|no) " "[ ...]", .tokens = { (void *)&cmd_create_port_meter_create, -- 2.27.0