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 68E0D45AAF; Fri, 4 Oct 2024 18:05:53 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 450ED4279F; Fri, 4 Oct 2024 18:05:53 +0200 (CEST) Received: from mail-pf1-f178.google.com (mail-pf1-f178.google.com [209.85.210.178]) by mails.dpdk.org (Postfix) with ESMTP id 2FDE44025F for ; Fri, 4 Oct 2024 18:05:52 +0200 (CEST) Received: by mail-pf1-f178.google.com with SMTP id d2e1a72fcca58-71b20ffd809so2062527b3a.0 for ; Fri, 04 Oct 2024 09:05:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1728057951; x=1728662751; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=Hv+XqUHQDYE7q9BHWzQg1nt/Uh7x9mBiDEo4oBl/wQk=; b=ChvP9eI0ljLvUy0s7Qcf2t5Y6xuTMifSVboKfbxy66CywlEsTrEAmUrTmA3XPXJ4+m 2t3bZ9haaAuksKDrKEBSci2dIacZVZUQN09cTD7enDT9BNkBiNpVxR2NxYKi+DgRuGOw YwRMBKQrHqyZlEOBV6w0tQNRady/qx7F2p9uQ5udZxvpo6UYx5ip6drXgoFYKcGnZx8q HTD1/djEvrHgjy/m8RMgTcn9bD2Dh776hWlfxH3JR0qcUxFsxAHIPUzP6uVqx3m28MS2 XxyGsZ7vUtXQbIIsdr2+xOz6cfPlYO89XxhVh+4Zr32IDJKKCwAPvr1dAMeMaLfWcQLr CP5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728057951; x=1728662751; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Hv+XqUHQDYE7q9BHWzQg1nt/Uh7x9mBiDEo4oBl/wQk=; b=UAQnUwdaUV+0a0vifJW+a6Ult2NrhLCuFqjDGwvVXAcHNFyPGol69SW+SPBtRbHZvc 8Oo9wsEvjsZ/yTDXL+JjRSELh7T4+exHuYgeQ1IfPlVi/YJYB6Xg1KPaUNurKzaAMo/6 7gd0i3WuHfJwXe13YE6IjEE1OgDq8P2/VDqAX7RoMQR9bC+RSvlSua3I888lKtR/1jjT N6ng7gdZ6Nk43qyo3zs9TUxzuBlWcvWbpX9QPW6IKt75FlfASG4dWd7EAodWMC/1eL2F VHM6QMRRqDkY0f0lTyAOQYmLoj02V3K/wLm+1S1avz/A4E/qf97tM8zK/E9p06YnJn4N VAUQ== X-Gm-Message-State: AOJu0YzSUgA/qpF5ksaFf03vSmHRjOcqjS+g5BG7rY7DWqCiK3EEndPT QEBnhKqRIj2xnxbfd+MwA0zP8dRDWsHYDZM8O1/lN64PxA2HrWP1bGZZPYdAtwk= X-Google-Smtp-Source: AGHT+IHpfuCYKrb4hsObPxRM2S1tWaJggxbmBbC3T6uAtFRd5UrbCi+RXesOLGqIb4ELM7jVGl1Dug== X-Received: by 2002:a05:6a00:1ad3:b0:718:cabe:aa8 with SMTP id d2e1a72fcca58-71de244a014mr4286517b3a.18.1728057951217; Fri, 04 Oct 2024 09:05:51 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7e9f6c340f7sm107615a12.73.2024.10.04.09.05.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Oct 2024 09:05:51 -0700 (PDT) Date: Fri, 4 Oct 2024 09:05:49 -0700 From: Stephen Hemminger To: Euan Bourke Cc: dev@dpdk.org, David Hunt , Anatoly Burakov , Sivaprasad Tummala Subject: Re: [PATCH v4 8/8] examples/l3fwd-power: update to call arg parser API Message-ID: <20241004090549.4ac1bbe6@hermes.local> In-Reply-To: <20231215172632.3102502-9-euan.bourke@intel.com> References: <20231215172632.3102502-1-euan.bourke@intel.com> <20231215172632.3102502-9-euan.bourke@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 On Fri, 15 Dec 2023 17:26:32 +0000 Euan Bourke wrote: > Update to the l3fwd-power example application to call the arg parser > library for its 'combined core string parser' instead of implementing its > own corelist parser. The default_type passed into the function call is > a corelist. >=20 > Signed-off-by: Euan Bourke > Acked-by: David Hunt > --- Compile test failed with older Gcc?? *Build Failed #1: OS: CentOS79-64 Target: x86_64-native-linuxapp-gcc FAILED: lib/librte_arg_parser.a.p/arg_parser_arg_parser.c.o=20 gcc -Ilib/librte_arg_parser.a.p -Ilib -I../lib -I. -I.. -Iconfig -I../confi= g -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/e= al/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/arg_p= arser -I../lib/arg_parser -D_FILE_OFFSET_BITS=3D64 -Wall -Winvalid-pch -Wex= tra -Werror -std=3Dc11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -= Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmiss= ing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsi= gn-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-i= nitializers -D_GNU_SOURCE -fPIC -march=3Dnative -mrtm -DALLOW_EXPERIMENTAL_= API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=3Dlib.arg_parser -MD -MQ= lib/librte_arg_parser.a.p/arg_parser_arg_parser.c.o -MF lib/librte_arg_par= ser.a.p/arg_parser_arg_parser.c.o.d -o lib/librte_arg_parser.a.p/arg_parser= _arg_parser.c.o -c ../lib/arg_parser/arg_parser.c ../lib/arg_parser/arg_parser.c: In function =E2=80=98rte_arg_parse_corelist= =E2=80=99: ../lib/arg_parser/arg_parser.c:76:9: error: missing braces around initializ= er [-Werror=3Dmissing-braces] struct core_bits mask =3D {0}; ^ ../lib/arg_parser/arg_parser.c:76:9: error: (near initialization for =E2=80= =98mask.bits=E2=80=99) [-Werror=3Dmissing-braces] ../lib/arg_parser/arg_parser.c: In function =E2=80=98rte_arg_parse_coremask= =E2=80=99: ../lib/arg_parser/arg_parser.c:125:9: error: missing braces around initiali= zer [-Werror=3Dmissing-braces] struct core_bits mask =3D {0}; ^ ../lib/arg_parser/arg_parser.c:125:9: error: (near initialization for =E2= =80=98mask.bits=E2=80=99) [-Werror=3Dmissing-braces] cc1: all warnings being treated as errors [2/2834] Compiling C object lib/librte_log.a.p/log_log_linux.c.o [3/2834] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_class.= c.o [4/2834] Compiling C object lib/librte_kvargs.a.p/kvargs_rte_kvargs.c.o [5/2834] Compiling C object lib/librte_telemetry.a.p/telemetry_telemetry_da= ta.c.o [6/2834] Compiling C object lib/librte_telemetry.a.p/telemetry_telemetry_le= gacy.c.o [7/2834] Compiling C object lib/librte_log.a.p/log_log.c.o [8/2834] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_bus.c.o [9/2834] Compiling C object lib/librte_mempool.a.p/mempool_rte_mempool_ops_= default.c.o [10/2834] Compiling C object lib/librte_telemetry.a.p/telemetry_telemetry.c= .o ninja: build stopped