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 E1C17454CB; Mon, 24 Jun 2024 04:00:15 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5088A406B7; Mon, 24 Jun 2024 03:59:23 +0200 (CEST) Received: from NAM02-DM3-obe.outbound.protection.outlook.com (mail-dm3nam02on2102.outbound.protection.outlook.com [40.107.95.102]) by mails.dpdk.org (Postfix) with ESMTP id C19974065E; Mon, 24 Jun 2024 03:59:13 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mOf6rCjetBgtU0NUnUsFHb6AqRoR6Ip6PGXJWQgDmiu9q7Lv+LZvFE5QV1Kq09puyZkgBp3RiH3b/YNWxpG6ywpwySx59V0h/x2fb3Q6p4Hzqt4U2PT+5BQrsYq/t+ftp2QCJpohRsPDzaV7KM4h4cErcIUeQVFEr20IeM+JDTEEGvfW+wAiEd5xNXuGhc97kEmPvAvMtwb1LUtl+xLkISnqWg4w05Cod+P8tYJU9HSjU1YfdFrGPzgU/yxx/2xS447mBdckfBF4FVKquHDdkiCEa3d5tahmUQHifbKaGtkeA+YkRfv3b1VZ3zMjXeTyFqsCagC3gKhMbgTxFLkJYg== 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=QO0iz69q+jAUf55aNe9UPsJFoZTqZyHOLM4CaZs52Ko=; b=RuaZAm+WA7j1ZnZypUubpfShURt5d+S9Yk9ktTVaQXLn2uMVd5iZjr3HeKvOGAj+ojl7Zj2FyaArVxlr7zyZbzmYitzN5vWe/xUYpS7Yw5Ggh6oL+u96+O8v8pMYfnFIjWQ4Qfov296cLLImJmctINQJOF9JcGbEHqNRvTaDgEDGghh5BMbW10Vsgs7fhWlVT/cZtztLM6fHKWOGcE50S0DGKsQM8txuNyhLocKopqpL+vKlcJv9ZB7ZRdVl9yUnwdgC+6reZQZbzuWbGbIKhwJw26MzO2zDh6UzVNkqkVQ+BKYk1IQvpWTMGbOshX5NlZe9Y5A3McVnYYOpnF6Vxw== 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=QO0iz69q+jAUf55aNe9UPsJFoZTqZyHOLM4CaZs52Ko=; b=f3hy5/dgCGCzstHePWRqnz1OAC9aF2AcqvH5EeK5sQ6etZ2wemEJwCUCkJPo0pcfvqv+EYwH2VdNgZPqC+taif3kiFQtNKluRQkzq1Vn4aT90F82iUotNoCHkoOsrBE5p97gpqEap3CF6wHCVmt/0kgrgpihHIi51L6+vICD1L4= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=corigine.com; Received: from SJ0PR13MB5545.namprd13.prod.outlook.com (2603:10b6:a03:424::5) by PH7PR13MB5867.namprd13.prod.outlook.com (2603:10b6:510:159::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7698.19; Mon, 24 Jun 2024 01:59:12 +0000 Received: from SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::b900:5f05:766f:833]) by SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::b900:5f05:766f:833%4]) with mapi id 15.20.7698.024; Mon, 24 Jun 2024 01:59:12 +0000 From: Chaoyong He To: dev@dpdk.org Cc: oss-drivers@corigine.com, Chaoyong He , konstantin.ananyev@intel.com, stable@dpdk.org, Long Wu , Peng Zhang Subject: [PATCH] app/testpmd: fix help string of BPF load command Date: Mon, 24 Jun 2024 09:58:52 +0800 Message-Id: <20240624015852.3712910-1-chaoyong.he@corigine.com> X-Mailer: git-send-email 2.39.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SJ0PR13CA0060.namprd13.prod.outlook.com (2603:10b6:a03:2c2::35) To SJ0PR13MB5545.namprd13.prod.outlook.com (2603:10b6:a03:424::5) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ0PR13MB5545:EE_|PH7PR13MB5867:EE_ X-MS-Office365-Filtering-Correlation-Id: 8d416c99-17a4-4da4-ab42-08dc93f13e05 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230037|52116011|366013|1800799021|376011|38350700011; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?qeYgQtGQAnVTzlmHQfSoDG4uszpH90V1qOw9ISDwGgzToSrBqi05oRLcRjQw?= =?us-ascii?Q?bd0/bWQZXOb1tR4OYabFjIXR/6CjLikoMPg04rZrMkHNLuGh7N2Y9hBcH0l1?= =?us-ascii?Q?GproSC1tcP92P85Mk/351XrAU2QqTIfPR3D9V5ZtG5iPMWasLvVA1IAayjOj?= =?us-ascii?Q?K3ugwldDE1xXJDGMVnuE2PCrADtI+hrMDnfIK+pwKroi9OS7jl0yUbeuQrl/?= =?us-ascii?Q?kFJHuh5vAhL3PjpbmXOey92EfljPC3h68Ze3vjy7MtXsBjpYvk93RQ/zJEdt?= =?us-ascii?Q?Am1auTp2Or1DqsleA9WNQvUefKgY62DEdz+w9aF9vmxnr6sKwqddIgbwWzVP?= =?us-ascii?Q?kmi/qqBEUQrCru5zX9YwbYea0dIOX5CzUzsGlHkItxcZZsYmITj10/+8tymy?= =?us-ascii?Q?tR5e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PHNY0NPeC7l2hF?= =?us-ascii?Q?pvoo5lyfldXnUPrM7Slx7TSGvqgUWUrmhg8AgwoIBafWWJLQuAjLj4EBFLFM?= =?us-ascii?Q?IvWtUZ0=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR13MB5545.namprd13.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230037)(52116011)(366013)(1800799021)(376011)(38350700011); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?x11C7WWxAOHWZTz6L6PRyLv5RhZ9AehtiWyo2s98WeB++ZMq7+cJaDKljs7C?= =?us-ascii?Q?xzRiONqZQRkhd51kJR1+FwnH9XEoe0BXO3ikSvnpVYtotE47j+GLTe709mPT?= =?us-ascii?Q?IpuVZ9Kyw77DpRB8E2PzJZ5CdUGe5QeidqEf/W8Y8EHd7KReTbMJOnvdTzt9?= =?us-ascii?Q?1s1FbnEcn0nVkIRf+N68iv87zA+qatpUMsbsnOPLCgu9htiMtAEDRdjP1Z0P?= =?us-ascii?Q?MziCAirUTFKP7XqoW+AFUc8+U+tcmK8S7DOW6V+aWUsa0GAAvSrIDf44XjqL?= =?us-ascii?Q?SABqruvnSQSVvKnK3QUj1GZn8XnotkKE8w//q3s4z7rFlkAqHpQXaMgbaAXs?= =?us-ascii?Q?B15W9qDo+WhJieTzAn7UxmhRSaNkUzHayiVT1BfodNBNSh/GZqE8SFzPqylO?= =?us-ascii?Q?zDqZiq5sMCdqCI0CxceVOyTPBg1XT/DEMUdjbAcrnMqCHZPGLesRtaLdGrHH?= =?us-ascii?Q?nA/0bjaGX6vFCGZE6M1VoFILxA5J5+yjBwaosCWo5CDY8tKJfWF2vV/gtPsb?= =?us-ascii?Q?DX+q141Wcxszeuq1SkL9Qu+rbUXIEIJdQ5gjUxbx2Yjd/SsRo/Fj1xx9+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4gHOlCLKRqOqNCWBz9dvw3cy0JW2BvC2g?= =?us-ascii?Q?5YH3X42gci944ahdW0BQPUcG54CEX1inZDaogbWtr8NZAlr4eAnm1vDRcM3s?= =?us-ascii?Q?+G+9GBiZh1rke7obsYQttdUrPYMTl0StWKQdF+80ni4KprX75y1cWqyQ6Auj?= =?us-ascii?Q?dQ=3D=3D?= X-OriginatorOrg: corigine.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8d416c99-17a4-4da4-ab42-08dc93f13e05 X-MS-Exchange-CrossTenant-AuthSource: SJ0PR13MB5545.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Jun 2024 01:59:11.9452 (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: k3rkj6RjweeR+ZVMPEhsCX2krLfa3gTmfJ0sBaDhJ4XYw0B3JyH3QWtO+8aMMKGiRu62D6opmlrLcgUPxa0CXju5golvh9inaQ2CdCeNSmk= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR13MB5867 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 Based on the logic of 'bpf_parse_flags()' and the 'bpf-load' section of 'testpmd_funcs.rst' document, the 'B' flag in the help string of bpf-load command should be '-'. Fixes: e977e4199a8d ("app/testpmd: add commands to load/unload BPF filters") Cc: konstantin.ananyev@intel.com Cc: stable@dpdk.org Signed-off-by: Chaoyong He Reviewed-by: Long Wu Reviewed-by: Peng Zhang --- app/test-pmd/bpf_cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/test-pmd/bpf_cmd.c b/app/test-pmd/bpf_cmd.c index 46f6b7d6d2..24d34f983e 100644 --- a/app/test-pmd/bpf_cmd.c +++ b/app/test-pmd/bpf_cmd.c @@ -139,7 +139,7 @@ static cmdline_parse_token_string_t cmd_load_bpf_prm = cmdline_parse_inst_t cmd_operate_bpf_ld_parse = { .f = cmd_operate_bpf_ld_parsed, .data = NULL, - .help_str = "bpf-load rx|tx ", + .help_str = "bpf-load rx|tx ", .tokens = { (void *)&cmd_load_bpf_start, (void *)&cmd_load_bpf_dir, -- 2.39.1