|FAILURE| pw158003-158008 [PATCH v5 6/6] net/cnxk: report link mode
qemudev at loongson.cn
qemudev at loongson.cn
Thu Oct 23 09:21:02 CEST 2025
Test-Label: loongarch-compilation
Test-Status: FAILURE
http://dpdk.org/patch/158008
_ninja build failure_
Submitter: Sunil Kumar Kori <skori at marvell.com>
Date: Thu, 23 Oct 2025 13:23:25 +0530
DPDK git baseline: Repo:dpdk-next-net-mrvl
Branch: for-next-net
CommitID: f3878b615e69a12087a6c5d212723478cfc79c31
158003-158008 --> 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: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o
cc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -Ilib/eal/common -I../lib/eal/common -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 -I../kernel/linux -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 -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/dmadev -I../lib/dmadev -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -include rte_config.h -Wvla -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 -fPIC -march=loongarch64 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-vla -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o -c ../drivers/net/cnxk/cnxk_ethdev.c
./drivers/net/cnxk/cnxk_ethdev.c:66:18: error: ‘RTE_ETH_LINK_CONNECTOR_TP’ undeclared here (not in a function); did you mean ‘RTE_ETH_LINK_AUTONEG’?
[CGX_PORT_TP] = RTE_ETH_LINK_CONNECTOR_TP,
^~~~~~~~~~~~~~~~~~~~~~~~~
RTE_ETH_LINK_AUTONEG
./drivers/net/cnxk/cnxk_ethdev.c:67:19: error: ‘RTE_ETH_LINK_CONNECTOR_AUI’ undeclared here (not in a function); did you mean ‘RTE_ETH_LINK_MAX_STR_LEN’?
[CGX_PORT_AUI] = RTE_ETH_LINK_CONNECTOR_AUI,
^~~~~~~~~~~~~~~~~~~~~~~~~~
RTE_ETH_LINK_MAX_STR_LEN
./drivers/net/cnxk/cnxk_ethdev.c:68:19: error: ‘RTE_ETH_LINK_CONNECTOR_MII’ undeclared here (not in a function); did you mean ‘RTE_ETH_LINK_MAX_STR_LEN’?
[CGX_PORT_MII] = RTE_ETH_LINK_CONNECTOR_MII,
^~~~~~~~~~~~~~~~~~~~~~~~~~
RTE_ETH_LINK_MAX_STR_LEN
./drivers/net/cnxk/cnxk_ethdev.c:69:21: error: ‘RTE_ETH_LINK_CONNECTOR_FIBER’ undeclared here (not in a function); did you mean ‘RTE_ETH_LINK_SPEED_FIXED’?
[CGX_PORT_FIBRE] = RTE_ETH_LINK_CONNECTOR_FIBER,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
RTE_ETH_LINK_SPEED_FIXED
./drivers/net/cnxk/cnxk_ethdev.c:70:19: error: ‘RTE_ETH_LINK_CONNECTOR_BNC’ undeclared here (not in a function); did you mean ‘RTE_ETH_LINK_MAX_STR_LEN’?
[CGX_PORT_BNC] = RTE_ETH_LINK_CONNECTOR_BNC,
^~~~~~~~~~~~~~~~~~~~~~~~~~
RTE_ETH_LINK_MAX_STR_LEN
./drivers/net/cnxk/cnxk_ethdev.c:71:18: error: ‘RTE_ETH_LINK_CONNECTOR_DAC’ undeclared here (not in a function); did you mean ‘RTE_ETH_LINK_MAX_STR_LEN’?
[CGX_PORT_DA] = RTE_ETH_LINK_CONNECTOR_DAC,
^~~~~~~~~~~~~~~~~~~~~~~~~~
RTE_ETH_LINK_MAX_STR_LEN
./drivers/net/cnxk/cnxk_ethdev.c:72:20: error: ‘RTE_ETH_LINK_CONNECTOR_NONE’ undeclared here (not in a function); did you mean ‘RTE_ETH_REPRESENTOR_NONE’?
[CGX_PORT_NONE] = RTE_ETH_LINK_CONNECTOR_NONE,
^~~~~~~~~~~~~~~~~~~~~~~~~~~
RTE_ETH_REPRESENTOR_NONE
./drivers/net/cnxk/cnxk_ethdev.c:73:21: error: ‘RTE_ETH_LINK_CONNECTOR_OTHER’ undeclared here (not in a function); did you mean ‘RTE_ETH_LINK_MAX_STR_LEN’?
[CGX_PORT_OTHER] = RTE_ETH_LINK_CONNECTOR_OTHER,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
RTE_ETH_LINK_MAX_STR_LEN
./drivers/net/cnxk/cnxk_ethdev.c: In function ‘nix_get_speed_capa’:
./drivers/net/cnxk/cnxk_ethdev.c:139:7: error: ‘struct rte_eth_link’ has no member named ‘link_connector’
link.link_connector = dev->link_type;
^
./drivers/net/cnxk/cnxk_ethdev.c:139:3: warning: statement with no effect [-Wunused-value]
link.link_connector = dev->link_type;
^~~~
./drivers/net/cnxk/cnxk_ethdev.c: In function ‘cnxk_nix_dev_stop’:
./drivers/net/cnxk/cnxk_ethdev.c:1808:6: error: ‘struct rte_eth_link’ has no member named ‘link_connector’
link.link_connector = dev->link_type;
^
./drivers/net/cnxk/cnxk_ethdev.c:1808:2: warning: statement with no effect [-Wunused-value]
link.link_connector = dev->link_type;
^~~~
[1243/2979] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_flow_common.c.o
[1244/2979] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_link.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_link.c.o
cc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -Ilib/eal/common -I../lib/eal/common -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 -I../kernel/linux -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 -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/dmadev -I../lib/dmadev -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -include rte_config.h -Wvla -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 -fPIC -march=loongarch64 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-vla -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_link.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_link.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_link.c.o -c ../drivers/net/cnxk/cnxk_link.c
In file included from ../lib/eal/include/rte_dev.h:20,
from ../lib/eal/include/dev_driver.h:9,
from ../lib/ethdev/ethdev_driver.h:19,
from ../drivers/net/cnxk/cnxk_ethdev.h:10,
from ../drivers/net/cnxk/cnxk_link.c:5:
./drivers/net/cnxk/cnxk_link.c: In function ‘nix_link_status_print’:
./drivers/net/cnxk/cnxk_link.c:124:6: warning: implicit declaration of function ‘rte_eth_link_connector_to_str’; did you mean ‘rte_eth_link_speed_to_str’? [-Wimplicit-function-declaration]
rte_eth_link_connector_to_str(link->link_connector));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./lib/log/rte_log.h:334:32: note: in definition of macro ‘RTE_LOG’
RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
^~~~~~~~~~~
./lib/log/rte_log.h:388:16: note: in expansion of macro ‘RTE_FMT’
RTE_LOG(l, t, RTE_FMT(RTE_FMT_HEAD(__VA_ARGS__ ,) "n", ^~~~~~~
./lib/log/rte_log.h:389:3: note: in expansion of macro ‘RTE_FMT_TAIL’
RTE_FMT_TAIL(__VA_ARGS__ ,))); ^~~~~~~~~~~~
./drivers/common/cnxk/roc_platform.h:299:23: note: in expansion of macro ‘RTE_LOG_LINE’
#define plt_info(...) RTE_LOG_LINE(INFO, CNXK, __VA_ARGS__)
^~~~~~~~~~~~
./drivers/net/cnxk/cnxk_link.c:118:3: note: in expansion of macro ‘plt_info’
plt_info("Port %d: Link Up - speed %u Mbps - %s - %s",
^~~~~~~~
./drivers/net/cnxk/cnxk_link.c:124:6: warning: nested extern declaration of ‘rte_eth_link_connector_to_str’ [-Wnested-externs]
rte_eth_link_connector_to_str(link->link_connector));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./lib/log/rte_log.h:334:32: note: in definition of macro ‘RTE_LOG’
RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
^~~~~~~~~~~
./lib/log/rte_log.h:388:16: note: in expansion of macro ‘RTE_FMT’
RTE_LOG(l, t, RTE_FMT(RTE_FMT_HEAD(__VA_ARGS__ ,) "n", ^~~~~~~
./lib/log/rte_log.h:389:3: note: in expansion of macro ‘RTE_FMT_TAIL’
RTE_FMT_TAIL(__VA_ARGS__ ,))); ^~~~~~~~~~~~
./drivers/common/cnxk/roc_platform.h:299:23: note: in expansion of macro ‘RTE_LOG_LINE’
#define plt_info(...) RTE_LOG_LINE(INFO, CNXK, __VA_ARGS__)
^~~~~~~~~~~~
./drivers/net/cnxk/cnxk_link.c:118:3: note: in expansion of macro ‘plt_info’
plt_info("Port %d: Link Up - speed %u Mbps - %s - %s",
^~~~~~~~
./drivers/net/cnxk/cnxk_link.c:124:40: error: ‘struct rte_eth_link’ has no member named ‘link_connector’
rte_eth_link_connector_to_str(link->link_connector));
^~
./lib/log/rte_log.h:334:32: note: in definition of macro ‘RTE_LOG’
RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
^~~~~~~~~~~
./lib/log/rte_log.h:388:16: note: in expansion of macro ‘RTE_FMT’
RTE_LOG(l, t, RTE_FMT(RTE_FMT_HEAD(__VA_ARGS__ ,) "n", ^~~~~~~
./lib/log/rte_log.h:389:3: note: in expansion of macro ‘RTE_FMT_TAIL’
RTE_FMT_TAIL(__VA_ARGS__ ,))); ^~~~~~~~~~~~
./drivers/common/cnxk/roc_platform.h:299:23: note: in expansion of macro ‘RTE_LOG_LINE’
#define plt_info(...) RTE_LOG_LINE(INFO, CNXK, __VA_ARGS__)
^~~~~~~~~~~~
./drivers/net/cnxk/cnxk_link.c:118:3: note: in expansion of macro ‘plt_info’
plt_info("Port %d: Link Up - speed %u Mbps - %s - %s",
^~~~~~~~
./drivers/net/cnxk/cnxk_link.c:127:39: error: ‘struct rte_eth_link’ has no member named ‘link_connector’
rte_eth_link_connector_to_str(link->link_connector));
^~
./lib/log/rte_log.h:334:32: note: in definition of macro ‘RTE_LOG’
RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
^~~~~~~~~~~
./lib/log/rte_log.h:388:16: note: in expansion of macro ‘RTE_FMT’
RTE_LOG(l, t, RTE_FMT(RTE_FMT_HEAD(__VA_ARGS__ ,) "n", ^~~~~~~
./lib/log/rte_log.h:389:3: note: in expansion of macro ‘RTE_FMT_TAIL’
RTE_FMT_TAIL(__VA_ARGS__ ,))); ^~~~~~~~~~~~
./drivers/common/cnxk/roc_platform.h:299:23: note: in expansion of macro ‘RTE_LOG_LINE’
#define plt_info(...) RTE_LOG_LINE(INFO, CNXK, __VA_ARGS__)
^~~~~~~~~~~~
./drivers/net/cnxk/cnxk_link.c:126:3: note: in expansion of macro ‘plt_info’
plt_info("Port %d: Link Down - %s", (int)(eth_dev->data->port_id),
^~~~~~~~
./drivers/net/cnxk/cnxk_link.c: In function ‘cnxk_eth_dev_link_status_cb’:
./drivers/net/cnxk/cnxk_link.c:176:10: error: ‘struct rte_eth_link’ has no member named ‘link_connector’
eth_link.link_connector = dev->link_type;
^
./drivers/net/cnxk/cnxk_link.c: In function ‘cnxk_nix_link_update’:
./drivers/net/cnxk/cnxk_link.c:216:7: error: ‘struct rte_eth_link’ has no member named ‘link_connector’
link.link_connector = dev->link_type;
^
[1245/2979] Generating rte_net_bnxt_map with a custom command
[1246/2979] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_eswitch_devargs.c.o
[1247/2979] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_lookup.c.o
[1248/2979] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o
[1249/2979] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_api.c.o
[1250/2979] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_eswitch_flow.c.o
[1251/2979] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ptp.c.o
[1252/2979] Generating rte_net_axgbe.sym_chk with a custom command (wrapped by meson to capture output)
[1253/2979] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_tf_ulp_ulp_mapper.c.o
[1254/2979] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o
[1255/2979] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_rep.c.o
[1256/2979] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_eswitch.c.o
[1257/2979] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_stats.c.o
[1258/2979] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec_telemetry.c.o
[1259/2979] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o
[1260/2979] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_tm.c.o
[1261/2979] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_rep_ops.c.o
[1262/2979] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_rep_msg.c.o
[1263/2979] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mcs.c.o
[1264/2979] Generating vhost.sym_chk with a custom command (wrapped by meson to capture output)
[1265/2979] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_flow.c.o
[1266/2979] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_tf_core_v3_tfc_tbl_scope.c.o
[1267/2979] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o
[1268/2979] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_ethdev.c.o
[1269/2979] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_8023ad.c.o
[1270/2979] Compiling C object drivers/libtmp_rte_net_bnx2x.a.p/net_bnx2x_elink.c.o
[1271/2979] Generating pipeline.sym_chk with a custom command (wrapped by meson to capture output)
[1272/2979] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_pmd.c.o
[1273/2979] Compiling C object drivers/libtmp_rte_net_bnx2x.a.p/net_bnx2x_bnx2x.c.o
[1274/2979] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_hwrm.c.o
[1275/2979] Generating rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped: subcommand failed.
-------------------------------END LOGS------------------------------
More information about the test-report
mailing list