automatic DPDK test reports
 help / color / mirror / Atom feed
From: qemudev@loongson.cn
To: test-report@dpdk.org
Cc: <skori@marvell.com>, zhoumin@loongson.cn
Subject: |FAILURE| pw154058-154063 [PATCH 6/6] net/cnxk: report link mode
Date: Thu, 5 Jun 2025 19:12:52 +0800	[thread overview]
Message-ID: <202506051112.555BCqeH2029632@localhost.localdomain> (raw)
In-Reply-To: <20250605114231.3036050-6-skori@marvell.com>

Test-Label: loongarch-compilation
Test-Status: FAILURE
http://dpdk.org/patch/154063

_ninja build failure_

Submitter: Sunil Kumar Kori <skori@marvell.com>
Date: Thu, 5 Jun 2025 17:12:15 +0530
DPDK git baseline: Repo:dpdk-next-net-mrvl
  Branch: for-next-net
  CommitID: a21e4f56a7463238ac0846747ca1c11ae051654e

154058-154063 --> 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_TYPE_TP’ undeclared here (not in a function); did you mean ‘RTE_ETH_VLAN_TYPE_MAX’?
[CGX_PORT_TP] = RTE_ETH_LINK_TYPE_TP,
^~~~~~~~~~~~~~~~~~~~
RTE_ETH_VLAN_TYPE_MAX
./drivers/net/cnxk/cnxk_ethdev.c:67:19: error: ‘RTE_ETH_LINK_TYPE_AUI’ undeclared here (not in a function); did you mean ‘RTE_ETH_VLAN_TYPE_MAX’?
[CGX_PORT_AUI] = RTE_ETH_LINK_TYPE_AUI,
^~~~~~~~~~~~~~~~~~~~~
RTE_ETH_VLAN_TYPE_MAX
./drivers/net/cnxk/cnxk_ethdev.c:68:19: error: ‘RTE_ETH_LINK_TYPE_MII’ undeclared here (not in a function); did you mean ‘RTE_ETH_VLAN_TYPE_MAX’?
[CGX_PORT_MII] = RTE_ETH_LINK_TYPE_MII,
^~~~~~~~~~~~~~~~~~~~~
RTE_ETH_VLAN_TYPE_MAX
./drivers/net/cnxk/cnxk_ethdev.c:69:21: error: ‘RTE_ETH_LINK_TYPE_FIBRE’ undeclared here (not in a function); did you mean ‘RTE_ETH_VLAN_TYPE_INNER’?
[CGX_PORT_FIBRE] = RTE_ETH_LINK_TYPE_FIBRE,
^~~~~~~~~~~~~~~~~~~~~~~
RTE_ETH_VLAN_TYPE_INNER
./drivers/net/cnxk/cnxk_ethdev.c:70:19: error: ‘RTE_ETH_LINK_TYPE_BNC’ undeclared here (not in a function); did you mean ‘RTE_ETH_VLAN_TYPE_MAX’?
[CGX_PORT_BNC] = RTE_ETH_LINK_TYPE_BNC,
^~~~~~~~~~~~~~~~~~~~~
RTE_ETH_VLAN_TYPE_MAX
./drivers/net/cnxk/cnxk_ethdev.c:71:18: error: ‘RTE_ETH_LINK_TYPE_DA’ undeclared here (not in a function); did you mean ‘RTE_ETH_VLAN_TYPE_MAX’?
[CGX_PORT_DA] = RTE_ETH_LINK_TYPE_DA,
^~~~~~~~~~~~~~~~~~~~
RTE_ETH_VLAN_TYPE_MAX
./drivers/net/cnxk/cnxk_ethdev.c:72:20: error: ‘RTE_ETH_LINK_TYPE_NONE’ undeclared here (not in a function); did you mean ‘RTE_ETH_TUNNEL_TYPE_NONE’?
[CGX_PORT_NONE] = RTE_ETH_LINK_TYPE_NONE,
^~~~~~~~~~~~~~~~~~~~~~
RTE_ETH_TUNNEL_TYPE_NONE
./drivers/net/cnxk/cnxk_ethdev.c:73:21: error: ‘RTE_ETH_LINK_TYPE_OTHER’ undeclared here (not in a function); did you mean ‘RTE_ETH_VLAN_TYPE_OUTER’?
[CGX_PORT_OTHER] = RTE_ETH_LINK_TYPE_OTHER,
^~~~~~~~~~~~~~~~~~~~~~~
RTE_ETH_VLAN_TYPE_OUTER
./drivers/net/cnxk/cnxk_ethdev.c: In function ‘nix_get_speed_capa’:
./drivers/net/cnxk/cnxk_ethdev.c:139:8: error: ‘struct rte_eth_link’ has no member named ‘link_type’; did you mean ‘link_speed’?
link.link_type = dev->link_type;
^~~~~~~~~
link_speed
./drivers/net/cnxk/cnxk_ethdev.c:139:3: warning: statement with no effect [-Wunused-value]
link.link_type = dev->link_type;
^~~~
./drivers/net/cnxk/cnxk_ethdev.c: In function ‘cnxk_nix_dev_stop’:
./drivers/net/cnxk/cnxk_ethdev.c:1805:7: error: ‘struct rte_eth_link’ has no member named ‘link_type’; did you mean ‘link_speed’?
link.link_type = dev->link_type;
^~~~~~~~~
link_speed
./drivers/net/cnxk/cnxk_ethdev.c:1805:2: warning: statement with no effect [-Wunused-value]
link.link_type = dev->link_type;
^~~~
[1239/2923] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o
[1240/2923] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_eswitch_flow.c.o
[1241/2923] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_eswitch_devargs.c.o
[1242/2923] 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_type_to_str’; did you mean ‘rte_eth_link_speed_to_str’? [-Wimplicit-function-declaration]
rte_eth_link_type_to_str(link->link_type));
^~~~~~~~~~~~~~~~~~~~~~~~
./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_type_to_str’ [-Wnested-externs]
rte_eth_link_type_to_str(link->link_type));
^~~~~~~~~~~~~~~~~~~~~~~~
./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:37: error: ‘struct rte_eth_link’ has no member named ‘link_type’; did you mean ‘link_speed’?
rte_eth_link_type_to_str(link->link_type));
^~~~~~~~~
./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:36: error: ‘struct rte_eth_link’ has no member named ‘link_type’; did you mean ‘link_speed’?
rte_eth_link_type_to_str(link->link_type));
^~~~~~~~~
./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:11: error: ‘struct rte_eth_link’ has no member named ‘link_type’; did you mean ‘link_speed’?
eth_link.link_type = dev->link_type;
^~~~~~~~~
link_speed
./drivers/net/cnxk/cnxk_link.c: In function ‘cnxk_nix_link_update’:
./drivers/net/cnxk/cnxk_link.c:216:8: error: ‘struct rte_eth_link’ has no member named ‘link_type’; did you mean ‘link_speed’?
link.link_type = dev->link_type;
^~~~~~~~~
link_speed
[1243/2923] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_api.c.o
[1244/2923] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec_telemetry.c.o
[1245/2923] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_lookup.c.o
[1246/2923] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_hcapi_cfa_v3_bld_p70_host_cfa_bld_p70_host_mpc_wrapper.c.o
[1247/2923] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ptp.c.o
[1248/2923] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o
[1249/2923] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_tf_ulp_ulp_rte_parser.c.o
[1250/2923] Generating rte_net_bnxt_map with a custom command
[1251/2923] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mcs.c.o
[1252/2923] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_eswitch.c.o
[1253/2923] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_tf_core_v3_tfc_tbl_scope.c.o
[1254/2923] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_stats.c.o
[1255/2923] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_rep.c.o
[1256/2923] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_rep_msg.c.o
[1257/2923] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o
[1258/2923] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_tm.c.o
[1259/2923] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_rep_ops.c.o
[1260/2923] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_flow.c.o
[1261/2923] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_rep_flow.c.o
[1262/2923] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o
[1263/2923] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_tf_ulp_ulp_mapper.c.o
[1264/2923] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_8023ad.c.o
[1265/2923] Generating pipeline.sym_chk with a custom command (wrapped by meson to capture output)
[1266/2923] Compiling C object drivers/libtmp_rte_net_bnx2x.a.p/net_bnx2x_bnx2x.c.o
[1267/2923] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_hwrm.c.o
[1268/2923] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_pmd.c.o
[1269/2923] Compiling C object drivers/libtmp_rte_net_bnx2x.a.p/net_bnx2x_elink.c.o
[1270/2923] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o
[1271/2923] Generating rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped: subcommand failed.
-------------------------------END LOGS------------------------------


       reply	other threads:[~2025-06-05 11:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20250605114231.3036050-6-skori@marvell.com>
2025-06-05 11:12 ` qemudev [this message]
2025-06-05 11:42 ` |SUCCESS| pw154063 " checkpatch
2025-06-05 12:24 ` |FAILURE| " 0-day Robot
2025-06-05 15:20 ` |FAILURE| pw154058-154063 [PATCH] [6/6] " dpdklab

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202506051112.555BCqeH2029632@localhost.localdomain \
    --to=qemudev@loongson.cn \
    --cc=skori@marvell.com \
    --cc=test-report@dpdk.org \
    --cc=zhoumin@loongson.cn \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).