|FAILURE| pw140816 [PATCH v4 11/11] net/mlx5: initial design changes

0-day Robot robot at bytheb.org
Thu Jun 6 13:25:09 CEST 2024


From: robot at bytheb.org

Test-Label: github-robot: build
Test-Status: FAILURE
http://patchwork.dpdk.org/patch/140816/

_github build: failed_
Build URL: https://github.com/ovsrobot/dpdk/actions/runs/9399542387
Build Logs:
-----------------------Summary of failed steps-----------------------
"ubuntu-22.04-gcc-stdatomic" failed at step Build and test
"ubuntu-22.04-clang-stdatomic" failed at step Build and test
"ubuntu-22.04-gcc-abi+debug+doc+examples+tests" failed at step Build and test
"ubuntu-22.04-clang-asan+doc+tests" failed at step Build and test
"fedora:39-gcc" failed at step Build
"fedora:39-clang" failed at step Build
----------------------End summary of failed steps--------------------

-------------------------------BEGIN LOGS----------------------------
####################################################################################
#### [Begin job log] "ubuntu-22.04-gcc-stdatomic" at step Build and test
####################################################################################
../drivers/net/mlx5/mlx5_flow_hw.c:10836:20: error: ‘struct mlx5dr_context_attr’ has no member named ‘bwc’
10836 |         dr_ctx_attr.bwc = true;
      |                    ^
