|FAILURE| pw105722-105721 [PATCH] [v2, 2/2] net/cnxk: support priority flow control

dpdklab at iol.unh.edu dpdklab at iol.unh.edu
Tue Jan 11 09:40:07 CET 2022


Test-Label: iol-testing
Test-Status: FAILURE
http://dpdk.org/patch/105722

_build patch failure_

Submitter: Sunil Kumar Kori <skori at marvell.com>
Date: Tuesday, January 11 2022 08:18:31 
Applied on: CommitID:042f5a355a57b31a9f87824173a9d427b21abdb8
Apply patch set 105722-105721 failed:

[1/1795] Linking static target drivers/libtmp_rte_net_bond.a
[2/1795] Compiling C object drivers/librte_net_bnx2x.a.p/meson-generated_.._rte_net_bnx2x.pmd.c.o
[3/1795] Linking static target drivers/libtmp_rte_net_bnxt.a
[4/1795] Compiling C object drivers/librte_net_bnx2x.so.22.1.p/meson-generated_.._rte_net_bnx2x.pmd.c.o
[5/1795] Linking target lib/librte_pipeline.so.22.1
[6/1795] Linking target drivers/librte_common_sfc_efx.so.22.1
[7/1795] Linking target drivers/librte_common_cnxk.so.22.1
[8/1795] Linking static target drivers/librte_net_bnx2x.a
[9/1795] Generating rte_net_bond.pmd.c with a custom command
[10/1795] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o
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 -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/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/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 -O3 -include rte_config.h -Wextra -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-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -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
In file included from ../drivers/net/cnxk/cnxk_ethdev.c:4:0:
../drivers/net/cnxk/cnxk_ethdev.h:483:15: warning: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration
        struct rte_eth_pfc_queue_conf *pfc_conf);
               ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1553:3: error: ‘struct eth_dev_ops’ has no member named ‘priority_flow_ctrl_queue_set’; did you mean ‘priority_flow_ctrl_set’?
  .priority_flow_ctrl_queue_set = cnxk_nix_priority_flow_ctrl_queue_set,
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
   priority_flow_ctrl_set
../drivers/net/cnxk/cnxk_ethdev.c:1553:34: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
  .priority_flow_ctrl_queue_set = cnxk_nix_priority_flow_ctrl_queue_set,
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1553:34: note: (near initialization for ‘cnxk_eth_dev_ops.priority_flow_ctrl_set’)
../drivers/net/cnxk/cnxk_ethdev.c: In function ‘cnxk_eth_dev_uninit’:
../drivers/net/cnxk/cnxk_ethdev.c:1727:9: error: variable ‘pfc_conf’ has initializer but incomplete type
  struct rte_eth_pfc_queue_conf pfc_conf = {0};
         ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1727:44: warning: excess elements in struct initializer
  struct rte_eth_pfc_queue_conf pfc_conf = {0};
                                            ^
../drivers/net/cnxk/cnxk_ethdev.c:1727:44: note: (near initialization for ‘pfc_conf’)
../drivers/net/cnxk/cnxk_ethdev.c:1727:32: error: storage size of ‘pfc_conf’ isn’t known
  struct rte_eth_pfc_queue_conf pfc_conf = {0};
                                ^~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1727:32: warning: unused variable ‘pfc_conf’ [-Wunused-variable]
[11/1795] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.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 -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/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/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 -O3 -include rte_config.h -Wextra -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-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -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_ops.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o -c ../drivers/net/cnxk/cnxk_ethdev_ops.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c:5:0:
../drivers/net/cnxk/cnxk_ethdev.h:483:15: warning: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration
        struct rte_eth_pfc_queue_conf *pfc_conf);
               ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c: In function ‘cnxk_nix_info_get’:
../drivers/net/cnxk/cnxk_ethdev_ops.c:73:9: error: ‘struct rte_eth_dev_info’ has no member named ‘pfc_queue_tc_max’
  devinfo->pfc_queue_tc_max = roc_nix_chan_count_get(&dev->nix);
         ^~
