Patch set 77507–77528

Add DLB2 PMD

Submitter
McDaniel, Timothy
Applied on
dpdk-next-eventdev (30ab5afc2e0498d06dffdc6109a42a8e4ab8bb07)
Date submitted
Sept. 11, 2020, 8:26 p.m.

Test Results Build Error

[1/323] Linking static target drivers/libtmp_rte_pmd_mlx5.a.
[2/323] Linking static target drivers/libtmp_rte_pmd_octeontx_crypto.a.
[3/323] Linking static target drivers/libtmp_rte_pmd_octeontx2_event.a.
[4/323] Linking static target drivers/libtmp_rte_pmd_sw_event.a.
[5/323] Linking static target drivers/libtmp_rte_pmd_dsw_event.a.
[6/323] Linking static target drivers/libtmp_rte_pmd_octeontx_event.a.
[7/323] Generating rte_pmd_bbdev_null_mingw with a custom command.
[8/323] Generating rte_pmd_bbdev_null_def with a custom command.
[9/323] Generating rte_pmd_bbdev_turbo_sw_def with a custom command.
[10/323] Generating rte_pmd_bbdev_turbo_sw_mingw with a custom command.
[11/323] Generating rte_pmd_dsw_event.pmd.c with a custom command.
[12/323] Generating rte_pmd_octeontx_crypto.pmd.c with a custom command.
[13/323] Generating rte_pmd_sw_event.pmd.c with a custom command.
[14/323] Generating rte_pmd_bbdev_fpga_lte_fec_mingw with a custom command.
[15/323] Generating rte_pmd_bbdev_fpga_lte_fec_def with a custom command.
[16/323] Linking target drivers/librte_pmd_octeontx2_crypto.so.20.0.3.
[17/323] Compiling C object 'drivers/a715181@@rte_pmd_octeontx_crypto@sta/meson-generated_.._rte_pmd_octeontx_crypto.pmd.c.o'.
[18/323] Compiling C object 'drivers/a715181@@rte_pmd_dsw_event@sta/meson-generated_.._rte_pmd_dsw_event.pmd.c.o'.
[19/323] Generating rte_pmd_octeontx_event.pmd.c with a custom command.
[20/323] Generating rte_pmd_bbdev_fpga_5gnr_fec_def with a custom command.
[21/323] Generating rte_pmd_bbdev_fpga_5gnr_fec_mingw with a custom command.
[22/323] Compiling C object 'drivers/a715181@@rte_pmd_octeontx_crypto@sha/meson-generated_.._rte_pmd_octeontx_crypto.pmd.c.o'.
[23/323] Compiling C object 'drivers/a715181@@rte_pmd_sw_event@sta/meson-generated_.._rte_pmd_sw_event.pmd.c.o'.
[24/323] Generating rte_pmd_octeontx2_event.pmd.c with a custom command.
[25/323] Linking static target drivers/librte_pmd_octeontx_crypto.a.
[26/323] Compiling C object 'drivers/a715181@@rte_pmd_sw_event@sha/meson-generated_.._rte_pmd_sw_event.pmd.c.o'.
[27/323] Compiling C object 'drivers/a715181@@rte_pmd_dsw_event@sha/meson-generated_.._rte_pmd_dsw_event.pmd.c.o'.
[28/323] Linking static target drivers/librte_pmd_dsw_event.a.
[29/323] Compiling C object 'drivers/a715181@@rte_pmd_octeontx_event@sta/meson-generated_.._rte_pmd_octeontx_event.pmd.c.o'.
[30/323] Compiling C object 'drivers/a715181@@rte_pmd_octeontx_event@sha/meson-generated_.._rte_pmd_octeontx_event.pmd.c.o'.
[31/323] Linking static target drivers/librte_pmd_sw_event.a.
[32/323] Compiling C object 'drivers/a715181@@rte_pmd_octeontx2_event@sta/meson-generated_.._rte_pmd_octeontx2_event.pmd.c.o'.
[33/323] Compiling C object 'drivers/a715181@@rte_pmd_octeontx2_event@sha/meson-generated_.._rte_pmd_octeontx2_event.pmd.c.o'.
[34/323] Linking static target drivers/librte_pmd_octeontx_event.a.
[35/323] Linking static target drivers/librte_pmd_octeontx2_event.a.
[36/323] Generating rte_pmd_mlx5.pmd.c with a custom command.
[37/323] Compiling C object 'drivers/a715181@@tmp_rte_pmd_dlb2_event@sta/event_dlb2_dlb2.c.o'.
FAILED: drivers/a715181@@tmp_rte_pmd_dlb2_event@sta/event_dlb2_dlb2.c.o 
cc -Idrivers/a715181@@tmp_rte_pmd_dlb2_event@sta -Idrivers -I../drivers -Idrivers/event/dlb2 -I../drivers/event/dlb2 -Ilib/librte_eventdev -I../lib/librte_eventdev -I. -I../ -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_telemetry/../librte_metrics -I../lib/librte_telemetry/../librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_ethdev -I../lib/librte_ethdev -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_timer -I../lib/librte_timer -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -MD -MQ 'drivers/a715181@@tmp_rte_pmd_dlb2_event@sta/event_dlb2_dlb2.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_dlb2_event@sta/event_dlb2_dlb2.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_dlb2_event@sta/event_dlb2_dlb2.c.o' -c ../drivers/event/dlb2/dlb2.c
../drivers/event/dlb2/dlb2.c:63:3: error: ‘struct rte_event_dev_info’ has no member named ‘max_event_port_links’; did you mean ‘max_event_ports’?
  .max_event_port_links = DLB2_MAX_NUM_QIDS_PER_LDB_CQ,
   ^~~~~~~~~~~~~~~~~~~~
   max_event_ports
