automatic DPDK test reports
 help / color / mirror / Atom feed
From: 0-day Robot <robot@bytheb.org>
To: test-report@dpdk.org
Cc: skori@marvell.com, robot@bytheb.org
Subject: |FAILURE| pw106983 [PATCH v7 2/2] net/cnxk: support priority flow control
Date: Mon,  7 Feb 2022 14:00:22 -0500	[thread overview]
Message-ID: <20220207190022.15409-1-robot@bytheb.org> (raw)
In-Reply-To: <20220207172124.252136-2-skori@marvell.com>

From: robot@bytheb.org

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

_github build: failed_
Build URL: https://github.com/ovsrobot/dpdk/actions/runs/1807933377
Build Logs:
-----------------------Summary of failed steps-----------------------
"ubuntu-18.04-gcc-static" failed at step Build and test
"ubuntu-18.04-gcc-shared-abi+doc+tests" failed at step Build and test
"ubuntu-18.04-clang-static" failed at step Build and test
"ubuntu-18.04-clang-shared-doc+tests" failed at step Build and test
"ubuntu-18.04-gcc-static-ppc64le" failed at step Build and test
"ubuntu-18.04-gcc-shared-ppc64le" failed at step Build and test
----------------------End summary of failed steps--------------------

-------------------------------BEGIN LOGS----------------------------
####################################################################################
#### [Begin job log] "ubuntu-18.04-gcc-static" at step Build and test
####################################################################################
../drivers/net/cnxk/cnxk_ethdev.h:492:5: note: previous declaration of ‘cnxk_nix_priority_flow_ctrl_queue_info_get’ was here
 int cnxk_nix_priority_flow_ctrl_queue_info_get(struct rte_eth_dev *eth_dev,
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c: In function ‘cnxk_nix_priority_flow_ctrl_queue_info_get’:
../drivers/net/cnxk/cnxk_ethdev_ops.c:335:10: error: dereferencing pointer to incomplete type ‘struct rte_eth_pfc_queue_info’
  pfc_info->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:342:14: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
       struct rte_eth_pfc_queue_conf *pfc_conf)
              ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c:341:1: error: conflicting types for ‘cnxk_nix_priority_flow_ctrl_queue_config’
 cnxk_nix_priority_flow_ctrl_queue_config(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:490:5: note: previous declaration of ‘cnxk_nix_priority_flow_ctrl_queue_config’ was here
 int cnxk_nix_priority_flow_ctrl_queue_config(struct rte_eth_dev *eth_dev,
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c: In function ‘cnxk_nix_priority_flow_ctrl_queue_config’:
../drivers/net/cnxk/cnxk_ethdev_ops.c:347:29: error: dereferencing pointer to incomplete type ‘struct rte_eth_pfc_queue_conf’
  conf.fc_cfg.mode = pfc_conf->mode;
                             ^~
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-18.04-gcc-static" at step Build and test
####################################################################################




####################################################################################
#### [Begin job log] "ubuntu-18.04-gcc-shared-abi+doc+tests" at step Build and test
####################################################################################
../drivers/net/cnxk/cnxk_ethdev.h:492:5: note: previous declaration of ‘cnxk_nix_priority_flow_ctrl_queue_info_get’ was here
 int cnxk_nix_priority_flow_ctrl_queue_info_get(struct rte_eth_dev *eth_dev,
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c: In function ‘cnxk_nix_priority_flow_ctrl_queue_info_get’:
../drivers/net/cnxk/cnxk_ethdev_ops.c:335:10: error: dereferencing pointer to incomplete type ‘struct rte_eth_pfc_queue_info’
  pfc_info->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:342:14: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
       struct rte_eth_pfc_queue_conf *pfc_conf)
              ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c:341:1: error: conflicting types for ‘cnxk_nix_priority_flow_ctrl_queue_config’
 cnxk_nix_priority_flow_ctrl_queue_config(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:490:5: note: previous declaration of ‘cnxk_nix_priority_flow_ctrl_queue_config’ was here
 int cnxk_nix_priority_flow_ctrl_queue_config(struct rte_eth_dev *eth_dev,
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c: In function ‘cnxk_nix_priority_flow_ctrl_queue_config’:
../drivers/net/cnxk/cnxk_ethdev_ops.c:347:29: error: dereferencing pointer to incomplete type ‘struct rte_eth_pfc_queue_conf’
  conf.fc_cfg.mode = pfc_conf->mode;
                             ^~
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-18.04-gcc-shared-abi+doc+tests" at step Build and test
####################################################################################




####################################################################################
#### [Begin job log] "ubuntu-18.04-clang-static" at step Build and test
####################################################################################
../drivers/net/cnxk/cnxk_ethdev_ops.c:342:14: note: forward declaration of 'struct rte_eth_pfc_queue_conf'
                                         struct rte_eth_pfc_queue_conf *pfc_conf)
                                                ^
../drivers/net/cnxk/cnxk_ethdev_ops.c:351:24: error: incomplete definition of type 'struct rte_eth_pfc_queue_conf'
        conf.rx_qid = pfc_conf->tx_pause.rx_qid;
                      ~~~~~~~~^
../drivers/net/cnxk/cnxk_ethdev_ops.c:342:14: note: forward declaration of 'struct rte_eth_pfc_queue_conf'
                                         struct rte_eth_pfc_queue_conf *pfc_conf)
                                                ^
../drivers/net/cnxk/cnxk_ethdev_ops.c:353:23: error: incomplete definition of type 'struct rte_eth_pfc_queue_conf'
        conf.tx_tc = pfc_conf->rx_pause.tc;
                     ~~~~~~~~^
../drivers/net/cnxk/cnxk_ethdev_ops.c:342:14: note: forward declaration of 'struct rte_eth_pfc_queue_conf'
                                         struct rte_eth_pfc_queue_conf *pfc_conf)
                                                ^
../drivers/net/cnxk/cnxk_ethdev_ops.c:354:24: error: incomplete definition of type 'struct rte_eth_pfc_queue_conf'
        conf.tx_qid = pfc_conf->rx_pause.tx_qid;
                      ~~~~~~~~^
../drivers/net/cnxk/cnxk_ethdev_ops.c:342:14: note: forward declaration of 'struct rte_eth_pfc_queue_conf'
                                         struct rte_eth_pfc_queue_conf *pfc_conf)
                                                ^