../drivers/net/cnxk/cnxk_ethdev_ops.c: At top level:
../drivers/net/cnxk/cnxk_ethdev_ops.c:332:18: warning: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration
           struct rte_eth_pfc_queue_conf *pfc_conf)
                  ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c:331:1: error: conflicting types for ‘cnxk_nix_priority_flow_ctrl_queue_set’
 cnxk_nix_priority_flow_ctrl_queue_set(struct rte_eth_dev *eth_dev,
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c:5:0:
../drivers/net/cnxk/cnxk_ethdev.h:482:5: note: previous declaration of ‘cnxk_nix_priority_flow_ctrl_queue_set’ was here
 int cnxk_nix_priority_flow_ctrl_queue_set(struct rte_eth_dev *eth_dev,
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c: In function ‘cnxk_nix_priority_flow_ctrl_queue_set’:
../drivers/net/cnxk/cnxk_ethdev_ops.c:337:29: error: dereferencing pointer to incomplete type ‘struct rte_eth_pfc_queue_conf’
  conf.fc_cfg.mode = pfc_conf->mode;
                             ^~
[12/1795] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cn9k_rte_flow.c.o
In file included from ../drivers/net/cnxk/cnxk_rte_flow.h:10:0,
                 from ../drivers/net/cnxk/cn9k_rte_flow.c:4:
../drivers/net/cnxk/cnxk_ethdev.h:483:15: warning: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration
        struct rte_eth_pfc_queue_conf *pfc_conf);
               ^~~~~~~~~~~~~~~~~~~~~~
[13/1795] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cn9k_ethdev.c.o
In file included from ../drivers/net/cnxk/cn9k_ethdev.h:7:0,
                 from ../drivers/net/cnxk/cn9k_ethdev.c:4:
../drivers/net/cnxk/cnxk_ethdev.h:483:15: warning: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration
        struct rte_eth_pfc_queue_conf *pfc_conf);
               ^~~~~~~~~~~~~~~~~~~~~~
[14/1795] Compiling C object drivers/librte_net_bond.a.p/meson-generated_.._rte_net_bond.pmd.c.o
[15/1795] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ptp.c.o
In file included from ../drivers/net/cnxk/cnxk_ptp.c:5:0:
../drivers/net/cnxk/cnxk_ethdev.h:483:15: warning: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration
        struct rte_eth_pfc_queue_conf *pfc_conf);
               ^~~~~~~~~~~~~~~~~~~~~~
[16/1795] Generating symbol file lib/librte_pipeline.so.22.1.p/librte_pipeline.so.22.1.symbols
[17/1795] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_tm.c.o
In file included from ../drivers/net/cnxk/cnxk_tm.c:4:0:
../drivers/net/cnxk/cnxk_ethdev.h:483:15: warning: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration
        struct rte_eth_pfc_queue_conf *pfc_conf);
               ^~~~~~~~~~~~~~~~~~~~~~
[18/1795] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cn9k_ethdev_sec.c.o
In file included from ../drivers/net/cnxk/cn9k_ethdev.h:7:0,
                 from ../drivers/net/cnxk/cn9k_ethdev_sec.c:9:
../drivers/net/cnxk/cnxk_ethdev.h:483:15: warning: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration
        struct rte_eth_pfc_queue_conf *pfc_conf);
               ^~~~~~~~~~~~~~~~~~~~~~
[19/1795] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cn9k_rx_vec.c.o
In file included from ../drivers/net/cnxk/cn9k_ethdev.h:7:0,
                 from ../drivers/net/cnxk/cn9k_rx_vec.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:483:15: warning: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration
        struct rte_eth_pfc_queue_conf *pfc_conf);
               ^~~~~~~~~~~~~~~~~~~~~~
[20/1795] Generating symbol file drivers/librte_common_cnxk.so.22.1.p/librte_common_cnxk.so.22.1.symbols
[21/1795] Generating rte_net_bnx2x.sym_chk with a custom command (wrapped by meson to capture output)
[22/1795] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cn9k_rx_vec_mseg.c.o
In file included from ../drivers/net/cnxk/cn9k_ethdev.h:7:0,
                 from ../drivers/net/cnxk/cn9k_rx_vec_mseg.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:483:15: warning: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration
        struct rte_eth_pfc_queue_conf *pfc_conf);
               ^~~~~~~~~~~~~~~~~~~~~~
[23/1795] Generating symbol file drivers/librte_common_sfc_efx.so.22.1.p/librte_common_sfc_efx.so.22.1.symbols
[24/1795] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_cxgbe_ethdev.c.o
[25/1795] Generating rte_net_bnxt.pmd.c with a custom command
[26/1795] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cn9k_rx.c.o
In file included from ../drivers/net/cnxk/cn9k_ethdev.h:7:0,
                 from ../drivers/net/cnxk/cn9k_rx.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:483:15: warning: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration
        struct rte_eth_pfc_queue_conf *pfc_conf);
               ^~~~~~~~~~~~~~~~~~~~~~
[27/1795] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cn9k_rx_mseg.c.o
In file included from ../drivers/net/cnxk/cn9k_ethdev.h:7:0,
                 from ../drivers/net/cnxk/cn9k_rx_mseg.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:483:15: warning: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration
        struct rte_eth_pfc_queue_conf *pfc_conf);
               ^~~~~~~~~~~~~~~~~~~~~~
ninja: build stopped: subcommand failed.

https://lab.dpdk.org/results/dashboard/patchsets/20632/

UNH-IOL DPDK Community Lab


More information about the test-report mailing list