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 04369454E5 for ; Mon, 24 Jun 2024 17:45:52 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F2C3640E2E; Mon, 24 Jun 2024 17:45:51 +0200 (CEST) Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) by mails.dpdk.org (Postfix) with ESMTP id E8339402DD; Mon, 24 Jun 2024 17:45:48 +0200 (CEST) Received: from mail.maildlp.com (unknown [172.18.186.231]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4W7C3L5CQsz6HJZn; Mon, 24 Jun 2024 23:45:34 +0800 (CST) Received: from frapeml100006.china.huawei.com (unknown [7.182.85.201]) by mail.maildlp.com (Postfix) with ESMTPS id 95487140A9C; Mon, 24 Jun 2024 23:45:47 +0800 (CST) Received: from frapeml500007.china.huawei.com (7.182.85.172) by frapeml100006.china.huawei.com (7.182.85.201) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Mon, 24 Jun 2024 17:45:47 +0200 Received: from frapeml500007.china.huawei.com ([7.182.85.172]) by frapeml500007.china.huawei.com ([7.182.85.172]) with mapi id 15.01.2507.039; Mon, 24 Jun 2024 17:45:47 +0200 From: Konstantin Ananyev To: Chaoyong He , "dev@dpdk.org" CC: "oss-drivers@corigine.com" , "konstantin.ananyev@intel.com" , "stable@dpdk.org" , Long Wu , "Peng Zhang" Subject: RE: [PATCH] app/testpmd: fix help string of BPF load command Thread-Topic: [PATCH] app/testpmd: fix help string of BPF load command Thread-Index: AQHaxdpUgVgsFn55ykCbdXaPEpS3JLHXD15w Date: Mon, 24 Jun 2024 15:45:47 +0000 Message-ID: <85c474a3ee084be7a91624b3b444290f@huawei.com> References: <20240624015852.3712910-1-chaoyong.he@corigine.com> In-Reply-To: <20240624015852.3712910-1-chaoyong.he@corigine.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.206.138.42] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-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 '-'. >=20 > Fixes: e977e4199a8d ("app/testpmd: add commands to load/unload BPF filter= s") > Cc: konstantin.ananyev@intel.com > Cc: stable@dpdk.org >=20 > 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(-) >=20 > 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 = =3D > cmdline_parse_inst_t cmd_operate_bpf_ld_parse =3D { > .f =3D cmd_operate_bpf_ld_parsed, > .data =3D NULL, > - .help_str =3D "bpf-load rx|tx ", > + .help_str =3D "bpf-load rx|tx ", > .tokens =3D { > (void *)&cmd_load_bpf_start, > (void *)&cmd_load_bpf_dir, > -- Acked-by: Konstantin Ananyev =20 > 2.39.1 >=20