[dpdk-dev] [PATCH v3] cmdline: avoid name clash with Windows system types

Ranjit Menon ranjit.menon at intel.com
Fri Oct 30 22:20:29 CET 2020


On 10/29/2020 6:01 PM, 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 <ranjit.menon at intel.com>
> Signed-off-by: Dmitry Kozlyuk <dmitry.kozliuk at gmail.com>
> ---
>
> 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: Ranjit Menon <ranjit.menon at intel.com>


More information about the dev mailing list