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 2F7B2A04E6; Sat, 31 Oct 2020 01:00:28 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7C8AEC7EE; Sat, 31 Oct 2020 01:00:26 +0100 (CET) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by dpdk.org (Postfix) with ESMTP id 11D06C778 for ; Sat, 31 Oct 2020 01:00:24 +0100 (CET) Received: by linux.microsoft.com (Postfix, from userid 1061) id 653D120B4905; Fri, 30 Oct 2020 17:00:22 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 653D120B4905 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1604102422; bh=XslKsRQD5bLNKZd+PHIGqq18oWFVf0F2yYrtUqhwoMY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=r61O/EWB65OIfuKpOsJwWOma/8ylqx4XmveuaL1lOg9uCZ0LPaN6St8LCmBxVTSVk hRYLCad/mrDcdUIQizSOFrCYgaSc8DmRiBQklETcVL/0peVgPxjLkAZnEImiBXTqjw iBX+B5XZ7BGuff8iR9mSF1EAKhK698NOBbGP1Qe8= Date: Fri, 30 Oct 2020 17:00:22 -0700 From: Jie Zhou To: Dmitry Kozlyuk Cc: dev@dpdk.org, Jie Zhou , Ranjit Menon , Olivier Matz , Wenzhuo Lu , Beilei Xing , Bernard Iremonger , Ori Kam , Radu Nicolau , Akhil Goyal , Cristian Dumitrescu , Jasvinder Singh , Maxime Coquelin , Chenbo Xia , David Hunt Message-ID: <20201031000022.GA13205@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> References: <20200902183805.5421-1-dmitry.kozliuk@gmail.com> <20201030010126.17928-1-dmitry.kozliuk@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201030010126.17928-1-dmitry.kozliuk@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: [dpdk-dev] [PATCH v3] cmdline: avoid name clash with Windows system types 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" On Fri, Oct 30, 2020 at 04:01:26AM +0300, Dmitry Kozlyuk wrote: > cmdline_numtype member names clash with Windows system identifiers. > Add RTE_ prefix to cmdline constants to avoid this and possible > future conflicts. > > Suggested-by: Ranjit Menon > Signed-off-by: Dmitry Kozlyuk > --- > > v3: change prefix from CMDLINE_ to RTE_ (Bruce Richardson) > > app/test-cmdline/commands.c | 2 +- > app/test-pmd/bpf_cmd.c | 8 +- > app/test-pmd/cmdline.c | 705 +++++++++--------- > app/test-pmd/cmdline_flow.c | 2 +- > app/test-pmd/cmdline_mtr.c | 89 +-- > app/test-pmd/cmdline_tm.c | 196 ++--- > app/test/test_cmdline_num.c | 48 +- > examples/ethtool/ethtool-app/ethapp.c | 19 +- > examples/ipsec-secgw/parser.c | 2 +- > examples/qos_sched/cmdline.c | 46 +- > examples/vdpa/main.c | 2 +- > .../guest_cli/vm_power_cli_guest.c | 2 +- > examples/vm_power_manager/vm_power_cli.c | 8 +- > lib/librte_cmdline/cmdline_parse_num.c | 65 +- > lib/librte_cmdline/cmdline_parse_num.h | 16 +- > 15 files changed, 618 insertions(+), 592 deletions(-) Acked-by: Jie Zhou Tested-by: Jie Zhou