In file included from ../drivers/event/dlb2/dlb2.c:33:0:
../drivers/event/dlb2/dlb2_priv.h:44:34: warning: initialized field overwritten [-Woverride-init]
 #define DLB2_MAX_NUM_LDB_CREDITS (8 * 1024)
                                  ^
../drivers/event/dlb2/dlb2.c:64:20: note: in expansion of macro ‘DLB2_MAX_NUM_LDB_CREDITS’
  .max_num_events = DLB2_MAX_NUM_LDB_CREDITS,
                    ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/event/dlb2/dlb2_priv.h:44:34: note: (near initialization for ‘evdev_dlb2_default_info.max_num_events’)
 #define DLB2_MAX_NUM_LDB_CREDITS (8 * 1024)
                                  ^
../drivers/event/dlb2/dlb2.c:64:20: note: in expansion of macro ‘DLB2_MAX_NUM_LDB_CREDITS’
  .max_num_events = DLB2_MAX_NUM_LDB_CREDITS,
                    ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/event/dlb2/dlb2.c:65:3: error: ‘struct rte_event_dev_info’ has no member named ‘max_single_link_event_port_queue_pairs’; did you mean ‘max_event_port_dequeue_depth’?
  .max_single_link_event_port_queue_pairs = DLB2_MAX_NUM_DIR_PORTS,
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   max_event_port_dequeue_depth
../drivers/event/dlb2/dlb2.c:66:19: warning: initialized field overwritten [-Woverride-init]
  .event_dev_cap = (RTE_EVENT_DEV_CAP_QUEUE_QOS |
                   ^
../drivers/event/dlb2/dlb2.c:66:19: note: (near initialization for ‘evdev_dlb2_default_info.event_dev_cap’)
../drivers/event/dlb2/dlb2.c: In function ‘dlb2_eventdev_configure’:
../drivers/event/dlb2/dlb2.c:627:31: error: ‘RTE_CPUFLAG_UMWAIT’ undeclared (first use in this function); did you mean ‘RTE_CPUFLAG_EM64T’?
  if (rte_cpu_get_flag_enabled(RTE_CPUFLAG_UMWAIT)) {
                               ^~~~~~~~~~~~~~~~~~
                               RTE_CPUFLAG_EM64T
../drivers/event/dlb2/dlb2.c:627:31: note: each undeclared identifier is reported only once for each function it appears in
../drivers/event/dlb2/dlb2.c:641:31: error: ‘const struct rte_event_dev_config’ has no member named ‘nb_single_link_event_port_queues’
  rsrcs->num_dir_ports = config->nb_single_link_event_port_queues;
                               ^~
../drivers/event/dlb2/dlb2.c: In function ‘dlb2_eventdev_port_default_conf_get’:
../drivers/event/dlb2/dlb2.c:699:11: error: ‘struct rte_event_port_conf’ has no member named ‘event_port_cfg’
  port_conf->event_port_cfg = 0;
           ^~
../drivers/event/dlb2/dlb2.c: In function ‘dlb2_eventdev_port_setup’:
../drivers/event/dlb2/dlb2.c:1506:42: error: ‘const struct rte_event_port_conf’ has no member named ‘event_port_cfg’
  ev_port->qm_port.is_directed = port_conf->event_port_cfg &
                                          ^~
../drivers/event/dlb2/dlb2.c:1507:3: error: ‘RTE_EVENT_PORT_CFG_SINGLE_LINK’ undeclared (first use in this function); did you mean ‘RTE_EVENT_QUEUE_CFG_SINGLE_LINK’?
   RTE_EVENT_PORT_CFG_SINGLE_LINK;
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   RTE_EVENT_QUEUE_CFG_SINGLE_LINK
../drivers/event/dlb2/dlb2.c:1540:14: error: ‘const struct rte_event_port_conf’ has no member named ‘event_port_cfg’
   !(port_conf->event_port_cfg &
              ^~
../drivers/event/dlb2/dlb2.c:1541:5: error: ‘RTE_EVENT_PORT_CFG_DISABLE_IMPL_REL’ undeclared (first use in this function); did you mean ‘RTE_EVENT_PORT_CFG_SINGLE_LINK’?
     RTE_EVENT_PORT_CFG_DISABLE_IMPL_REL);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     RTE_EVENT_PORT_CFG_SINGLE_LINK
[38/323] Compiling C object 'drivers/a715181@@tmp_rte_pmd_dlb2_event@sta/event_dlb2_dlb2_selftest.c.o'.
FAILED: drivers/a715181@@tmp_rte_pmd_dlb2_event@sta/event_dlb2_dlb2_selftest.c.o 
cc -Idrivers/a715181@@tmp_rte_pmd_dlb2_event@sta -Idrivers -I../drivers -Idrivers/event/dlb2 -I../drivers/event/dlb2 -Ilib/librte_eventdev -I../lib/librte_eventdev -I. -I../ -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_telemetry/../librte_metrics -I../lib/librte_telemetry/../librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_ethdev -I../lib/librte_ethdev -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_timer -I../lib/librte_timer -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -MD -MQ 'drivers/a715181@@tmp_rte_pmd_dlb2_event@sta/event_dlb2_dlb2_selftest.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_dlb2_event@sta/event_dlb2_dlb2_selftest.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_dlb2_event@sta/event_dlb2_dlb2_selftest.c.o' -c ../drivers/event/dlb2/dlb2_selftest.c
../drivers/event/dlb2/dlb2_selftest.c: In function ‘test_single_link’:
../drivers/event/dlb2/dlb2_selftest.c:339:8: error: ‘struct rte_event_dev_config’ has no member named ‘nb_single_link_event_port_queues’
  config.nb_single_link_event_port_queues = 1;
        ^
../drivers/event/dlb2/dlb2_selftest.c:359:11: error: ‘struct rte_event_port_conf’ has no member named ‘event_port_cfg’
  port_conf.event_port_cfg = RTE_EVENT_PORT_CFG_SINGLE_LINK;
           ^
../drivers/event/dlb2/dlb2_selftest.c:359:29: error: ‘RTE_EVENT_PORT_CFG_SINGLE_LINK’ undeclared (first use in this function); did you mean ‘RTE_EVENT_QUEUE_CFG_SINGLE_LINK’?
  port_conf.event_port_cfg = RTE_EVENT_PORT_CFG_SINGLE_LINK;
                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                             RTE_EVENT_QUEUE_CFG_SINGLE_LINK
../drivers/event/dlb2/dlb2_selftest.c:359:29: note: each undeclared identifier is reported only once for each function it appears in
../drivers/event/dlb2/dlb2_selftest.c:372:11: error: ‘struct rte_event_port_conf’ has no member named ‘event_port_cfg’
  port_conf.event_port_cfg = 0;
           ^
../drivers/event/dlb2/dlb2_selftest.c: In function ‘test_info_get’:
../drivers/event/dlb2/dlb2_selftest.c:478:8: error: ‘struct rte_event_dev_config’ has no member named ‘nb_single_link_event_port_queues’
  config.nb_single_link_event_port_queues = info.max_event_ports / 2;
        ^
../drivers/event/dlb2/dlb2_selftest.c: In function ‘test_reconfiguration_link’:
../drivers/event/dlb2/dlb2_selftest.c:548:8: error: ‘struct rte_event_dev_config’ has no member named ‘nb_single_link_event_port_queues’
  config.nb_single_link_event_port_queues = 0;
        ^
../drivers/event/dlb2/dlb2_selftest.c:662:8: error: ‘struct rte_event_dev_config’ has no member named ‘nb_single_link_event_port_queues’
  config.nb_single_link_event_port_queues = 2;
        ^
../drivers/event/dlb2/dlb2_selftest.c:671:11: error: ‘struct rte_event_port_conf’ has no member named ‘event_port_cfg’
  port_conf.event_port_cfg = RTE_EVENT_PORT_CFG_SINGLE_LINK;
           ^
../drivers/event/dlb2/dlb2_selftest.c:671:29: error: ‘RTE_EVENT_PORT_CFG_SINGLE_LINK’ undeclared (first use in this function); did you mean ‘RTE_EVENT_QUEUE_CFG_SINGLE_LINK’?
  port_conf.event_port_cfg = RTE_EVENT_PORT_CFG_SINGLE_LINK;
                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                             RTE_EVENT_QUEUE_CFG_SINGLE_LINK
../drivers/event/dlb2/dlb2_selftest.c:759:8: error: ‘struct rte_event_dev_config’ has no member named ‘nb_single_link_event_port_queues’
  config.nb_single_link_event_port_queues = 1;
        ^
../drivers/event/dlb2/dlb2_selftest.c:768:12: error: ‘struct rte_event_port_conf’ has no member named ‘event_port_cfg’
   port_conf.event_port_cfg = 0;
            ^
../drivers/event/dlb2/dlb2_selftest.c:792:11: error: ‘struct rte_event_port_conf’ has no member named ‘event_port_cfg’
  port_conf.event_port_cfg = RTE_EVENT_PORT_CFG_SINGLE_LINK;
           ^
../drivers/event/dlb2/dlb2_selftest.c:833:11: error: ‘struct rte_event_port_conf’ has no member named ‘event_port_cfg’
  port_conf.event_port_cfg = 0;
           ^
../drivers/event/dlb2/dlb2_selftest.c: In function ‘test_load_balanced_traffic’:
../drivers/event/dlb2/dlb2_selftest.c:876:8: error: ‘struct rte_event_dev_config’ has no member named ‘nb_single_link_event_port_queues’
  config.nb_single_link_event_port_queues = 0;
        ^
../drivers/event/dlb2/dlb2_selftest.c: In function ‘test_directed_traffic’:
../drivers/event/dlb2/dlb2_selftest.c:1000:8: error: ‘struct rte_event_dev_config’ has no member named ‘nb_single_link_event_port_queues’
  config.nb_single_link_event_port_queues = 1;
        ^
../drivers/event/dlb2/dlb2_selftest.c:1021:11: error: ‘struct rte_event_port_conf’ has no member named ‘event_port_cfg’
  port_conf.event_port_cfg = RTE_EVENT_QUEUE_CFG_SINGLE_LINK;
           ^
../drivers/event/dlb2/dlb2_selftest.c: In function ‘test_deferred_sched’:
../drivers/event/dlb2/dlb2_selftest.c:1134:8: error: ‘struct rte_event_dev_config’ has no member named ‘nb_single_link_event_port_queues’
  config.nb_single_link_event_port_queues = 0;
        ^
../drivers/event/dlb2/dlb2_selftest.c: In function ‘test_delayed_pop’:
../drivers/event/dlb2/dlb2_selftest.c:1286:8: error: ‘struct rte_event_dev_config’ has no member named ‘nb_single_link_event_port_queues’
  config.nb_single_link_event_port_queues = 0;
        ^
../drivers/event/dlb2/dlb2_selftest.c:1313:11: error: ‘struct rte_event_port_conf’ has no member named ‘event_port_cfg’
  port_conf.event_port_cfg = RTE_EVENT_PORT_CFG_DISABLE_IMPL_REL;
           ^
../drivers/event/dlb2/dlb2_selftest.c:1313:29: error: ‘RTE_EVENT_PORT_CFG_DISABLE_IMPL_REL’ undeclared (first use in this function); did you mean ‘RTE_EVENT_QUEUE_CFG_ALL_TYPES’?
  port_conf.event_port_cfg = RTE_EVENT_PORT_CFG_DISABLE_IMPL_REL;
                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                             RTE_EVENT_QUEUE_CFG_ALL_TYPES
[39/323] Compiling C object 'drivers/a715181@@rte_pmd_mlx5@sta/meson-generated_.._rte_pmd_mlx5.pmd.c.o'.
[40/323] Generating rte_pmd_octeontx_crypto.sym_chk with a meson_exe.py custom command.
[41/323] Generating rte_pmd_sw_event.sym_chk with a meson_exe.py custom command.
[42/323] Generating rte_pmd_dsw_event.sym_chk with a meson_exe.py custom command.
[43/323] Generating rte_pmd_octeontx_event.sym_chk with a meson_exe.py custom command.
[44/323] Compiling C object 'app/a172ced@@dpdk-test-acl@exe/test-acl_main.c.o'.
[45/323] Compiling C object 'app/a172ced@@dpdk-proc-info@exe/proc-info_main.c.o'.
[46/323] Compiling C object 'app/a172ced@@dpdk-test-compress-perf@exe/test-compress-perf_comp_perf_test_throughput.c.o'.
[47/323] Generating rte_pmd_octeontx2_event.sym_chk with a meson_exe.py custom command.
[48/323] Compiling C object 'drivers/a715181@@tmp_rte_pmd_bbdev_fpga_lte_fec@sta/baseband_fpga_lte_fec_fpga_lte_fec.c.o'.
[49/323] Compiling C object 'drivers/a715181@@tmp_rte_pmd_bbdev_fpga_5gnr_fec@sta/baseband_fpga_5gnr_fec_rte_fpga_5gnr_fec.c.o'.
[50/323] Compiling C object 'app/a172ced@@dpdk-test-compress-perf@exe/test-compress-perf_comp_perf_test_cyclecount.c.o'.
[51/323] Compiling C object 'app/a172ced@@dpdk-test-bbdev@exe/test-bbdev_test_bbdev_vector.c.o'.
[52/323] Compiling C object 'app/a172ced@@dpdk-pdump@exe/pdump_main.c.o'.
[53/323] Compiling C object 'drivers/a715181@@tmp_rte_pmd_bbdev_null@sta/baseband_null_bbdev_null.c.o'.
[54/323] Compiling C object 'drivers/a715181@@tmp_rte_pmd_bbdev_turbo_sw@sta/baseband_turbo_sw_bbdev_turbo_software.c.o'.
ninja: build stopped: subcommand failed.