14 errors generated.
[1193/3865] Generating rte_net_bnxt.pmd.c with a custom command.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-18.04-clang-static" at step Build and test
####################################################################################




####################################################################################
#### [Begin job log] "ubuntu-18.04-clang-shared-doc+tests" at step Build and test
####################################################################################
FAILED: drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev.c.o 
ccache clang -Idrivers/a715181@@tmp_rte_net_cnxk@sta -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/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/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/common/cnxk/../../bus/pci -I../drivers/common/cnxk/../../bus/pci -Idrivers/common/cnxk/../../../lib/net -I../drivers/common/cnxk/../../../lib/net -Idrivers/common/cnxk/../../../lib/ethdev -I../drivers/common/cnxk/../../../lib/ethdev -Idrivers/common/cnxk/../../../lib/meter -I../drivers/common/cnxk/../../../lib/meter -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk  -MD -MQ 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev.c.o' -MF 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev.c.o.d' -o 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev.c.o' -c ../drivers/net/cnxk/cnxk_ethdev.c
In file included from ../drivers/net/cnxk/cnxk_ethdev.c:4:
../drivers/net/cnxk/cnxk_ethdev.h:491:18: error: declaration of 'struct rte_eth_pfc_queue_conf' will not be visible outside of this function [-Werror,-Wvisibility]
                                             struct rte_eth_pfc_queue_conf *pfc_conf);
                                                    ^
../drivers/net/cnxk/cnxk_ethdev.h:493:20: error: declaration of 'struct rte_eth_pfc_queue_info' will not be visible outside of this function [-Werror,-Wvisibility]
                                               struct rte_eth_pfc_queue_info *pfc_info);
                                                      ^
../drivers/net/cnxk/cnxk_ethdev.c:1556:3: error: field designator 'priority_flow_ctrl_queue_config' does not refer to any field in type 'struct eth_dev_ops'
        .priority_flow_ctrl_queue_config =
         ^
../drivers/net/cnxk/cnxk_ethdev.c:1558:3: error: field designator 'priority_flow_ctrl_queue_info_get' does not refer to any field in type 'struct eth_dev_ops'
        .priority_flow_ctrl_queue_info_get =
         ^
../drivers/net/cnxk/cnxk_ethdev.c:1739:32: error: variable has incomplete type 'struct rte_eth_pfc_queue_conf'
        struct rte_eth_pfc_queue_conf pfc_conf = {0};
                                      ^
../drivers/net/cnxk/cnxk_ethdev.c:1739:9: note: forward declaration of 'struct rte_eth_pfc_queue_conf'
        struct rte_eth_pfc_queue_conf pfc_conf = {0};
               ^
