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 CC35E43DF6 for ; Thu, 4 Apr 2024 09:51:54 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C271940268; Thu, 4 Apr 2024 09:51:54 +0200 (CEST) Received: from mail.loongson.cn (mail.loongson.cn [114.242.206.163]) by mails.dpdk.org (Postfix) with ESMTP id 458414025D for ; Thu, 4 Apr 2024 09:51:52 +0200 (CEST) Received: from loongson.cn (unknown [192.168.100.1]) by gateway (Coremail) with SMTP id _____8Dx_7sVXA5mdR8jAA--.61430S3; Thu, 04 Apr 2024 15:51:49 +0800 (CST) Received: from localhost.localdomain (unknown [192.168.100.1]) by localhost.localdomain (Coremail) with SMTP id AQAAf8CxLBMTXA5mo_JyAA--.25979S3; Thu, 04 Apr 2024 15:51:47 +0800 (CST) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by localhost.localdomain (8.15.2/8.15.2) with ESMTPS id 4347Quu02105506 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Thu, 4 Apr 2024 15:26:56 +0800 Received: (from root@localhost) by localhost.localdomain (8.15.2/8.15.2/Submit) id 4347QtWG2105505; Thu, 4 Apr 2024 15:26:55 +0800 Date: Thu, 4 Apr 2024 15:26:55 +0800 From: qemudev@loongson.cn Message-Id: <202404040726.4347QtWG2105505@localhost.localdomain> Content-Type: text/plain; charset="utf-8" Subject: |FAILURE| pw139093 [PATCH] dpdk-testpmd: call get/set link settings interface In-Reply-To: <20240403225333.16260-1-mpazdan@arista.com> References: <20240403225333.16260-1-mpazdan@arista.com> To: test-report@dpdk.org Cc: Marek Pazdan , zhoumin@loongson.cn X-CM-TRANSID: AQAAf8CxLBMTXA5mo_JyAA--.25979S3 Authentication-Results: localhost.localdomain; spf=neutral smtp.mail=q emudev@loongson.cn; X-CM-SenderInfo: pthp3vthy6z05rqj20fqof0/1tbiAQAQD2YNE2kEZwADsv X-Coremail-Antispam: 1Uk129KBj9fXoWDZr45ur4UCr15Zr17Aw18JFc_yoWxXF4UKo WxAr4qyFWrJF15Jrn8Jr1fW3W8Cwn0qF1kA3WFvr4DKFy7Xw13CFy8Jr1UKay5Za1rAa1D Zw4DAFWxXFyUZF1Dl-sFpf9Il3svdjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8wcxFpf 9Il3svdxBIdaVrn0xqx4xG64xvF2IEw4CE5I8CrVC2j2Jv73VFW2AGmfu7bjvjm3AaLaJ3 UjIYCTnIWjp_UUU5R7kC6x804xWl14x267AKxVWUJVW8JwAFc2x0x2IEx4CE42xK8VAvwI 8IcIk0rVWrJVCq3wAFIxvE14AKwVWUGVWUXwA2ocxC64kIII0Yj41l84x0c7CEw4AK67xG Y2AK021l84ACjcxK6xIIjxv20xvE14v26r1j6r1xM28EF7xvwVC0I7IYx2IY6xkF7I0E14 v26r1j6r4UM28EF7xvwVC2z280aVAFwI0_Gr0_Cr1l84ACjcxK6I8E87Iv6xkF7I0E14v2 6r4j6r4UJwAS0I0E0xvYzxvE52x082IY62kv0487Mc804VCY07AIYIkI8VC2zVCFFI0UMc 02F40EFcxC0VAKzVAqx4xG6I80ewAv7VC0I7IYx2IY67AKxVWUJVWUGwAv7VC2z280aVAF wI0_Gr0_Cr1lOx8S6xCaFVCjc4AY6r1j6r4UM4kE6xkIj40Ew7xC0wCF04k20xvY0x0EwI xGrwCFx2IqxVCFs4IE7xkEbVWUJVW8JwC20s026c02F40E14v26r1j6r18MI8I3I0E7480 Y4vE14v26r106r1rMI8E67AF67kF1VAFwI0_Jrv_JF1lIxkGc2Ij64vIr41lIxAIcVC0I7 IYx2IY67AKxVWUJVWUCwCI42IY6xIIjxv20xvEc7CjxVAFwI0_Jr0_Gr1lIxAIcVCF04k2 6cxKx2IYs7xG6r1j6r1xMIIF0xvEx4A2jsIE14v26r4j6F4UMIIF0xvEx4A2jsIEc7CjxV AFwI0_Gr0_Gr1UYxBIdaVFxhVjvjDU0xZFpf9x07joKZJUUUUU= X-BeenThere: test-report@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: automatic DPDK test reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: test-report-bounces@dpdk.org Test-Label: loongarch-compilation Test-Status: FAILURE http://dpdk.org/patch/139093 _ninja build failure_ Submitter: Marek Pazdan Date: Wed, 3 Apr 2024 15:53:32 -0700 DPDK git baseline: Repo:dpdk-next-net Branch: main CommitID: e2e546ab5bf5e024986ccb5310ab43982f3bb40c 139093 --> ninja build failed Test environment and result as below: +---------------------+----------------+ | Environment | compilation | +---------------------+----------------+ | Loongnix-Server 8.3 | FAIL | +---------------------+----------------+ Loongnix-Server 8.3 Kernel: 4.19.190+ Compiler: gcc 8.3 Ninja build logs: -------------------------------BEGIN LOGS---------------------------- FAILED: app/dpdk-testpmd.p/test-pmd_cmdline_settings.c.o cc -Iapp/dpdk-testpmd.p -Iapp -I../app -Iapp/test-pmd -I../app/test-pmd -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/loongarch/include -I../lib/eal/loongarch/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Ilib/cmdline -I../lib/cmdline -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/reorder -I../lib/reorder -Ilib/security -I../lib/security -Ilib/bitratestats -I../lib/bitratestats -Ilib/bpf -I../lib/bpf -Ilib/gro -I../lib/gro -Ilib/gso -I../lib/gso -Ilib/latencystats -I../lib/latencystats -Ilib/p dump -I../lib/pdump -Ilib/pcapng -I../lib/pcapng -Idrivers/net/bnxt -I../drivers/net/bnxt -Idrivers/net/bnxt/tf_ulp -I../drivers/net/bnxt/tf_ulp -Idrivers/net/bnxt/tf_ulp/generic_templates -I../drivers/net/bnxt/tf_ulp/generic_templates -Idrivers/net/bnxt/tf_core -I../drivers/net/bnxt/tf_core -Idrivers/net/bnxt/hcapi/cfa -I../drivers/net/bnxt/hcapi/cfa -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Ilib/hash -I../lib/hash -Idrivers/net/ixgbe -I../drivers/net/ixgbe -Idrivers/net/ixgbe/base -I../drivers/net/ixgbe/base -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -Ilib/dmadev -I../lib/dmadev -Idrivers/mempool/dpaa -I../drivers/mempool/dpaa -Idrivers/net/dpaa -I../drivers/net/dpaa -Idrivers/net/bonding -I../drivers/net/bonding -Ilib/sched -I../li b/sched -Ilib/ip_frag -I../lib/ip_frag -Idri! vers/net/iavf -I../drivers/net/iavf -Idrivers/common/iavf -I../drivers/common/iavf -Idrivers/net/ice -I../drivers/net/ice -Idrivers/net/ice/base -I../drivers/net/ice/base -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -march=loongarch64 -DALLOW_EXPERIMENTAL_API -Wno-deprecated-declarations -MD -MQ app/dpdk-testpmd.p/test-pmd_cmdline_settings.c.o -MF app/dpdk-testpmd.p/test-pmd_cmdline_settings.c.o.d -o app/dpdk-testpmd.p/test-pmd_cmdline_settings.c.o -c ../app/test-pmd/cmdline_settings.c ./app/test-pmd/cmdline_settings.c: In function ‘dump_link_caps’: ./app/test-pmd/cmdline_settings.c:50:8: error: ‘RTE_LINK_MODE_10baseT_Half_BIT’ undeclared (first use in this function) { 0, RTE_LINK_MODE_10baseT_Half_BIT, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:50:8: note: each undeclared identifier is reported only once for each function it appears in ./app/test-pmd/cmdline_settings.c:52:8: error: ‘RTE_LINK_MODE_10baseT_Full_BIT’ undeclared (first use in this function) { 1, RTE_LINK_MODE_10baseT_Full_BIT, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:54:8: error: ‘RTE_LINK_MODE_100baseT_Half_BIT’ undeclared (first use in this function) { 0, RTE_LINK_MODE_100baseT_Half_BIT, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:56:8: error: ‘RTE_LINK_MODE_100baseT_Full_BIT’ undeclared (first use in this function) { 1, RTE_LINK_MODE_100baseT_Full_BIT, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:58:8: error: ‘RTE_LINK_MODE_100baseT1_Full_BIT’ undeclared (first use in this function) { 0, RTE_LINK_MODE_100baseT1_Full_BIT, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:60:8: error: ‘RTE_LINK_MODE_1000baseT_Half_BIT’ undeclared (first use in this function) { 0, RTE_LINK_MODE_1000baseT_Half_BIT, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:62:8: error: ‘RTE_LINK_MODE_1000baseT_Full_BIT’ undeclared (first use in this function) { 1, RTE_LINK_MODE_1000baseT_Full_BIT, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:64:8: error: ‘RTE_LINK_MODE_1000baseT1_Full_BIT’ undeclared (first use in this function) { 0, RTE_LINK_MODE_1000baseT1_Full_BIT, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:66:8: error: ‘RTE_LINK_MODE_1000baseKX_Full_BIT’ undeclared (first use in this function) { 0, RTE_LINK_MODE_1000baseKX_Full_BIT, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:68:8: error: ‘RTE_LINK_MODE_2500baseX_Full_BIT’ undeclared (first use in this function) { 0, RTE_LINK_MODE_2500baseX_Full_BIT, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:70:8: error: ‘RTE_LINK_MODE_10000baseT_Full_BIT’ undeclared (first use in this function) { 0, RTE_LINK_MODE_10000baseT_Full_BIT, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:72:8: error: ‘RTE_LINK_MODE_10000baseKX4_Full_BIT’ undeclared (first use in this function) { 0, RTE_LINK_MODE_10000baseKX4_Full_BIT, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:74:8: error: ‘RTE_LINK_MODE_10000baseKR_Full_BIT’ undeclared (first use in this function) { 0, RTE_LINK_MODE_10000baseKR_Full_BIT, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:76:8: error: ‘RTE_LINK_MODE_10000baseR_FEC_BIT’ undeclared (first use in this function) { 0, RTE_LINK_MODE_10000baseR_FEC_BIT, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:78:8: error: ‘RTE_LINK_MODE_20000baseMLD2_Full_BIT’ undeclared (first use in this function) { 0, RTE_LINK_MODE_20000baseMLD2_Full_BIT, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:80:8: error: ‘RTE_LINK_MODE_20000baseKR2_Full_BIT’ undeclared (first use in this function) { 0, RTE_LINK_MODE_20000baseKR2_Full_BIT, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:82:8: error: ‘RTE_LINK_MODE_40000baseKR4_Full_BIT’ undeclared (first use in this function) { 0, RTE_LINK_MODE_40000baseKR4_Full_BIT, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:84:8: error: ‘RTE_LINK_MODE_40000baseCR4_Full_BIT’ undeclared (first use in this function) { 0, RTE_LINK_MODE_40000baseCR4_Full_BIT, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:86:8: error: ‘RTE_LINK_MODE_40000baseSR4_Full_BIT’ undeclared (first use in this function) { 0, RTE_LINK_MODE_40000baseSR4_Full_BIT, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:88:8: error: ‘RTE_LINK_MODE_40000baseLR4_Full_BIT’ undeclared (first use in this function) { 0, RTE_LINK_MODE_40000baseLR4_Full_BIT, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:90:8: error: ‘RTE_LINK_MODE_56000baseKR4_Full_BIT’ undeclared (first use in this function) { 0, RTE_LINK_MODE_56000baseKR4_Full_BIT, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:92:8: error: ‘RTE_LINK_MODE_56000baseCR4_Full_BIT’ undeclared (first use in this function) { 0, RTE_LINK_MODE_56000baseCR4_Full_BIT, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:94:8: error: ‘RTE_LINK_MODE_56000baseSR4_Full_BIT’ undeclared (first use in this function) { 0, RTE_LINK_MODE_56000baseSR4_Full_BIT, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:96:8: error: ‘RTE_LINK_MODE_56000baseLR4_Full_BIT’ undeclared (first use in this function) { 0, RTE_LINK_MODE_56000baseLR4_Full_BIT, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:98:8: error: ‘RTE_LINK_MODE_25000baseCR_Full_BIT’ undeclared (first use in this function) { 0, RTE_LINK_MODE_25000baseCR_Full_BIT, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:100:8: error: ‘RTE_LINK_MODE_25000baseKR_Full_BIT’ undeclared (first use in this function) { 0, RTE_LINK_MODE_25000baseKR_Full_BIT, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:102:8: error: ‘RTE_LINK_MODE_25000baseSR_Full_BIT’ undeclared (first use in this function) { 0, RTE_LINK_MODE_25000baseSR_Full_BIT, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:104:8: error: ‘RTE_LINK_MODE_50000baseCR2_Full_BIT’ undeclared (first use in this function) { 0, RTE_LINK_MODE_50000baseCR2_Full_BIT, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:106:8: error: ‘RTE_LINK_MODE_50000baseKR2_Full_BIT’ undeclared (first use in this function) { 0, RTE_LINK_MODE_50000baseKR2_Full_BIT, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:108:8: error: ‘RTE_LINK_MODE_100000baseKR4_Full_BIT’ undeclared (first use in this function) { 0, RTE_LINK_MODE_100000baseKR4_Full_BIT, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:110:8: error: ‘RTE_LINK_MODE_100000baseSR4_Full_BIT’ undeclared (first use in this function) { 0, RTE_LINK_MODE_100000baseSR4_Full_BIT, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:112:8: error: ‘RTE_LINK_MODE_100000baseCR4_Full_BIT’ undeclared (first use in this function) { 0, RTE_LINK_MODE_100000baseCR4_Full_BIT, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:114:8: error: ‘RTE_LINK_MODE_100000baseLR4_ER4_Full_BIT’ undeclared (first use in this function) { 0, RTE_LINK_MODE_100000baseLR4_ER4_Full_BIT, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:116:8: error: ‘RTE_LINK_MODE_50000baseSR2_Full_BIT’ undeclared (first use in this function) { 0, RTE_LINK_MODE_50000baseSR2_Full_BIT, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:118:8: error: ‘RTE_LINK_MODE_1000baseX_Full_BIT’ undeclared (first use in this function) { 0, RTE_LINK_MODE_1000baseX_Full_BIT, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:120:8: error: ‘RTE_LINK_MODE_10000baseCR_Full_BIT’ undeclared (first use in this function) { 0, RTE_LINK_MODE_10000baseCR_Full_BIT, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:122:8: error: ‘RTE_LINK_MODE_10000baseSR_Full_BIT’ undeclared (first use in this function) { 0, RTE_LINK_MODE_10000baseSR_Full_BIT, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:124:8: error: ‘RTE_LINK_MODE_10000baseLR_Full_BIT’ undeclared (first use in this function) { 0, RTE_LINK_MODE_10000baseLR_Full_BIT, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:126:8: error: ‘RTE_LINK_MODE_10000baseLRM_Full_BIT’ undeclared (first use in this function) { 0, RTE_LINK_MODE_10000baseLRM_Full_BIT, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:128:8: error: ‘RTE_LINK_MODE_10000baseER_Full_BIT’ undeclared (first use in this function) { 0, RTE_LINK_MODE_10000baseER_Full_BIT, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:130:8: error: ‘RTE_LINK_MODE_2500baseT_Full_BIT’ undeclared (first use in this function) { 0, RTE_LINK_MODE_2500baseT_Full_BIT, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:132:8: error: ‘RTE_LINK_MODE_5000baseT_Full_BIT’ undeclared (first use in this function) { 0, RTE_LINK_MODE_5000baseT_Full_BIT, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:134:8: error: ‘RTE_LINK_MODE_50000baseKR_Full_BIT’ undeclared (first use in this function) { 0, RTE_LINK_MODE_50000baseKR_Full_BIT, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:136:8: error: ‘RTE_LINK_MODE_50000baseSR_Full_BIT’ undeclared (first use in this function) { 0, RTE_LINK_MODE_50000baseSR_Full_BIT, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:138:8: error: ‘RTE_LINK_MODE_50000baseCR_Full_BIT’ undeclared (first use in this function) { 0, RTE_LINK_MODE_50000baseCR_Full_BIT, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:140:8: error: ‘RTE_LINK_MODE_50000baseLR_ER_FR_Full_BIT’ undeclared (first use in this function) { 0, RTE_LINK_MODE_50000baseLR_ER_FR_Full_BIT, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:142:8: error: ‘RTE_LINK_MODE_50000baseDR_Full_BIT’ undeclared (first use in this function) { 0, RTE_LINK_MODE_50000baseDR_Full_BIT, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:144:8: error: ‘RTE_LINK_MODE_100000baseKR2_Full_BIT’ undeclared (first use in this function) { 0, RTE_LINK_MODE_100000baseKR2_Full_BIT, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:146:8: error: ‘RTE_LINK_MODE_100000baseSR2_Full_BIT’ undeclared (first use in this function) { 0, RTE_LINK_MODE_100000baseSR2_Full_BIT, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:148:8: error: ‘RTE_LINK_MODE_100000baseCR2_Full_BIT’ undeclared (first use in this function) { 0, RTE_LINK_MODE_100000baseCR2_Full_BIT, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:150:8: error: ‘RTE_LINK_MODE_100000baseLR2_ER2_FR2_Full_BIT’ undeclared (first use in this function) { 0, RTE_LINK_MODE_100000baseLR2_ER2_FR2_Full_BIT, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:152:8: error: ‘RTE_LINK_MODE_100000baseDR2_Full_BIT’ undeclared (first use in this function) { 0, RTE_LINK_MODE_100000baseDR2_Full_BIT, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:154:8: error: ‘RTE_LINK_MODE_200000baseKR4_Full_BIT’ undeclared (first use in this function) { 0, RTE_LINK_MODE_200000baseKR4_Full_BIT, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:156:8: error: ‘RTE_LINK_MODE_200000baseSR4_Full_BIT’ undeclared (first use in this function) { 0, RTE_LINK_MODE_200000baseSR4_Full_BIT, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:158:8: error: ‘RTE_LINK_MODE_200000baseLR4_ER4_FR4_Full_BIT’ undeclared (first use in this function) { 0, RTE_LINK_MODE_200000baseLR4_ER4_FR4_Full_BIT, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:160:8: error: ‘RTE_LINK_MODE_200000baseDR4_Full_BIT’ undeclared (first use in this function) { 0, RTE_LINK_MODE_200000baseDR4_Full_BIT, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:162:8: error: ‘RTE_LINK_MODE_200000baseCR4_Full_BIT’ undeclared (first use in this function) { 0, RTE_LINK_MODE_200000baseCR4_Full_BIT, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:198:21: error: ‘RTE_LINK_MODE_Pause_BIT’ undeclared (first use in this function); did you mean ‘RTE_FDIR_MODE_PERFECT’? if (get_bit(mask, RTE_LINK_MODE_Pause_BIT)) { ^~~~~~~~~~~~~~~~~~~~~~~ RTE_FDIR_MODE_PERFECT ./app/test-pmd/cmdline_settings.c:198:21: warning: passing argument 2 of ‘get_bit’ makes integer from pointer without a cast [-Wint-conversion] In file included from ../app/test-pmd/cmdline_settings.c:12: ./app/test-pmd/testpmd.h:1190:43: note: expected ‘uint32_t’ {aka ‘unsigned int’} but argument is of type ‘const struct *’ int get_bit(const uint32_t *ptr, uint32_t pos); ~~~~~~~~~^~~ ./app/test-pmd/cmdline_settings.c:200:22: error: ‘RTE_LINK_MODE_Asym_Pause_BIT’ undeclared (first use in this function) if (get_bit(mask, RTE_LINK_MODE_Asym_Pause_BIT)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:200:22: warning: passing argument 2 of ‘get_bit’ makes integer from pointer without a cast [-Wint-conversion] In file included from ../app/test-pmd/cmdline_settings.c:12: ./app/test-pmd/testpmd.h:1190:43: note: expected ‘uint32_t’ {aka ‘unsigned int’} but argument is of type ‘const struct *’ int get_bit(const uint32_t *ptr, uint32_t pos); ~~~~~~~~~^~~ ./app/test-pmd/cmdline_settings.c:204:22: warning: passing argument 2 of ‘get_bit’ makes integer from pointer without a cast [-Wint-conversion] if (get_bit(mask, RTE_LINK_MODE_Asym_Pause_BIT)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../app/test-pmd/cmdline_settings.c:12: ./app/test-pmd/testpmd.h:1190:43: note: expected ‘uint32_t’ {aka ‘unsigned int’} but argument is of type ‘const struct *’ int get_bit(const uint32_t *ptr, uint32_t pos); ~~~~~~~~~^~~ ./app/test-pmd/cmdline_settings.c:211:21: error: ‘RTE_LINK_MODE_Autoneg_BIT’ undeclared (first use in this function) if (get_bit(mask, RTE_LINK_MODE_Autoneg_BIT)) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:211:21: warning: passing argument 2 of ‘get_bit’ makes integer from pointer without a cast [-Wint-conversion] In file included from ../app/test-pmd/cmdline_settings.c:12: ./app/test-pmd/testpmd.h:1190:43: note: expected ‘uint32_t’ {aka ‘unsigned int’} but argument is of type ‘const struct *’ int get_bit(const uint32_t *ptr, uint32_t pos); ~~~~~~~~~^~~ ./app/test-pmd/cmdline_settings.c:217:21: error: ‘RTE_LINK_MODE_FEC_NONE_BIT’ undeclared (first use in this function); did you mean ‘RTE_INTR_MODE_NONE’? if (get_bit(mask, RTE_LINK_MODE_FEC_NONE_BIT)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ RTE_INTR_MODE_NONE ./app/test-pmd/cmdline_settings.c:217:21: warning: passing argument 2 of ‘get_bit’ makes integer from pointer without a cast [-Wint-conversion] In file included from ../app/test-pmd/cmdline_settings.c:12: ./app/test-pmd/testpmd.h:1190:43: note: expected ‘uint32_t’ {aka ‘unsigned int’} but argument is of type ‘const struct *’ int get_bit(const uint32_t *ptr, uint32_t pos); ~~~~~~~~~^~~ ./app/test-pmd/cmdline_settings.c:221:21: error: ‘RTE_LINK_MODE_FEC_BASER_BIT’ undeclared (first use in this function); did you mean ‘RTE_ETH_FEC_BASER’? if (get_bit(mask, RTE_LINK_MODE_FEC_BASER_BIT)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~ RTE_ETH_FEC_BASER ./app/test-pmd/cmdline_settings.c:221:21: warning: passing argument 2 of ‘get_bit’ makes integer from pointer without a cast [-Wint-conversion] In file included from ../app/test-pmd/cmdline_settings.c:12: ./app/test-pmd/testpmd.h:1190:43: note: expected ‘uint32_t’ {aka ‘unsigned int’} but argument is of type ‘const struct *’ int get_bit(const uint32_t *ptr, uint32_t pos); ~~~~~~~~~^~~ ./app/test-pmd/cmdline_settings.c:225:21: error: ‘RTE_LINK_MODE_FEC_RS_BIT’ undeclared (first use in this function); did you mean ‘RTE_FDIR_MODE_PERFECT’? if (get_bit(mask, RTE_LINK_MODE_FEC_RS_BIT)) { ^~~~~~~~~~~~~~~~~~~~~~~~ RTE_FDIR_MODE_PERFECT ./app/test-pmd/cmdline_settings.c:225:21: warning: passing argument 2 of ‘get_bit’ makes integer from pointer without a cast [-Wint-conversion] In file included from ../app/test-pmd/cmdline_settings.c:12: ./app/test-pmd/testpmd.h:1190:43: note: expected ‘uint32_t’ {aka ‘unsigned int’} but argument is of type ‘const struct *’ int get_bit(const uint32_t *ptr, uint32_t pos); ~~~~~~~~~^~~ ./app/test-pmd/cmdline_settings.c: At top level: ./app/test-pmd/cmdline_settings.c:236:29: warning: ‘struct rte_link_settings’ declared inside parameter list will not be visible outside of this definition or declaration dump_supported(const struct rte_link_settings *link_settings) ^~~~~~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c: In function ‘dump_supported’: ./app/test-pmd/cmdline_settings.c:239:27: error: dereferencing pointer to incomplete type ‘const struct rte_link_settings’ if (get_bit(link_settings->link_modes.supported, ^~ ./app/test-pmd/cmdline_settings.c:239:27: error: request for member ‘link_modes’ in something not a structure or union ./app/test-pmd/cmdline_settings.c:239:39: error: ‘(const struct *)&’ is a pointer; did you mean to use ‘->’? if (get_bit(link_settings->link_modes.supported, ^ -> ./app/test-pmd/cmdline_settings.c:240:7: error: ‘RTE_LINK_MODE_TP_BIT’ undeclared (first use in this function); did you mean ‘RTE_INTR_MODE_MSIX’? RTE_LINK_MODE_TP_BIT)) ^~~~~~~~~~~~~~~~~~~~ RTE_INTR_MODE_MSIX ./app/test-pmd/cmdline_settings.c:239:14: warning: passing argument 1 of ‘get_bit’ from incompatible pointer type [-Wincompatible-pointer-types] if (get_bit(link_settings->link_modes.supported, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../app/test-pmd/cmdline_settings.c:12: ./app/test-pmd/testpmd.h:1190:29: note: expected ‘const uint32_t *’ {aka ‘const unsigned int *’} but argument is of type ‘const struct *’ int get_bit(const uint32_t *ptr, uint32_t pos); ~~~~~~~~~~~~~~~~^~~ ./app/test-pmd/cmdline_settings.c:240:7: warning: passing argument 2 of ‘get_bit’ makes integer from pointer without a cast [-Wint-conversion] RTE_LINK_MODE_TP_BIT)) ^~~~~~~~~~~~~~~~~~~~ In file included from ../app/test-pmd/cmdline_settings.c:12: ./app/test-pmd/testpmd.h:1190:43: note: expected ‘uint32_t’ {aka ‘unsigned int’} but argument is of type ‘const struct *’ int get_bit(const uint32_t *ptr, uint32_t pos); ~~~~~~~~~^~~ ./app/test-pmd/cmdline_settings.c:242:27: error: request for member ‘link_modes’ in something not a structure or union if (get_bit(link_settings->link_modes.supported, ^~ ./app/test-pmd/cmdline_settings.c:242:39: error: ‘(const struct *)&’ is a pointer; did you mean to use ‘->’? if (get_bit(link_settings->link_modes.supported, ^ -> ./app/test-pmd/cmdline_settings.c:243:7: error: ‘RTE_LINK_MODE_AUI_BIT’ undeclared (first use in this function); did you mean ‘RTE_INTR_MODE_MSIX’? RTE_LINK_MODE_AUI_BIT)) ^~~~~~~~~~~~~~~~~~~~~ RTE_INTR_MODE_MSIX ./app/test-pmd/cmdline_settings.c:242:14: warning: passing argument 1 of ‘get_bit’ from incompatible pointer type [-Wincompatible-pointer-types] if (get_bit(link_settings->link_modes.supported, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../app/test-pmd/cmdline_settings.c:12: ./app/test-pmd/testpmd.h:1190:29: note: expected ‘const uint32_t *’ {aka ‘const unsigned int *’} but argument is of type ‘const struct *’ int get_bit(const uint32_t *ptr, uint32_t pos); ~~~~~~~~~~~~~~~~^~~ ./app/test-pmd/cmdline_settings.c:243:7: warning: passing argument 2 of ‘get_bit’ makes integer from pointer without a cast [-Wint-conversion] RTE_LINK_MODE_AUI_BIT)) ^~~~~~~~~~~~~~~~~~~~~ In file included from ../app/test-pmd/cmdline_settings.c:12: ./app/test-pmd/testpmd.h:1190:43: note: expected ‘uint32_t’ {aka ‘unsigned int’} but argument is of type ‘const struct *’ int get_bit(const uint32_t *ptr, uint32_t pos); ~~~~~~~~~^~~ ./app/test-pmd/cmdline_settings.c:245:27: error: request for member ‘link_modes’ in something not a structure or union if (get_bit(link_settings->link_modes.supported, ^~ ./app/test-pmd/cmdline_settings.c:245:39: error: ‘(const struct *)&’ is a pointer; did you mean to use ‘->’? if (get_bit(link_settings->link_modes.supported, ^ -> ./app/test-pmd/cmdline_settings.c:246:7: error: ‘RTE_LINK_MODE_BNC_BIT’ undeclared (first use in this function); did you mean ‘RTE_INTR_MODE_MSIX’? RTE_LINK_MODE_BNC_BIT)) ^~~~~~~~~~~~~~~~~~~~~ RTE_INTR_MODE_MSIX ./app/test-pmd/cmdline_settings.c:245:14: warning: passing argument 1 of ‘get_bit’ from incompatible pointer type [-Wincompatible-pointer-types] if (get_bit(link_settings->link_modes.supported, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../app/test-pmd/cmdline_settings.c:12: ./app/test-pmd/testpmd.h:1190:29: note: expected ‘const uint32_t *’ {aka ‘const unsigned int *’} but argument is of type ‘const struct *’ int get_bit(const uint32_t *ptr, uint32_t pos); ~~~~~~~~~~~~~~~~^~~ ./app/test-pmd/cmdline_settings.c:246:7: warning: passing argument 2 of ‘get_bit’ makes integer from pointer without a cast [-Wint-conversion] RTE_LINK_MODE_BNC_BIT)) ^~~~~~~~~~~~~~~~~~~~~ In file included from ../app/test-pmd/cmdline_settings.c:12: ./app/test-pmd/testpmd.h:1190:43: note: expected ‘uint32_t’ {aka ‘unsigned int’} but argument is of type ‘const struct *’ int get_bit(const uint32_t *ptr, uint32_t pos); ~~~~~~~~~^~~ ./app/test-pmd/cmdline_settings.c:248:27: error: request for member ‘link_modes’ in something not a structure or union if (get_bit(link_settings->link_modes.supported, ^~ ./app/test-pmd/cmdline_settings.c:248:39: error: ‘(const struct *)&’ is a pointer; did you mean to use ‘->’? if (get_bit(link_settings->link_modes.supported, ^ -> ./app/test-pmd/cmdline_settings.c:249:7: error: ‘RTE_LINK_MODE_MII_BIT’ undeclared (first use in this function); did you mean ‘RTE_INTR_MODE_MSIX’? RTE_LINK_MODE_MII_BIT)) ^~~~~~~~~~~~~~~~~~~~~ RTE_INTR_MODE_MSIX ./app/test-pmd/cmdline_settings.c:248:14: warning: passing argument 1 of ‘get_bit’ from incompatible pointer type [-Wincompatible-pointer-types] if (get_bit(link_settings->link_modes.supported, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../app/test-pmd/cmdline_settings.c:12: ./app/test-pmd/testpmd.h:1190:29: note: expected ‘const uint32_t *’ {aka ‘const unsigned int *’} but argument is of type ‘const struct *’ int get_bit(const uint32_t *ptr, uint32_t pos); ~~~~~~~~~~~~~~~~^~~ ./app/test-pmd/cmdline_settings.c:249:7: warning: passing argument 2 of ‘get_bit’ makes integer from pointer without a cast [-Wint-conversion] RTE_LINK_MODE_MII_BIT)) ^~~~~~~~~~~~~~~~~~~~~ In file included from ../app/test-pmd/cmdline_settings.c:12: ./app/test-pmd/testpmd.h:1190:43: note: expected ‘uint32_t’ {aka ‘unsigned int’} but argument is of type ‘const struct *’ int get_bit(const uint32_t *ptr, uint32_t pos); ~~~~~~~~~^~~ ./app/test-pmd/cmdline_settings.c:251:27: error: request for member ‘link_modes’ in something not a structure or union if (get_bit(link_settings->link_modes.supported, ^~ ./app/test-pmd/cmdline_settings.c:251:39: error: ‘(const struct *)&’ is a pointer; did you mean to use ‘->’? if (get_bit(link_settings->link_modes.supported, ^ -> ./app/test-pmd/cmdline_settings.c:252:7: error: ‘RTE_LINK_MODE_FIBRE_BIT’ undeclared (first use in this function); did you mean ‘RTE_FDIR_MODE_PERFECT’? RTE_LINK_MODE_FIBRE_BIT)) ^~~~~~~~~~~~~~~~~~~~~~~ RTE_FDIR_MODE_PERFECT ./app/test-pmd/cmdline_settings.c:251:14: warning: passing argument 1 of ‘get_bit’ from incompatible pointer type [-Wincompatible-pointer-types] if (get_bit(link_settings->link_modes.supported, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../app/test-pmd/cmdline_settings.c:12: ./app/test-pmd/testpmd.h:1190:29: note: expected ‘const uint32_t *’ {aka ‘const unsigned int *’} but argument is of type ‘const struct *’ int get_bit(const uint32_t *ptr, uint32_t pos); ~~~~~~~~~~~~~~~~^~~ ./app/test-pmd/cmdline_settings.c:252:7: warning: passing argument 2 of ‘get_bit’ makes integer from pointer without a cast [-Wint-conversion] RTE_LINK_MODE_FIBRE_BIT)) ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../app/test-pmd/cmdline_settings.c:12: ./app/test-pmd/testpmd.h:1190:43: note: expected ‘uint32_t’ {aka ‘unsigned int’} but argument is of type ‘const struct *’ int get_bit(const uint32_t *ptr, uint32_t pos); ~~~~~~~~~^~~ ./app/test-pmd/cmdline_settings.c:254:27: error: request for member ‘link_modes’ in something not a structure or union if (get_bit(link_settings->link_modes.supported, ^~ ./app/test-pmd/cmdline_settings.c:254:39: error: ‘(const struct *)&’ is a pointer; did you mean to use ‘->’? if (get_bit(link_settings->link_modes.supported, ^ -> ./app/test-pmd/cmdline_settings.c:255:7: error: ‘RTE_LINK_MODE_Backplane_BIT’ undeclared (first use in this function) RTE_LINK_MODE_Backplane_BIT)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:254:14: warning: passing argument 1 of ‘get_bit’ from incompatible pointer type [-Wincompatible-pointer-types] if (get_bit(link_settings->link_modes.supported, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../app/test-pmd/cmdline_settings.c:12: ./app/test-pmd/testpmd.h:1190:29: note: expected ‘const uint32_t *’ {aka ‘const unsigned int *’} but argument is of type ‘const struct *’ int get_bit(const uint32_t *ptr, uint32_t pos); ~~~~~~~~~~~~~~~~^~~ ./app/test-pmd/cmdline_settings.c:255:7: warning: passing argument 2 of ‘get_bit’ makes integer from pointer without a cast [-Wint-conversion] RTE_LINK_MODE_Backplane_BIT)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../app/test-pmd/cmdline_settings.c:12: ./app/test-pmd/testpmd.h:1190:43: note: expected ‘uint32_t’ {aka ‘unsigned int’} but argument is of type ‘const struct *’ int get_bit(const uint32_t *ptr, uint32_t pos); ~~~~~~~~~^~~ ./app/test-pmd/cmdline_settings.c:260:23: error: request for member ‘link_modes’ in something not a structure or union link_settings->link_modes.supported, 0); ^~ ./app/test-pmd/cmdline_settings.c:260:35: error: ‘(const struct *)&’ is a pointer; did you mean to use ‘->’? link_settings->link_modes.supported, 0); ^ -> ./app/test-pmd/cmdline_settings.c:260:10: warning: passing argument 3 of ‘dump_link_caps’ from incompatible pointer type [-Wincompatible-pointer-types] link_settings->link_modes.supported, 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:43:19: note: expected ‘const uint32_t *’ {aka ‘const unsigned int *’} but argument is of type ‘const struct *’ const uint32_t *mask, int link_mode_only) ~~~~~~~~~~~~~~~~^~~~ ./app/test-pmd/cmdline_settings.c: In function ‘cmd_link_settings_show_parsed’: ./app/test-pmd/cmdline_settings.c:272:27: error: storage size of ‘link_settings’ isn’t known struct rte_link_settings link_settings; ^~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:275:9: warning: passing argument 1 of ‘memset’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-array-qualifiers] memset(&link_settings, 0x00, sizeof(link_settings)); ^~~~~~~~~~~~~~ In file included from ../lib/eal/include/rte_uuid.h:19, from ../lib/eal/include/rte_eal.h:20, from ../lib/eal/include/rte_lcore.h:18, from ../lib/eal/include/generic/rte_spinlock.h:20, from ../lib/eal/loongarch/include/rte_spinlock.h:13, from ../lib/eal/include/generic/rte_power_intrinsics.h:10, from ../lib/eal/loongarch/include/rte_power_intrinsics.h:14, from ../lib/ethdev/rte_ethdev.h:173, from ../app/test-pmd/cmdline_settings.c:7: /usr/include/string.h:61:14: note: expected ‘void *’ but argument is of type ‘const struct (*)[1]’ extern void *memset (void *__s, int __c, size_t __n) __THROW __nonnull ((1)); ^~~~~~ ./app/test-pmd/cmdline_settings.c:275:31: warning: passing argument 3 of ‘memset’ makes integer from pointer without a cast [-Wint-conversion] memset(&link_settings, 0x00, sizeof(link_settings)); ^~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/eal/include/rte_uuid.h:19, from ../lib/eal/include/rte_eal.h:20, from ../lib/eal/include/rte_lcore.h:18, from ../lib/eal/include/generic/rte_spinlock.h:20, from ../lib/eal/loongarch/include/rte_spinlock.h:13, from ../lib/eal/include/generic/rte_power_intrinsics.h:10, from ../lib/eal/loongarch/include/rte_power_intrinsics.h:14, from ../lib/ethdev/rte_ethdev.h:173, from ../app/test-pmd/cmdline_settings.c:7: /usr/include/string.h:61:14: note: expected ‘size_t’ {aka ‘long unsigned int’} but argument is of type ‘const struct *’ extern void *memset (void *__s, int __c, size_t __n) __THROW __nonnull ((1)); ^~~~~~ ./app/test-pmd/cmdline_settings.c:276:8: warning: implicit declaration of function ‘rte_eth_dev_get_link_settings’; did you mean ‘rte_eth_dev_set_link_down’? [-Wimplicit-function-declaration] ret = rte_eth_dev_get_link_settings(res->port_id, &link_settings); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rte_eth_dev_set_link_down ./app/test-pmd/cmdline_settings.c:276:8: warning: nested extern declaration of ‘rte_eth_dev_get_link_settings’ [-Wnested-externs] ./app/test-pmd/cmdline_settings.c:287:17: warning: passing argument 1 of ‘dump_supported’ from incompatible pointer type [-Wincompatible-pointer-types] dump_supported(&link_settings); ^~~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:236:48: note: expected ‘const struct rte_link_settings *’ but argument is of type ‘const struct (*)[1]’ dump_supported(const struct rte_link_settings *link_settings) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:289:17: error: ‘(const struct *)&’ is a pointer; did you mean to use ‘->’? link_settings.link_modes.advertising, 0); ^ -> ./app/test-pmd/cmdline_settings.c:289:28: error: ‘(const struct *)&’ is a pointer; did you mean to use ‘->’? link_settings.link_modes.advertising, 0); ^ -> ./app/test-pmd/cmdline_settings.c:289:4: warning: passing argument 3 of ‘dump_link_caps’ from incompatible pointer type [-Wincompatible-pointer-types] link_settings.link_modes.advertising, 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:43:19: note: expected ‘const uint32_t *’ {aka ‘const unsigned int *’} but argument is of type ‘const struct *’ const uint32_t *mask, int link_mode_only) ~~~~~~~~~~~~~~~~^~~~ In file included from ../lib/log/rte_log.h:26, from ../lib/eal/include/rte_debug.h:17, from ../lib/eal/include/rte_bitops.h:20, from ../lib/ethdev/rte_cman.h:12, from ../lib/ethdev/rte_ethdev.h:163, from ../app/test-pmd/cmdline_settings.c:7: ./app/test-pmd/cmdline_settings.c:292:52: error: ‘(const struct *)&’ is a pointer; did you mean to use ‘->’? for (uint32_t idx = 0; idx < RTE_DIM(link_settings.link_modes.lp_advertising); idx++) { ^ ./lib/eal/include/rte_common.h:719:29: note: in definition of macro ‘RTE_DIM’ #define RTE_DIM(a) (sizeof (a) / sizeof ((a)[0])) ^ ./app/test-pmd/cmdline_settings.c:292:63: error: ‘(const struct *)&’ is a pointer; did you mean to use ‘->’? for (uint32_t idx = 0; idx < RTE_DIM(link_settings.link_modes.lp_advertising); idx++) { ^ ./lib/eal/include/rte_common.h:719:29: note: in definition of macro ‘RTE_DIM’ #define RTE_DIM(a) (sizeof (a) / sizeof ((a)[0])) ^ ./app/test-pmd/cmdline_settings.c:292:52: error: ‘(const struct *)&’ is a pointer; did you mean to use ‘->’? for (uint32_t idx = 0; idx < RTE_DIM(link_settings.link_modes.lp_advertising); idx++) { ^ ./lib/eal/include/rte_common.h:719:43: note: in definition of macro ‘RTE_DIM’ #define RTE_DIM(a) (sizeof (a) / sizeof ((a)[0])) ^ ./app/test-pmd/cmdline_settings.c:292:63: error: ‘(const struct *)&’ is a pointer; did you mean to use ‘->’? for (uint32_t idx = 0; idx < RTE_DIM(link_settings.link_modes.lp_advertising); idx++) { ^ ./lib/eal/include/rte_common.h:719:43: note: in definition of macro ‘RTE_DIM’ #define RTE_DIM(a) (sizeof (a) / sizeof ((a)[0])) ^ ./lib/eal/include/rte_common.h:719:32: error: invalid operands to binary / (have ‘const struct *’ and ‘long unsigned int’) #define RTE_DIM(a) (sizeof (a) / sizeof ((a)[0])) ~~~~~~ ^ ./app/test-pmd/cmdline_settings.c:292:31: note: in expansion of macro ‘RTE_DIM’ for (uint32_t idx = 0; idx < RTE_DIM(link_settings.link_modes.lp_advertising); idx++) { ^~~~~~~ ./app/test-pmd/cmdline_settings.c:292:29: warning: comparison between pointer and integer for (uint32_t idx = 0; idx < RTE_DIM(link_settings.link_modes.lp_advertising); idx++) { ^ ./app/test-pmd/cmdline_settings.c:293:20: error: ‘(const struct *)&’ is a pointer; did you mean to use ‘->’? if (link_settings.link_modes.lp_advertising[idx] != 0) { ^ -> ./app/test-pmd/cmdline_settings.c:293:31: error: ‘(const struct *)&’ is a pointer; did you mean to use ‘->’? if (link_settings.link_modes.lp_advertising[idx] != 0) { ^ -> ./app/test-pmd/cmdline_settings.c:293:52: error: invalid operands to binary != (have ‘const struct ’ and ‘int’) if (link_settings.link_modes.lp_advertising[idx] != 0) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~ ./app/test-pmd/cmdline_settings.c:302:18: error: ‘(const struct *)&’ is a pointer; did you mean to use ‘->’? link_settings.link_modes.lp_advertising, 0); ^ -> ./app/test-pmd/cmdline_settings.c:302:29: error: ‘(const struct *)&’ is a pointer; did you mean to use ‘->’? link_settings.link_modes.lp_advertising, 0); ^ -> ./app/test-pmd/cmdline_settings.c:302:5: warning: passing argument 3 of ‘dump_link_caps’ from incompatible pointer type [-Wincompatible-pointer-types] link_settings.link_modes.lp_advertising, 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:43:19: note: expected ‘const uint32_t *’ {aka ‘const unsigned int *’} but argument is of type ‘const struct *’ const uint32_t *mask, int link_mode_only) ~~~~~~~~~~~~~~~~^~~~ ./app/test-pmd/cmdline_settings.c:306:19: error: ‘(const struct *)&’ is a pointer; did you mean to use ‘->’? if (link_settings.base.link.link_speed == 0 ^ -> ./app/test-pmd/cmdline_settings.c:306:24: error: ‘(const struct *)&’ is a pointer; did you mean to use ‘->’? if (link_settings.base.link.link_speed == 0 ^ -> ./app/test-pmd/cmdline_settings.c:306:29: error: ‘(const struct *)&’ is a pointer; did you mean to use ‘->’? if (link_settings.base.link.link_speed == 0 ^ -> ./app/test-pmd/cmdline_settings.c:307:22: error: ‘(const struct *)&’ is a pointer; did you mean to use ‘->’? || link_settings.base.link.link_speed == (uint16_t)(-1) ^ -> ./app/test-pmd/cmdline_settings.c:307:27: error: ‘(const struct *)&’ is a pointer; did you mean to use ‘->’? || link_settings.base.link.link_speed == (uint16_t)(-1) ^ -> ./app/test-pmd/cmdline_settings.c:307:32: error: ‘(const struct *)&’ is a pointer; did you mean to use ‘->’? || link_settings.base.link.link_speed == (uint16_t)(-1) ^ -> ./app/test-pmd/cmdline_settings.c:307:44: warning: comparison between pointer and integer || link_settings.base.link.link_speed == (uint16_t)(-1) ^~ ./app/test-pmd/cmdline_settings.c:308:22: error: ‘(const struct *)&’ is a pointer; did you mean to use ‘->’? || link_settings.base.link.link_speed == (uint32_t)(-1)) ^ -> ./app/test-pmd/cmdline_settings.c:308:27: error: ‘(const struct *)&’ is a pointer; did you mean to use ‘->’? || link_settings.base.link.link_speed == (uint32_t)(-1)) ^ -> ./app/test-pmd/cmdline_settings.c:308:32: error: ‘(const struct *)&’ is a pointer; did you mean to use ‘->’? || link_settings.base.link.link_speed == (uint32_t)(-1)) ^ -> ./app/test-pmd/cmdline_settings.c:308:44: warning: comparison between pointer and integer || link_settings.base.link.link_speed == (uint32_t)(-1)) ^~ ./app/test-pmd/cmdline_settings.c:311:44: error: ‘(const struct *)&’ is a pointer; did you mean to use ‘->’? fprintf(stdout, "%uMb/sn", link_settings.base.link.link_speed); ^ -> ./app/test-pmd/cmdline_settings.c:311:49: error: ‘(const struct *)&’ is a pointer; did you mean to use ‘->’? fprintf(stdout, "%uMb/sn", link_settings.base.link.link_speed); ^ -> ./app/test-pmd/cmdline_settings.c:311:54: error: ‘(const struct *)&’ is a pointer; did you mean to use ‘->’? fprintf(stdout, "%uMb/sn", link_settings.base.link.link_speed); ^ -> ./app/test-pmd/cmdline_settings.c:311:21: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘const struct *’ [-Wformat=] fprintf(stdout, "%uMb/sn", link_settings.base.link.link_speed); ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:314:23: error: ‘(const struct *)&’ is a pointer; did you mean to use ‘->’? switch (link_settings.base.link.link_duplex) { ^ -> ./app/test-pmd/cmdline_settings.c:314:28: error: ‘(const struct *)&’ is a pointer; did you mean to use ‘->’? switch (link_settings.base.link.link_duplex) { ^ -> ./app/test-pmd/cmdline_settings.c:314:33: error: ‘(const struct *)&’ is a pointer; did you mean to use ‘->’? switch (link_settings.base.link.link_duplex) { ^ -> ./app/test-pmd/cmdline_settings.c:314:10: error: switch quantity not an integer switch (link_settings.base.link.link_duplex) { ^~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:322:51: error: ‘(const struct *)&’ is a pointer; did you mean to use ‘->’? fprintf(stdout, "Unknown! (%i)n", link_settings.base.link.link_duplex); ^ -> ./app/test-pmd/cmdline_settings.c:322:56: error: ‘(const struct *)&’ is a pointer; did you mean to use ‘->’? fprintf(stdout, "Unknown! (%i)n", link_settings.base.link.link_duplex); ^ -> ./app/test-pmd/cmdline_settings.c:322:61: error: ‘(const struct *)&’ is a pointer; did you mean to use ‘->’? fprintf(stdout, "Unknown! (%i)n", link_settings.base.link.link_duplex); ^ -> ./app/test-pmd/cmdline_settings.c:322:31: warning: format ‘%i’ expects argument of type ‘int’, but argument 3 has type ‘const struct *’ [-Wformat=] fprintf(stdout, "Unknown! (%i)n", link_settings.base.link.link_duplex); ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:327:23: error: ‘(const struct *)&’ is a pointer; did you mean to use ‘->’? switch (link_settings.base.port) { ^ -> ./app/test-pmd/cmdline_settings.c:327:28: error: ‘(const struct *)&’ is a pointer; did you mean to use ‘->’? switch (link_settings.base.port) { ^ -> ./app/test-pmd/cmdline_settings.c:327:10: error: switch quantity not an integer switch (link_settings.base.port) { ^~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:328:7: error: ‘RTE_PORT_TP’ undeclared (first use in this function); did you mean ‘RTE_PORT_ALL’? case RTE_PORT_TP: ^~~~~~~~~~~ RTE_PORT_ALL ./app/test-pmd/cmdline_settings.c:331:7: error: ‘RTE_PORT_AUI’ undeclared (first use in this function); did you mean ‘RTE_PORT_ALL’? case RTE_PORT_AUI: ^~~~~~~~~~~~ RTE_PORT_ALL ./app/test-pmd/cmdline_settings.c:334:7: error: ‘RTE_PORT_BNC’ undeclared (first use in this function); did you mean ‘RTE_PORT_ALL’? case RTE_PORT_BNC: ^~~~~~~~~~~~ RTE_PORT_ALL ./app/test-pmd/cmdline_settings.c:337:7: error: ‘RTE_PORT_MII’ undeclared (first use in this function); did you mean ‘RTE_PORT_ALL’? case RTE_PORT_MII: ^~~~~~~~~~~~ RTE_PORT_ALL ./app/test-pmd/cmdline_settings.c:340:7: error: ‘RTE_PORT_FIBRE’ undeclared (first use in this function); did you mean ‘RTE_PORT_CLOSED’? case RTE_PORT_FIBRE: ^~~~~~~~~~~~~~ RTE_PORT_CLOSED ./app/test-pmd/cmdline_settings.c:343:7: error: ‘RTE_PORT_DA’ undeclared (first use in this function); did you mean ‘RTE_PORT_ALL’? case RTE_PORT_DA: ^~~~~~~~~~~ RTE_PORT_ALL ./app/test-pmd/cmdline_settings.c:346:7: error: ‘RTE_PORT_NONE’ undeclared (first use in this function); did you mean ‘RTE_PORT_CLOSED’? case RTE_PORT_NONE: ^~~~~~~~~~~~~ RTE_PORT_CLOSED ./app/test-pmd/cmdline_settings.c:349:7: error: ‘RTE_PORT_OTHER’ undeclared (first use in this function); did you mean ‘RTE_PORT_CLOSED’? case RTE_PORT_OTHER: ^~~~~~~~~~~~~~ RTE_PORT_CLOSED ./app/test-pmd/cmdline_settings.c:353:51: error: ‘(const struct *)&’ is a pointer; did you mean to use ‘->’? fprintf(stdout, "Unknown! (%i)n", link_settings.base.port); ^ -> ./app/test-pmd/cmdline_settings.c:353:56: error: ‘(const struct *)&’ is a pointer; did you mean to use ‘->’? fprintf(stdout, "Unknown! (%i)n", link_settings.base.port); ^ -> ./app/test-pmd/cmdline_settings.c:353:31: warning: format ‘%i’ expects argument of type ‘int’, but argument 3 has type ‘const struct *’ [-Wformat=] fprintf(stdout, "Unknown! (%i)n", link_settings.base.port); ~^ ~~~~~~~~~~~~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:357:53: error: ‘(const struct *)&’ is a pointer; did you mean to use ‘->’? fprintf(stdout, " PHYAD: %dn", link_settings.base.phy_address); ^ -> ./app/test-pmd/cmdline_settings.c:357:58: error: ‘(const struct *)&’ is a pointer; did you mean to use ‘->’? fprintf(stdout, " PHYAD: %dn", link_settings.base.phy_address); ^ -> ./app/test-pmd/cmdline_settings.c:357:34: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘const struct *’ [-Wformat=] fprintf(stdout, " PHYAD: %dn", link_settings.base.phy_address); ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:360:17: error: ‘(const struct *)&’ is a pointer; did you mean to use ‘->’? (link_settings.base.link.link_autoneg == RTE_AUTONEG_DISABLE) ? ^ -> ./app/test-pmd/cmdline_settings.c:360:22: error: ‘(const struct *)&’ is a pointer; did you mean to use ‘->’? (link_settings.base.link.link_autoneg == RTE_AUTONEG_DISABLE) ? ^ -> ./app/test-pmd/cmdline_settings.c:360:27: error: ‘(const struct *)&’ is a pointer; did you mean to use ‘->’? (link_settings.base.link.link_autoneg == RTE_AUTONEG_DISABLE) ? ^ -> ./app/test-pmd/cmdline_settings.c:360:44: error: ‘RTE_AUTONEG_DISABLE’ undeclared (first use in this function); did you mean ‘RTE_NET_IXGBE’? (link_settings.base.link.link_autoneg == RTE_AUTONEG_DISABLE) ? ^~~~~~~~~~~~~~~~~~~ RTE_NET_IXGBE ./app/test-pmd/cmdline_settings.c:363:19: error: ‘(const struct *)&’ is a pointer; did you mean to use ‘->’? if (link_settings.base.port == RTE_PORT_TP) { ^ -> ./app/test-pmd/cmdline_settings.c:363:24: error: ‘(const struct *)&’ is a pointer; did you mean to use ‘->’? if (link_settings.base.port == RTE_PORT_TP) { ^ -> ./app/test-pmd/cmdline_settings.c:365:20: error: ‘(const struct *)&’ is a pointer; did you mean to use ‘->’? if (link_settings.base.eth_tp_mdix_ctrl == RTE_TP_MDI) { ^ -> ./app/test-pmd/cmdline_settings.c:365:25: error: ‘(const struct *)&’ is a pointer; did you mean to use ‘->’? if (link_settings.base.eth_tp_mdix_ctrl == RTE_TP_MDI) { ^ -> ./app/test-pmd/cmdline_settings.c:365:46: error: ‘RTE_TP_MDI’ undeclared (first use in this function); did you mean ‘RTE_PTR_ADD’? if (link_settings.base.eth_tp_mdix_ctrl == RTE_TP_MDI) { ^~~~~~~~~~ RTE_PTR_ADD ./app/test-pmd/cmdline_settings.c:367:27: error: ‘(const struct *)&’ is a pointer; did you mean to use ‘->’? } else if (link_settings.base.eth_tp_mdix_ctrl ^ -> ./app/test-pmd/cmdline_settings.c:367:32: error: ‘(const struct *)&’ is a pointer; did you mean to use ‘->’? } else if (link_settings.base.eth_tp_mdix_ctrl ^ -> ./app/test-pmd/cmdline_settings.c:368:10: error: ‘RTE_TP_MDI_X’ undeclared (first use in this function); did you mean ‘RTE_PTR_DIFF’? == RTE_TP_MDI_X) { ^~~~~~~~~~~~ RTE_PTR_DIFF ./app/test-pmd/cmdline_settings.c:371:25: error: ‘(const struct *)&’ is a pointer; did you mean to use ‘->’? switch (link_settings.base.eth_tp_mdix) { ^ -> ./app/test-pmd/cmdline_settings.c:371:30: error: ‘(const struct *)&’ is a pointer; did you mean to use ‘->’? switch (link_settings.base.eth_tp_mdix) { ^ -> ./app/test-pmd/cmdline_settings.c:371:12: error: switch quantity not an integer switch (link_settings.base.eth_tp_mdix) { ^~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:382:21: error: ‘(const struct *)&’ is a pointer; did you mean to use ‘->’? if (link_settings.base.eth_tp_mdix_ctrl ^ -> ./app/test-pmd/cmdline_settings.c:382:26: error: ‘(const struct *)&’ is a pointer; did you mean to use ‘->’? if (link_settings.base.eth_tp_mdix_ctrl ^ -> ./app/test-pmd/cmdline_settings.c:383:11: error: ‘RTE_TP_MDI_AUTO’ undeclared (first use in this function); did you mean ‘RTE_ETH_FEC_AUTO’? == RTE_TP_MDI_AUTO) ^~~~~~~~~~~~~~~ RTE_ETH_FEC_AUTO ./app/test-pmd/cmdline_settings.c:272:27: warning: unused variable ‘link_settings’ [-Wunused-variable] struct rte_link_settings link_settings; ^~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c: In function ‘parse_hex_u32_bitmap’: ./app/test-pmd/cmdline_settings.c:407:30: warning: implicit declaration of function ‘RTE_DIV_ROUND_UP’; did you mean ‘RTE_ETH_LINK_UP’? [-Wimplicit-function-declaration] const unsigned int nwords = RTE_DIV_ROUND_UP(nbits, 32); ^~~~~~~~~~~~~~~~ RTE_ETH_LINK_UP ./app/test-pmd/cmdline_settings.c:407:30: warning: nested extern declaration of ‘RTE_DIV_ROUND_UP’ [-Wnested-externs] ./app/test-pmd/cmdline_settings.c: In function ‘cmd_link_settings_set_advertising_parsed’: ./app/test-pmd/cmdline_settings.c:480:27: error: storage size of ‘link_settings’ isn’t known struct rte_link_settings link_settings; ^~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:484:5: error: ‘__RTE_LINK_MODE_MASK_NBITS’ undeclared (first use in this function); did you mean ‘RTE_INTR_MODE_MSIX’? __RTE_LINK_MODE_MASK_NBITS, ^~~~~~~~~~~~~~~~~~~~~~~~~~ RTE_INTR_MODE_MSIX ./app/test-pmd/cmdline_settings.c:485:18: error: ‘(const struct *)&’ is a pointer; did you mean to use ‘->’? link_settings.link_modes.advertising)) { ^ -> ./app/test-pmd/cmdline_settings.c:485:29: error: ‘(const struct *)&’ is a pointer; did you mean to use ‘->’? link_settings.link_modes.advertising)) { ^ -> ./app/test-pmd/cmdline_settings.c:484:5: warning: passing argument 2 of ‘parse_hex_u32_bitmap’ makes integer from pointer without a cast [-Wint-conversion] __RTE_LINK_MODE_MASK_NBITS, ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:405:18: note: expected ‘unsigned int’ but argument is of type ‘const struct *’ unsigned int nbits, uint32_t *result) ~~~~~~~~~~~~~^~~~~ ./app/test-pmd/cmdline_settings.c:485:5: warning: passing argument 3 of ‘parse_hex_u32_bitmap’ from incompatible pointer type [-Wincompatible-pointer-types] link_settings.link_modes.advertising)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:405:35: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘const struct *’ unsigned int nbits, uint32_t *result) ~~~~~~~~~~^~~~~~ ./app/test-pmd/cmdline_settings.c:491:15: error: ‘(const struct *)&’ is a pointer; did you mean to use ‘->’? link_settings.base.link.link_autoneg = RTE_AUTONEG_ENABLE; ^ -> ./app/test-pmd/cmdline_settings.c:491:20: error: ‘(const struct *)&’ is a pointer; did you mean to use ‘->’? link_settings.base.link.link_autoneg = RTE_AUTONEG_ENABLE; ^ -> ./app/test-pmd/cmdline_settings.c:491:25: error: ‘(const struct *)&’ is a pointer; did you mean to use ‘->’? link_settings.base.link.link_autoneg = RTE_AUTONEG_ENABLE; ^ -> ./app/test-pmd/cmdline_settings.c:491:41: error: ‘RTE_AUTONEG_ENABLE’ undeclared (first use in this function); did you mean ‘RTE_NET_ENA’? link_settings.base.link.link_autoneg = RTE_AUTONEG_ENABLE; ^~~~~~~~~~~~~~~~~~ RTE_NET_ENA ./app/test-pmd/cmdline_settings.c:491:2: warning: statement with no effect [-Wunused-value] link_settings.base.link.link_autoneg = RTE_AUTONEG_ENABLE; ^~~~~~~~~~~~~ ./app/test-pmd/cmdline_settings.c:493:8: warning: implicit declaration of function ‘rte_eth_dev_set_link_settings’; did you mean ‘rte_eth_dev_set_link_down’? [-Wimplicit-function-declaration] ret = rte_eth_dev_set_link_settings(res->port_id, &link_settings); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rte_eth_dev_set_link_down ./app/test-pmd/cmdline_settings.c:493:8: warning: nested extern declaration of ‘rte_eth_dev_set_link_settings’ [-Wnested-externs] ./app/test-pmd/cmdline_settings.c:480:27: warning: unused variable ‘link_settings’ [-Wunused-variable] struct rte_link_settings link_settings; ^~~~~~~~~~~~~ [2255/2498] Linking static target drivers/libtmp_rte_baseband_acc.a [2256/2498] Compiling C object app/dpdk-test.p/test_test_cmdline_num.c.o [2257/2498] Compiling C object app/dpdk-test-security-perf.p/test_test_cryptodev_security_ipsec.c.o [2258/2498] Compiling C object app/dpdk-test.p/test_test_cycles.c.o [2259/2498] Compiling C object app/dpdk-test.p/test_test_cmdline_etheraddr.c.o [2260/2498] Compiling C object app/dpdk-testpmd.p/test-pmd_txonly.c.o [2261/2498] Compiling C object app/dpdk-test.p/test_test_cmdline_portlist.c.o [2262/2498] Compiling C object app/dpdk-test.p/test_test_cmdline_string.c.o [2263/2498] Compiling C object app/dpdk-test.p/test_test_cmdline_cirbuf.c.o [2264/2498] Compiling C object app/dpdk-testpmd.p/test-pmd_csumonly.c.o [2265/2498] Compiling C object app/dpdk-test.p/test_test_cryptodev_security_tls_record.c.o [2266/2498] Compiling C object app/dpdk-test.p/test_test_cmdline_ipaddr.c.o [2267/2498] Compiling C object app/dpdk-test.p/test_test_common.c.o [2268/2498] Compiling C object app/dpdk-test.p/test_test_acl.c.o [2269/2498] Compiling C object app/dpdk-test.p/test_test_bpf.c.o [2270/2498] Compiling C object app/dpdk-test.p/test_test_argparse.c.o [2271/2498] Compiling C object app/dpdk-test.p/test_test_dispatcher.c.o [2272/2498] Compiling C object app/dpdk-test.p/test_test_cksum.c.o [2273/2498] Compiling C object app/dpdk-test-eventdev.p/test-eventdev_test_perf_common.c.o [2274/2498] Generating rte_crypto_dpaa2_sec.pmd.c with a custom command [2275/2498] Compiling C object app/dpdk-testpmd.p/test-pmd_noisy_vnf.c.o [2276/2498] Generating rte_crypto_dpaa_sec.sym_chk with a custom command (wrapped by meson to capture output) [2277/2498] Compiling C object app/dpdk-test.p/test_test_distributor.c.o [2278/2498] Compiling C object app/dpdk-testpmd.p/test-pmd_cmdline.c.o [2279/2498] Compiling C object app/dpdk-test-bbdev.p/test-bbdev_test_bbdev_perf.c.o [2280/2498] Compiling C object app/dpdk-test.p/test_virtual_pmd.c.o [2281/2498] Compiling C object app/dpdk-testpmd.p/test-pmd_testpmd.c.o [2282/2498] Compiling C object app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o [2283/2498] Compiling C object app/dpdk-testpmd.p/test-pmd_config.c.o [2284/2498] Compiling C object drivers/libtmp_rte_crypto_cnxk.a.p/crypto_cnxk_cn9k_cryptodev_ops.c.o [2285/2498] Compiling C object drivers/libtmp_rte_crypto_octeontx.a.p/crypto_octeontx_otx_cryptodev_ops.c.o [2286/2498] Generating rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output) [2287/2498] Compiling C object drivers/libtmp_rte_crypto_cnxk.a.p/crypto_cnxk_cn10k_cryptodev_ops.c.o ninja: build stopped: subcommand failed. -------------------------------END LOGS------------------------------