../drivers/net/mlx5/mlx5_flow_hw.c: In function ‘flow_hw_apply’:
../drivers/net/mlx5/mlx5_flow_hw.c:12585:16: error: implicit declaration of function ‘mlx5dr_bwc_rule_create’; did you mean ‘mlx5dr_rule_create’? [-Werror=implicit-function-declaration]
12585 |         rule = mlx5dr_bwc_rule_create((struct mlx5dr_bwc_matcher *)
      |                ^~~~~~~~~~~~~~~~~~~~~~
      |                mlx5dr_rule_create
../drivers/net/mlx5/mlx5_flow_hw.c:12585:16: error: nested extern declaration of ‘mlx5dr_bwc_rule_create’ [-Werror=nested-externs]
../drivers/net/mlx5/mlx5_flow_hw.c:12585:14: error: assignment to ‘struct mlx5dr_bwc_rule *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion]
12585 |         rule = mlx5dr_bwc_rule_create((struct mlx5dr_bwc_matcher *)
      |              ^
../drivers/net/mlx5/mlx5_flow_hw.c: In function ‘flow_hw_destroy’:
../drivers/net/mlx5/mlx5_flow_hw.c:12747:23: error: implicit declaration of function ‘mlx5dr_bwc_rule_destroy’; did you mean ‘mlx5dr_rule_destroy’? [-Werror=implicit-function-declaration]
12747 |                 ret = mlx5dr_bwc_rule_destroy(flow->nt2hws->nt_rule);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~
      |                       mlx5dr_rule_destroy
../drivers/net/mlx5/mlx5_flow_hw.c:12747:23: error: nested extern declaration of ‘mlx5dr_bwc_rule_destroy’ [-Werror=nested-externs]
cc1: all warnings being treated as errors
[1782/2954] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_tx_mpw.c.o'.
[1783/2954] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_tx_txpp.c.o'.
[1784/2954] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_tx_nompw.c.o'.
[1785/2954] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_tx_empw.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-22.04-gcc-stdatomic" at step Build and test
####################################################################################




####################################################################################
#### [Begin job log] "ubuntu-22.04-clang-stdatomic" at step Build and test
####################################################################################
[1762/2954] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_rxmode.c.o'.
[1763/2954] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_mac.c.o'.
[1764/2954] Linking static target drivers/librte_net_mlx4.a.
[1765/2954] Compiling C object 'drivers/a715181@@rte_net_mlx4 at sha/meson-generated_.._rte_net_mlx4.pmd.c.o'.
[1766/2954] Linking target drivers/librte_net_mlx4.so.24.2.
[1767/2954] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_flow_dv.c.o'.
FAILED: drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_flow_dv.c.o 
ccache clang -Idrivers/a715181@@tmp_rte_net_mlx5 at sta -Idrivers -I../drivers -Idrivers/net/mlx5 -I../drivers/net/mlx5 -Idrivers/net/mlx5/linux -I../drivers/net/mlx5/linux -Idrivers/net/mlx5/hws -I../drivers/net/mlx5/hws -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/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/telemetry/../metrics -I../lib/telemetry/../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/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Idrivers/common/mlx5 -I../drivers/common/mlx5 -Idrivers/common/mlx5/linux -I../drivers/common/mlx5/linux -Idrivers/bus/auxiliary -I../drivers/bus/auxiliary -I/usr/include/libnl3 -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O2 -g -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-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=corei7 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -std=c11 -Wno-strict-prototypes -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pedantic -DPEDANTIC -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.mlx5 -MD -MQ 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_flow_dv.c.o' -MF 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_flow_dv.c.o.d' -o 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_flow_dv.c.o' -c ../drivers/net/mlx5/mlx5_flow_dv.c
../drivers/net/mlx5/mlx5_flow_dv.c:11939:30: error: implicit declaration of function 'mlx5dr_bwc_matcher_create' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
                resource->matcher_object = mlx5dr_bwc_matcher_create
                                           ^
../drivers/net/mlx5/mlx5_flow_dv.c:11939:28: error: incompatible integer to pointer conversion assigning to 'void *' from 'int' [-Werror,-Wint-conversion]
                resource->matcher_object = mlx5dr_bwc_matcher_create
                                         ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/mlx5/mlx5_flow_dv.c:15860:14: error: implicit declaration of function 'mlx5dr_bwc_matcher_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
                claim_zero(mlx5dr_bwc_matcher_destroy((struct mlx5dr_bwc_matcher *)
                           ^
3 errors generated.
[1768/2954] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_rss.c.o'.
[1769/2954] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_flow_aso.c.o'.
[1770/2954] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_flow_flex.c.o'.
[1771/2954] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_flow.c.o'.
[1772/2954] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_rx.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-22.04-clang-stdatomic" at step Build and test
####################################################################################




####################################################################################
#### [Begin job log] "ubuntu-22.04-gcc-abi+debug+doc+examples+tests" at step Build and test
####################################################################################
      |                                          ^
In file included from ../drivers/net/mlx5/mlx5_utils.h:20,
                 from ../drivers/net/mlx5/mlx5.h:33,
                 from ../drivers/net/mlx5/mlx5_flow_dv.c:35:
../drivers/net/mlx5/mlx5_flow_dv.c: In function ‘flow_matcher_remove_cb’:
../drivers/net/mlx5/mlx5_flow_dv.c:15860:28: error: implicit declaration of function ‘mlx5dr_bwc_matcher_destroy’; did you mean ‘mlx5dr_matcher_destroy’? [-Werror=implicit-function-declaration]
15860 |                 claim_zero(mlx5dr_bwc_matcher_destroy((struct mlx5dr_bwc_matcher *)
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/mlx5/mlx5_common.h:107:26: note: in definition of macro ‘claim_zero’
  107 | #define claim_zero(...) (__VA_ARGS__)
      |                          ^~~~~~~~~~~
../drivers/net/mlx5/mlx5_flow_dv.c:15860:28: error: nested extern declaration of ‘mlx5dr_bwc_matcher_destroy’ [-Werror=nested-externs]
15860 |                 claim_zero(mlx5dr_bwc_matcher_destroy((struct mlx5dr_bwc_matcher *)
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/mlx5/mlx5_common.h:107:26: note: in definition of macro ‘claim_zero’
  107 | #define claim_zero(...) (__VA_ARGS__)
      |                          ^~~~~~~~~~~
cc1: all warnings being treated as errors
[1825/4035] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_flow.c.o'.
[1826/4035] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_rxtx.c.o'.
[1827/4035] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_tx.c.o'.
[1828/4035] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_rx.c.o'.
[1829/4035] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_tx_empw.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-22.04-gcc-abi+debug+doc+examples+tests" at step Build and test
####################################################################################




####################################################################################
#### [Begin job log] "ubuntu-22.04-clang-asan+doc+tests" at step Build and test
####################################################################################
[1794/4035] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx4 at sta/net_mlx4_mlx4_glue.c.o'.
[1795/4035] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx4 at sta/net_mlx4_mlx4_txq.c.o'.
[1796/4035] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_ethdev.c.o'.
[1797/4035] Compiling C object 'drivers/a715181@@tmp_rte_net_ixgbe at sta/net_ixgbe_ixgbe_rxtx_vec_sse.c.o'.
[1798/4035] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5.c.o'.
[1799/4035] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_flow_dv.c.o'.
FAILED: drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_flow_dv.c.o 
ccache clang -Idrivers/a715181@@tmp_rte_net_mlx5 at sta -Idrivers -I../drivers -Idrivers/net/mlx5 -I../drivers/net/mlx5 -Idrivers/net/mlx5/linux -I../drivers/net/mlx5/linux -Idrivers/net/mlx5/hws -I../drivers/net/mlx5/hws -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/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/telemetry/../metrics -I../lib/telemetry/../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/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Idrivers/common/mlx5 -I../drivers/common/mlx5 -Idrivers/common/mlx5/linux -I../drivers/common/mlx5/linux -Idrivers/bus/auxiliary -I../drivers/bus/auxiliary -I/usr/include/libnl3 -Xclang -fcolor-diagnostics -fsanitize=address -fno-omit-frame-pointer -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O2 -g -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-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=corei7 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -std=c11 -Wno-strict-prototypes -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pedantic -DPEDANTIC -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.mlx5 -MD -MQ 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_flow_dv.c.o' -MF 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_flow_dv.c.o.d' -o 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_flow_dv.c.o' -c ../drivers/net/mlx5/mlx5_flow_dv.c
../drivers/net/mlx5/mlx5_flow_dv.c:11939:30: error: implicit declaration of function 'mlx5dr_bwc_matcher_create' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
                resource->matcher_object = mlx5dr_bwc_matcher_create
                                           ^
../drivers/net/mlx5/mlx5_flow_dv.c:11939:28: error: incompatible integer to pointer conversion assigning to 'void *' from 'int' [-Werror,-Wint-conversion]
                resource->matcher_object = mlx5dr_bwc_matcher_create
                                         ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/mlx5/mlx5_flow_dv.c:15860:14: error: implicit declaration of function 'mlx5dr_bwc_matcher_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
                claim_zero(mlx5dr_bwc_matcher_destroy((struct mlx5dr_bwc_matcher *)
                           ^
3 errors generated.
[1800/4035] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_flow_meter.c.o'.
[1801/4035] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_trigger.c.o'.
[1802/4035] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx4 at sta/net_mlx4_mlx4_rxtx.c.o'.
[1803/4035] Compiling C object 'drivers/a715181@@tmp_rte_net_ixgbe at sta/net_ixgbe_ixgbe_rxtx.c.o'.
[1804/4035] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_flow.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-22.04-clang-asan+doc+tests" at step Build and test
####################################################################################




####################################################################################
#### [Begin job log] "fedora:39-gcc" at step Build
####################################################################################
####################################################################################
#### [End job log] "fedora:39-gcc" at step Build
####################################################################################




####################################################################################
#### [Begin job log] "fedora:39-clang" at step Build
####################################################################################
####################################################################################
#### [End job log] "fedora:39-clang" at step Build
####################################################################################
--------------------------------END LOGS-----------------------------


More information about the test-report mailing list