5 errors generated.
[1211/4061] Generating rte_net_bnxt.pmd.c with a custom command.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-18.04-clang-shared-doc+tests" at step Build and test
####################################################################################




####################################################################################
#### [Begin job log] "ubuntu-18.04-gcc-static-ppc64le" at step Build and test
####################################################################################
  struct rte_eth_pfc_queue_conf pfc_conf = {0};
         ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1739:44: error: excess elements in struct initializer [-Werror]
  struct rte_eth_pfc_queue_conf pfc_conf = {0};
                                            ^
../drivers/net/cnxk/cnxk_ethdev.c:1739:44: note: (near initialization for ‘pfc_conf’)
../drivers/net/cnxk/cnxk_ethdev.c:1739: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:1739:32: error: unused variable ‘pfc_conf’ [-Werror=unused-variable]
cc1: all warnings being treated as errors
[1033/3356] Generating rte_net_bond.pmd.c with a custom command.
[1034/3356] Compiling C object 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_devargs.c.o'.
FAILED: drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_devargs.c.o 
powerpc64le-linux-gnu-gcc -Idrivers/a715181@@tmp_rte_net_cnxk@sta -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/ppc/include -I../lib/eal/ppc/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -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/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/common/cnxk/../../bus/pci -I../drivers/common/cnxk/../../bus/pci -Idrivers/common/cnxk/../../../lib/net -I../drivers/common/cnxk/../../../lib/net -Idrivers/common/cnxk/../../../lib/ethdev -I../drivers/common/cnxk/../../../lib/ethdev -Idrivers/common/cnxk/../../../lib/meter -I../drivers/common/cnxk/../../../lib/meter -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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-missing-field-initializers -D_GNU_SOURCE -fPIC -mcpu=power8 -mtune=power8 -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/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_devargs.c.o' -MF 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_devargs.c.o.d' -o 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_devargs.c.o' -c ../drivers/net/cnxk/cnxk_ethdev_devargs.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_devargs.c:8:0:
../drivers/net/cnxk/cnxk_ethdev.h:491:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
           struct rte_eth_pfc_queue_conf *pfc_conf);
                  ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:493:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
             struct rte_eth_pfc_queue_info *pfc_info);
                    ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-18.04-gcc-static-ppc64le" at step Build and test
####################################################################################




####################################################################################
#### [Begin job log] "ubuntu-18.04-gcc-shared-ppc64le" at step Build and test
####################################################################################
../drivers/net/cnxk/cnxk_ethdev.c:1558:3: error: ‘struct eth_dev_ops’ has no member named ‘priority_flow_ctrl_queue_info_get’; did you mean ‘priority_flow_ctrl_set’?
  .priority_flow_ctrl_queue_info_get =
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   priority_flow_ctrl_set
../drivers/net/cnxk/cnxk_ethdev.c:1559:5: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
     cnxk_nix_priority_flow_ctrl_queue_info_get,
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1559:5: note: (near initialization for ‘cnxk_eth_dev_ops.uc_hash_table_set’)
../drivers/net/cnxk/cnxk_ethdev.c: In function ‘cnxk_eth_dev_uninit’:
../drivers/net/cnxk/cnxk_ethdev.c:1739: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:1739:44: error: excess elements in struct initializer [-Werror]
  struct rte_eth_pfc_queue_conf pfc_conf = {0};
                                            ^
../drivers/net/cnxk/cnxk_ethdev.c:1739:44: note: (near initialization for ‘pfc_conf’)
../drivers/net/cnxk/cnxk_ethdev.c:1739: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:1739:32: error: unused variable ‘pfc_conf’ [-Werror=unused-variable]
cc1: all warnings being treated as errors
[1051/3550] Generating symbol file 'drivers/a715181@@rte_net_bnxt@sha/librte_net_bnxt.so.22.1.symbols'.
[1052/3550] Generating rte_net_bond.pmd.c with a custom command.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-18.04-gcc-shared-ppc64le" at step Build and test
####################################################################################
--------------------------------END LOGS-----------------------------

      parent reply	other threads:[~2022-02-07 18:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20220207172124.252136-2-skori@marvell.com>
2022-02-07 17:22 ` |SUCCESS| " checkpatch
2022-02-07 19:00 ` 0-day Robot [this message]

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=20220207190022.15409-1-robot@bytheb.org \
    --to=robot@bytheb.org \
    --cc=skori@marvell.com \
    --cc=test-report@dpdk.org \
    /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).