* compilation|FAILURE| pw(131586) sid(29539) job(PER_PATCH_BUILD9069)[v1, 7/7] baseband/acc: add configure helper for VRB2
@ 2023-09-19 22:41 sys_stv
0 siblings, 0 replies; only message in thread
From: sys_stv @ 2023-09-19 22:41 UTC (permalink / raw)
To: test-report, nicolas.chautru
[-- Attachment #1: Type: text/plain, Size: 913059 bytes --]
Test-Label: Intel-compilation
Test-Status: FAILURE
http://dpdk.org/patch/131586
_Compilation issues_
Submitter: Nicolas Chautru <nicolas.chautru@intel.com>
Date: 2023-09-19 01:21:36
Reply_mail: <20230919012136.2818396-8-nicolas.chautru@intel.com>
DPDK git baseline: Repo:dpdk-next-baseband, CommitID: d06a259d243261c0ef416a6ce5fb39c5e5924645
Meson Build Summary: 25 Builds Done, 0 Successful, 25 Failures, 0 Blocked
+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
| os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte |
+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
| OpenAnolis8.8-64 | fail | | | | | | |
| FreeBSD13-64 | fail | fail | | fail | fail | | |
| RHEL92-64 | fail | fail | | fail | fail | | |
| SUSE15-64 | fail | fail | | | | | |
| CBL-Mariner2.0-64 | fail | | | | | | |
| UB2004-64 | fail | | | | | | |
| UB2204-32 | fail | | | | | | |
| RHEL87-64 | fail | | | | | | |
| UB2204-64 | fail | fail | | | | fail | fail |
| CentOS79-64 | fail | | | | | | |
| RHEL92-64Rt | fail | | | | | | |
| UB2304-64 | fail | | | | | | |
| FC38-64 | fail | fail | | | | | |
| UB2204-64Rt | fail | | | | | | |
+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
Comments:
Because of DPDK bug (https://bugs.dpdk.org/show_bug.cgi?id=928),
All the dpdk-next-* branch add `Ddisable_drivers=event/cnxk` option when build with ICC complier.
Test environment and configuration as below:
OS: OpenAnolis8.8-64
Kernel Version: 5.10.134-13.an8.x86_64
GCC Version: gcc (GCC) 8.5.0 20210514 (Anolis 8.5.0-10.0.3)
Clang Version: 13.0.1 (Anolis 13.0.1-2.0.2.module+an8.7.0+10996+1588f068)
x86_64-native-linuxapp-gcc
OS: FreeBSD13-64
Kernel Version: 13.2-RELEASE
GCC Version: gcc (FreeBSD Ports Collection) 12.2.0
Clang Version: 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c)
x86_64-native-bsdapp-gcc
x86_64-native-bsdapp-clang
x86_64-native-bsdapp-gcc+shared
x86_64-native-bsdapp-gcc+debug
OS: RHEL92-64
Kernel Version: 5.14.0-284.11.1.el9_2.x86_64
GCC Version: gcc (GCC) 11.3.1 20221121 (Red Hat 11.3.1-4)
Clang Version: 15.0.7 (Red Hat 15.0.7-2.el9)
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-gcc+shared
x86_64-native-linuxapp-gcc+debug
OS: SUSE15-64
Kernel Version: 5.14.21-150500.53-default
GCC Version: gcc (SUSE Linux) 7.5.0
Clang Version: 15.0.7
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-gcc
OS: CBL-Mariner2.0-64
Kernel Version: 5.15.55.1_2e9a4f9+
GCC Version: gcc (GCC) 11.2.0
Clang Version: NA
x86_64-native-linuxapp-gcc
OS: UB2004-64
Kernel Version: 5.8.0-48-generic
GCC Version: gcc (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0
Clang Version: 10.0.0-4ubuntu1
x86_64-native-linuxapp-gcc
OS: UB2204-32
Kernel Version: 5.15.0-58-generic
GCC Version: gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Clang Version: NA
i686-native-linuxapp-gcc
OS: RHEL87-64
Kernel Version: 4.18.0-425.3.1.el8.x86_64
GCC Version: gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-15)
Clang Version: NA
x86_64-native-linuxapp-gcc
OS: UB2204-64
Kernel Version: 5.15.0-58-generic
GCC Version: gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Clang Version: 14.0.0-1ubuntu1.1
x86_64-native-linuxapp-gcc+16byte
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-doc
OS: CentOS79-64
Kernel Version: 3.10.0-1160.81.1.el7.x86_64
GCC Version: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44)
Clang Version: 3.4.2 (tags/RELEASE_34/dot2-final)
x86_64-native-linuxapp-gcc
OS: RHEL92-64Rt
Kernel Version: 5.14.0-284.11.1.rt14.296.el9_2.x86_64
GCC Version: gcc (GCC) 11.3.1 20221121 (Red Hat 11.3.1-4)
Clang Version: 15.0.7 (Red Hat 15.0.7-2.el9)
x86_64-native-linuxapp-gcc
OS: UB2304-64
Kernel Version: 6.2.0-20-generic
GCC Version: gcc (Ubuntu 12.2.0-17ubuntu1) 12.2.0
Clang Version: NA
x86_64-native-linuxapp-gcc
OS: FC38-64
Kernel Version: 6.2.9-300.fc38.x86_64
GCC Version: gcc (GCC) 13.0.1 20230401 (Red Hat 13.0.1-0)
Clang Version: 16.0.0 (Fedora 16.0.0-2.fc38)
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
OS: UB2204-64Rt
Kernel Version: 5.17.5-051705-generic
GCC Version: gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Clang Version: 14.0.0-1ubuntu1.1
x86_64-native-linuxapp-gcc
*Build Failed #1:
OS: OpenAnolis8.8-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o
gcc -Idrivers/libtmp_rte_baseband_acc.a.p -Idrivers -I../drivers -Idrivers/baseband/acc -I../drivers/baseband/acc -Ilib/bbdev -I../lib/bbdev -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/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -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-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.bb.acc -MD -MQ drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o -MF drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o.d -o drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o -c ../drivers/baseband/acc/rte_vrb_pmd.c
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_queue_setup’:
../drivers/baseband/acc/rte_vrb_pmd.c:1037:29: error: ‘RTE_BBDEV_OP_MLDTS’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_OP_FFT’?
else if (conf->op_type == RTE_BBDEV_OP_MLDTS)
^~~~~~~~~~~~~~~~~~
RTE_BBDEV_OP_FFT
../drivers/baseband/acc/rte_vrb_pmd.c:1037:29: note: each undeclared identifier is reported only once for each function it appears in
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_print_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:1095:24: error: ‘RTE_BBDEV_OP_MLDTS’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_OP_FFT’?
} else if (op_type == RTE_BBDEV_OP_MLDTS) {
^~~~~~~~~~~~~~~~~~
RTE_BBDEV_OP_FFT
In file included from ../drivers/baseband/acc/rte_vrb_pmd.c:22:
../drivers/baseband/acc/rte_vrb_pmd.c:1099:13: error: dereferencing pointer to incomplete type ‘struct rte_bbdev_mldts_op’
op_mldts->mldts.num_rbs, op_mldts->mldts.num_layers,
^~
../drivers/baseband/acc/vrb_pmd.h:18:5: note: in definition of macro ‘rte_bbdev_log’
##__VA_ARGS__)
^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dev_info_get’:
../drivers/baseband/acc/rte_vrb_pmd.c:1332:5: error: ‘RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION’?
RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION
../drivers/baseband/acc/rte_vrb_pmd.c:1366:12: error: ‘RTE_BBDEV_OP_MLDTS’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_OP_FFT’?
.type = RTE_BBDEV_OP_MLDTS,
^~~~~~~~~~~~~~~~~~
RTE_BBDEV_OP_FFT
../drivers/baseband/acc/rte_vrb_pmd.c:1369:7: error: ‘RTE_BBDEV_MLDTS_REP’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_DEV_RESET’?
RTE_BBDEV_MLDTS_REP,
^~~~~~~~~~~~~~~~~~~
RTE_BBDEV_DEV_RESET
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_fcw_ld_fill’:
../drivers/baseband/acc/rte_vrb_pmd.c:1972:46: error: ‘RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION’?
} else if (check_bit(op->ldpc_dec.op_flags, RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION)) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_enc_one_op_cb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3373:43: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
^~~~~~~~~~~~~~~~~~~~~~
RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_dequeue_ldpc_enc_one_op_tb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3425:35: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
^~~~~~~~~~~~~~~~~~~~~~
RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_enc_one_op_tb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3493:44: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
^~~~~~~~~~~~~~~~~~~~~~
RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_dec_one_op_cb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3540:35: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
^~~~~~~~~~~~~~~~~~~~~~
RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_ldpc_dec_one_op_cb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3595:35: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
^~~~~~~~~~~~~~~~~~~~~~
RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_dec_one_op_tb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3677:44: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
^~~~~~~~~~~~~~~~~~~~~~
RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_dma_desc_fft_fill’:
../drivers/baseband/acc/rte_vrb_pmd.c:3990:44: error: ‘RTE_BBDEV_FFT_DEWINDOWING’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_FFT_WINDOWING’?
bool win_en = check_bit(op->fft.op_flags, RTE_BBDEV_FFT_DEWINDOWING);
^~~~~~~~~~~~~~~~~~~~~~~~~
RTE_BBDEV_FFT_WINDOWING
../drivers/baseband/acc/rte_vrb_pmd.c:4016:18: error: ‘RTE_BBDEV_MAX_CS’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_MAX_CS_2’?
for (i = 0; i < RTE_BBDEV_MAX_CS; i++)
^~~~~~~~~~~~~~~~
RTE_BBDEV_MAX_CS_2
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_enqueue_fft_one_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4049:16: error: ‘struct rte_bbdev_op_fft’ has no member named ‘dewindowing_input’; did you mean ‘window_index’?
win = op->fft.dewindowing_input.data;
^~~~~~~~~~~~~~~~~
window_index
../drivers/baseband/acc/rte_vrb_pmd.c:4053:23: error: ‘struct rte_bbdev_op_fft’ has no member named ‘dewindowing_input’; did you mean ‘window_index’?
win_offset = op->fft.dewindowing_input.offset;
^~~~~~~~~~~~~~~~~
window_index
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_fft_one_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4142:35: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
^~~~~~~~~~~~~~~~~~~~~~
RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4192:28: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
vrb2_fcw_mldts_fill(struct rte_bbdev_mldts_op *op, struct acc_fcw_mldts *fcw)
^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_fcw_mldts_fill’:
../drivers/baseband/acc/rte_vrb_pmd.c:4194:15: error: dereferencing pointer to incomplete type ‘struct rte_bbdev_mldts_op’
fcw->nrb = op->mldts.num_rbs;
^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4213:33: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
vrb2_dma_desc_mldts_fill(struct rte_bbdev_mldts_op *op,
^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_dma_desc_mldts_fill’:
../drivers/baseband/acc/rte_vrb_pmd.c:4226:8: error: dereferencing pointer to incomplete type ‘struct rte_bbdev_mldts_op’
if (op->mldts.r_rep > 5)
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4234:31: error: ‘RTE_BBDEV_SCPERRB’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_CRC_ERROR’?
sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB * (op->mldts.c_rep + 1);
^~~~~~~~~~~~~~~~~
RTE_BBDEV_CRC_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c:4221:11: error: variable ‘sc_factor_per_rrep’ set but not used [-Werror=unused-but-set-variable]
uint16_t sc_factor_per_rrep[VRB2_MLD_RREP_SIZE] = {12, 6, 4, 3, 0, 2};
^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4220:11: error: variable ‘rsize_per_re’ set but not used [-Werror=unused-but-set-variable]
uint16_t rsize_per_re[VRB2_MLD_LAY_SIZE] = {14, 26, 42};
^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4219:11: error: variable ‘qsize_per_re’ set but not used [-Werror=unused-but-set-variable]
uint16_t qsize_per_re[VRB2_MLD_LAY_SIZE] = {8, 12, 16}; /* Layer 2 to 4. */
^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4268:36: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
vrb2_check_mld_r_constraint(struct rte_bbdev_mldts_op *op) {
^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_check_mld_r_constraint’:
../drivers/baseband/acc/rte_vrb_pmd.c:4275:8: error: dereferencing pointer to incomplete type ‘struct rte_bbdev_mldts_op’
if (op->mldts.c_rep == 0)
^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4289:52: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
enqueue_mldts_split_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘enqueue_mldts_split_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4304:14: error: dereferencing pointer to incomplete type ‘struct rte_bbdev_mldts_op’
input_q = op->mldts.qhy_input.data;
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4311:22: error: passing argument 1 of ‘vrb2_fcw_mldts_fill’ from incompatible pointer type [-Werror=incompatible-pointer-types]
vrb2_fcw_mldts_fill(op, fcw);
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4192:48: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
vrb2_fcw_mldts_fill(struct rte_bbdev_mldts_op *op, struct acc_fcw_mldts *fcw)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c:4324:31: error: ‘RTE_BBDEV_SCPERRB’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_CRC_ERROR’?
sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB; /* C rep forced to zero. */
^~~~~~~~~~~~~~~~~
RTE_BBDEV_CRC_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c:4294:11: error: variable ‘sc_factor_per_rrep’ set but not used [-Werror=unused-but-set-variable]
uint16_t sc_factor_per_rrep[VRB2_MLD_RREP_SIZE] = {12, 6, 4, 3, 0, 2};
^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4293:11: error: variable ‘rsize_per_re’ set but not used [-Werror=unused-but-set-variable]
uint16_t rsize_per_re[VRB2_MLD_LAY_SIZE] = {14, 26, 42};
^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4292:11: error: variable ‘qsize_per_re’ set but not used [-Werror=unused-but-set-variable]
uint16_t qsize_per_re[VRB2_MLD_LAY_SIZE] = {8, 12, 16}; /* Layer 2 to 4. */
^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4371:50: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
enqueue_mldts_one_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘enqueue_mldts_one_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4382:14: error: dereferencing pointer to incomplete type ‘struct rte_bbdev_mldts_op’
input_q = op->mldts.qhy_input.data;
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4388:22: error: passing argument 1 of ‘vrb2_fcw_mldts_fill’ from incompatible pointer type [-Werror=incompatible-pointer-types]
vrb2_fcw_mldts_fill(op, fcw);
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4192:48: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
vrb2_fcw_mldts_fill(struct rte_bbdev_mldts_op *op, struct acc_fcw_mldts *fcw)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c:4389:27: error: passing argument 1 of ‘vrb2_dma_desc_mldts_fill’ from incompatible pointer type [-Werror=incompatible-pointer-types]
vrb2_dma_desc_mldts_fill(op, &desc->req, input_q, input_r, output,
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4213:53: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
vrb2_dma_desc_mldts_fill(struct rte_bbdev_mldts_op *op,
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4401:10: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_bbdev_mldts_op **ops, uint16_t num)
^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_enqueue_mldts’:
../drivers/baseband/acc/rte_vrb_pmd.c:4415:46: error: passing argument 1 of ‘vrb2_check_mld_r_constraint’ from incompatible pointer type [-Werror=incompatible-pointer-types]
as_one_op = vrb2_check_mld_r_constraint(ops[i]);
~~~^~~
../drivers/baseband/acc/rte_vrb_pmd.c:4268:56: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
vrb2_check_mld_r_constraint(struct rte_bbdev_mldts_op *op) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c:4416:39: error: dereferencing pointer to incomplete type ‘struct rte_bbdev_mldts_op’
descs_in_op = as_one_op ? 1 : ops[i]->mldts.c_rep + 1;
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4426:37: error: passing argument 2 of ‘enqueue_mldts_one_op’ from incompatible pointer type [-Werror=incompatible-pointer-types]
ret = enqueue_mldts_one_op(q, ops[i], enqueued_descs);
~~~^~~
../drivers/baseband/acc/rte_vrb_pmd.c:4371:70: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
enqueue_mldts_one_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c:4428:39: error: passing argument 2 of ‘enqueue_mldts_split_op’ from incompatible pointer type [-Werror=incompatible-pointer-types]
ret = enqueue_mldts_split_op(q, ops[i], enqueued_descs);
~~~^~~
../drivers/baseband/acc/rte_vrb_pmd.c:4289:72: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
enqueue_mldts_split_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4455:31: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct acc_queue *q, struct rte_bbdev_mldts_op **ref_op,
^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘dequeue_mldts_one_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4499:4: error: dereferencing pointer to incomplete type ‘struct rte_bbdev_mldts_op’
op->status = 0;
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4508:36: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
^~~~~~~~~~~~~~~~~~~~~~
RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4531:10: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_bbdev_mldts_op **ops, uint16_t num)
^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_dequeue_mldts’:
../drivers/baseband/acc/rte_vrb_pmd.c:4542:41: error: passing argument 3 of ‘dequeue_mldts_one_op’ from incompatible pointer type [-Werror=incompatible-pointer-types]
ret = dequeue_mldts_one_op(q_data, q, &ops[i], dequeued_cbs, &aq_dequeued);
^~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4455:52: note: expected ‘struct rte_bbdev_mldts_op **’ but argument is of type ‘struct rte_bbdev_mldts_op **’
struct acc_queue *q, struct rte_bbdev_mldts_op **ref_op,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_bbdev_init’:
../drivers/baseband/acc/rte_vrb_pmd.c:4573:7: error: ‘struct rte_bbdev’ has no member named ‘enqueue_mldts_ops’; did you mean ‘enqueue_dec_ops’?
dev->enqueue_mldts_ops = vrb2_enqueue_mldts;
^~~~~~~~~~~~~~~~~
enqueue_dec_ops
../drivers/baseband/acc/rte_vrb_pmd.c:4574:7: error: ‘struct rte_bbdev’ has no member named ‘dequeue_mldts_ops’; did you mean ‘dequeue_dec_ops’?
dev->dequeue_mldts_ops = vrb2_dequeue_mldts;
^~~~~~~~~~~~~~~~~
dequeue_dec_ops
cc1: all warnings being treated as errors
[2238/2761] Generating drivers/rte_event_sw.pmd.c with a custom command
[2239/2761] Generating drivers/rte_crypto_cnxk.sym_chk with a custom command (wrapped by meson to capture output)
[2240/2761] Compiling C object drivers/libtmp_rte_baseband_la12xx.a.p/baseband_la12xx_bbdev_la12xx.c.o
[2241/2761] Generating drivers/rte_crypto_octeontx.sym_chk with a custom command (wrapped by meson to capture output)
[2242/2761] Compiling C object drivers/libtmp_rte_event_octeontx.a.p/event_octeontx_ssovf_worker.c.o
[2243/2761] Compiling C object drivers/libtmp_rte_event_octeontx.a.p/event_octeontx_ssovf_evdev_selftest.c.o
[2244/2761] Compiling C object drivers/libtmp_rte_baseband_fpga_lte_fec.a.p/baseband_fpga_lte_fec_fpga_lte_fec.c.o
[2245/2761] Compiling C object drivers/libtmp_rte_baseband_fpga_5gnr_fec.a.p/baseband_fpga_5gnr_fec_rte_fpga_5gnr_fec.c.o
[2246/2761] Compiling C object drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_acc100_pmd.c.o
ninja: build stopped
*Build Failed #2:
OS: FreeBSD13-64
Target: x86_64-native-bsdapp-gcc
FAILED: drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o
gcc -Idrivers/libtmp_rte_baseband_acc.a.p -Idrivers -I../drivers -Idrivers/baseband/acc -I../drivers/baseband/acc -Ilib/bbdev -I../lib/bbdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/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/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -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-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.bb.acc -MD -MQ drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o -MF drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o.d -o drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o -c ../drivers/baseband/acc/rte_vrb_pmd.c
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb_queue_setup':
../drivers/baseband/acc/rte_vrb_pmd.c:1037:36: error: 'RTE_BBDEV_OP_MLDTS' undeclared (first use in this function); did you mean 'RTE_BBDEV_OP_FFT'?
1037 | else if (conf->op_type == RTE_BBDEV_OP_MLDTS)
| ^~~~~~~~~~~~~~~~~~
| RTE_BBDEV_OP_FFT
../drivers/baseband/acc/rte_vrb_pmd.c:1037:36: note: each undeclared identifier is reported only once for each function it appears in
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb_print_op':
../drivers/baseband/acc/rte_vrb_pmd.c:1095:31: error: 'RTE_BBDEV_OP_MLDTS' undeclared (first use in this function); did you mean 'RTE_BBDEV_OP_FFT'?
1095 | } else if (op_type == RTE_BBDEV_OP_MLDTS) {
| ^~~~~~~~~~~~~~~~~~
| RTE_BBDEV_OP_FFT
In file included from ../drivers/baseband/acc/rte_vrb_pmd.c:22:
../drivers/baseband/acc/rte_vrb_pmd.c:1099:41: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
1099 | op_mldts->mldts.num_rbs, op_mldts->mldts.num_layers,
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro 'rte_bbdev_log'
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1099:66: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
1099 | op_mldts->mldts.num_rbs, op_mldts->mldts.num_layers,
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro 'rte_bbdev_log'
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1100:41: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
1100 | op_mldts->mldts.r_rep,
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro 'rte_bbdev_log'
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1101:41: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
1101 | op_mldts->mldts.c_rep, op_mldts->mldts.op_flags);
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro 'rte_bbdev_log'
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1101:64: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
1101 | op_mldts->mldts.c_rep, op_mldts->mldts.op_flags);
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro 'rte_bbdev_log'
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb_dev_info_get':
../drivers/baseband/acc/rte_vrb_pmd.c:1332:33: error: 'RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION' undeclared (first use in this function); did you mean 'RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION'?
1332 | RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION
../drivers/baseband/acc/rte_vrb_pmd.c:1366:35: error: 'RTE_BBDEV_OP_MLDTS' undeclared (first use in this function); did you mean 'RTE_BBDEV_OP_FFT'?
1366 | .type = RTE_BBDEV_OP_MLDTS,
| ^~~~~~~~~~~~~~~~~~
| RTE_BBDEV_OP_FFT
../drivers/baseband/acc/rte_vrb_pmd.c:1369:49: error: 'RTE_BBDEV_MLDTS_REP' undeclared (first use in this function)
1369 | RTE_BBDEV_MLDTS_REP,
| ^~~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb2_fcw_ld_fill':
../drivers/baseband/acc/rte_vrb_pmd.c:1972:53: error: 'RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION' undeclared (first use in this function); did you mean 'RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION'?
1972 | } else if (check_bit(op->ldpc_dec.op_flags, RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION)) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb_dequeue_enc_one_op_cb':
../drivers/baseband/acc/rte_vrb_pmd.c:3373:50: error: 'RTE_BBDEV_ENGINE_ERROR' undeclared (first use in this function); did you mean 'RTE_BBDEV_EVENT_ERROR'?
3373 | op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb2_dequeue_ldpc_enc_one_op_tb':
../drivers/baseband/acc/rte_vrb_pmd.c:3425:42: error: 'RTE_BBDEV_ENGINE_ERROR' undeclared (first use in this function); did you mean 'RTE_BBDEV_EVENT_ERROR'?
3425 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb_dequeue_enc_one_op_tb':
../drivers/baseband/acc/rte_vrb_pmd.c:3493:58: error: 'RTE_BBDEV_ENGINE_ERROR' undeclared (first use in this function); did you mean 'RTE_BBDEV_EVENT_ERROR'?
3493 | op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb_dequeue_dec_one_op_cb':
../drivers/baseband/acc/rte_vrb_pmd.c:3540:42: error: 'RTE_BBDEV_ENGINE_ERROR' undeclared (first use in this function); did you mean 'RTE_BBDEV_EVENT_ERROR'?
3540 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb_dequeue_ldpc_dec_one_op_cb':
../drivers/baseband/acc/rte_vrb_pmd.c:3595:42: error: 'RTE_BBDEV_ENGINE_ERROR' undeclared (first use in this function); did you mean 'RTE_BBDEV_EVENT_ERROR'?
3595 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb_dequeue_dec_one_op_tb':
../drivers/baseband/acc/rte_vrb_pmd.c:3677:58: error: 'RTE_BBDEV_ENGINE_ERROR' undeclared (first use in this function); did you mean 'RTE_BBDEV_EVENT_ERROR'?
3677 | op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb2_dma_desc_fft_fill':
../drivers/baseband/acc/rte_vrb_pmd.c:3990:51: error: 'RTE_BBDEV_FFT_DEWINDOWING' undeclared (first use in this function); did you mean 'RTE_BBDEV_FFT_WINDOWING'?
3990 | bool win_en = check_bit(op->fft.op_flags, RTE_BBDEV_FFT_DEWINDOWING);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_FFT_WINDOWING
../drivers/baseband/acc/rte_vrb_pmd.c:4016:25: error: 'RTE_BBDEV_MAX_CS' undeclared (first use in this function); did you mean 'RTE_BBDEV_MAX_CS_2'?
4016 | for (i = 0; i < RTE_BBDEV_MAX_CS; i++)
| ^~~~~~~~~~~~~~~~
| RTE_BBDEV_MAX_CS_2
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb_enqueue_fft_one_op':
../drivers/baseband/acc/rte_vrb_pmd.c:4049:22: error: 'struct rte_bbdev_op_fft' has no member named 'dewindowing_input'
4049 | win = op->fft.dewindowing_input.data;
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4053:29: error: 'struct rte_bbdev_op_fft' has no member named 'dewindowing_input'
4053 | win_offset = op->fft.dewindowing_input.offset;
| ^
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb_dequeue_fft_one_op':
../drivers/baseband/acc/rte_vrb_pmd.c:4142:42: error: 'RTE_BBDEV_ENGINE_ERROR' undeclared (first use in this function); did you mean 'RTE_BBDEV_EVENT_ERROR'?
4142 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4192:28: error: 'struct rte_bbdev_mldts_op' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4192 | vrb2_fcw_mldts_fill(struct rte_bbdev_mldts_op *op, struct acc_fcw_mldts *fcw)
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb2_fcw_mldts_fill':
../drivers/baseband/acc/rte_vrb_pmd.c:4194:22: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4194 | fcw->nrb = op->mldts.num_rbs;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4195:26: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4195 | fcw->NLayers = op->mldts.num_layers - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4196:25: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4196 | fcw->Qmod0 = (op->mldts.q_m[0] >> 1) - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4197:25: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4197 | fcw->Qmod1 = (op->mldts.q_m[1] >> 1) - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4198:25: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4198 | fcw->Qmod2 = (op->mldts.q_m[2] >> 1) - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4199:25: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4199 | fcw->Qmod3 = (op->mldts.q_m[3] >> 1) - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4201:15: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4201 | if (op->mldts.num_layers == 2) {
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4205:15: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4205 | if (op->mldts.num_layers == 3)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4207:23: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4207 | fcw->Rrep = op->mldts.r_rep;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4208:23: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4208 | fcw->Crep = op->mldts.c_rep;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4213:33: error: 'struct rte_bbdev_mldts_op' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4213 | vrb2_dma_desc_mldts_fill(struct rte_bbdev_mldts_op *op,
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb2_dma_desc_mldts_fill':
../drivers/baseband/acc/rte_vrb_pmd.c:4226:15: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4226 | if (op->mldts.r_rep > 5)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4227:19: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4227 | op->mldts.r_rep = 5;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4228:15: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4228 | if (op->mldts.num_layers < 2)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4229:19: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4229 | op->mldts.num_layers = 2;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4230:15: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4230 | if (op->mldts.num_layers > 4)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4231:19: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4231 | op->mldts.num_layers = 4;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4232:27: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4232 | for (i = 0; i < op->mldts.num_layers; i++)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4233:37: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4233 | outsize_per_re += op->mldts.q_m[i];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4234:20: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4234 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB * (op->mldts.c_rep + 1);
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4234:38: error: 'RTE_BBDEV_SCPERRB' undeclared (first use in this function); did you mean 'RTE_BBDEV_CRC_ERROR'?
4234 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB * (op->mldts.c_rep + 1);
| ^~~~~~~~~~~~~~~~~
| RTE_BBDEV_CRC_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c:4234:61: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4234 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB * (op->mldts.c_rep + 1);
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4235:19: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4235 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4235:58: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4235 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4236:33: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4236 | q_size = qsize_per_re[op->mldts.num_layers - 2] * sc_num;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4237:33: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4237 | r_size = rsize_per_re[op->mldts.num_layers - 2] * r_num;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4221:18: error: variable 'sc_factor_per_rrep' set but not used [-Werror=unused-but-set-variable]
4221 | uint16_t sc_factor_per_rrep[VRB2_MLD_RREP_SIZE] = {12, 6, 4, 3, 0, 2};
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4220:18: error: variable 'rsize_per_re' set but not used [-Werror=unused-but-set-variable]
4220 | uint16_t rsize_per_re[VRB2_MLD_LAY_SIZE] = {14, 26, 42};
| ^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4219:18: error: variable 'qsize_per_re' set but not used [-Werror=unused-but-set-variable]
4219 | uint16_t qsize_per_re[VRB2_MLD_LAY_SIZE] = {8, 12, 16}; /* Layer 2 to 4. */
| ^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4268:36: error: 'struct rte_bbdev_mldts_op' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4268 | vrb2_check_mld_r_constraint(struct rte_bbdev_mldts_op *op) {
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb2_check_mld_r_constraint':
../drivers/baseband/acc/rte_vrb_pmd.c:4275:15: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4275 | if (op->mldts.c_rep == 0)
| ^~
In file included from ../drivers/baseband/acc/rte_vrb_pmd.c:7:
../drivers/baseband/acc/rte_vrb_pmd.c:4278:31: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4278 | layer_idx = RTE_MIN(op->mldts.num_layers - VRB2_MLD_MIN_LAYER,
| ^~
../lib/eal/include/rte_common.h:615:25: note: in definition of macro 'RTE_MIN'
615 | typeof (a) _a = (a); \
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4278:31: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4278 | layer_idx = RTE_MIN(op->mldts.num_layers - VRB2_MLD_MIN_LAYER,
| ^~
../lib/eal/include/rte_common.h:615:34: note: in definition of macro 'RTE_MIN'
615 | typeof (a) _a = (a); \
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4280:30: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4280 | rrep_idx = RTE_MIN(op->mldts.r_rep, VRB2_MLD_MAX_RREP);
| ^~
../lib/eal/include/rte_common.h:615:25: note: in definition of macro 'RTE_MIN'
615 | typeof (a) _a = (a); \
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4280:30: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4280 | rrep_idx = RTE_MIN(op->mldts.r_rep, VRB2_MLD_MAX_RREP);
| ^~
../lib/eal/include/rte_common.h:615:34: note: in definition of macro 'RTE_MIN'
615 | typeof (a) _a = (a); \
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4284:19: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4284 | return (op->mldts.num_rbs <= max_rb[layer_idx][rrep_idx]);
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4289:52: error: 'struct rte_bbdev_mldts_op' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4289 | enqueue_mldts_split_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'enqueue_mldts_split_op':
../drivers/baseband/acc/rte_vrb_pmd.c:4304:21: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4304 | input_q = op->mldts.qhy_input.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4305:21: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4305 | input_r = op->mldts.r_input.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4306:20: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4306 | output = op->mldts.output.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4307:23: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4307 | in_offset = op->mldts.qhy_input.offset;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4308:24: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4308 | out_offset = op->mldts.output.offset;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4309:22: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4309 | num_syms = op->mldts.c_rep + 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4311:29: error: passing argument 1 of 'vrb2_fcw_mldts_fill' from incompatible pointer type [-Werror=incompatible-pointer-types]
4311 | vrb2_fcw_mldts_fill(op, fcw);
| ^~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4192:48: note: expected 'struct rte_bbdev_mldts_op *' but argument is of type 'struct rte_bbdev_mldts_op *'
4192 | vrb2_fcw_mldts_fill(struct rte_bbdev_mldts_op *op, struct acc_fcw_mldts *fcw)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c:4315:15: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4315 | if (op->mldts.r_rep > 5)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4316:19: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4316 | op->mldts.r_rep = 5;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4317:15: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4317 | if (op->mldts.num_layers < 2)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4318:19: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4318 | op->mldts.num_layers = 2;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4319:15: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4319 | if (op->mldts.num_layers > 4)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4320:19: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4320 | op->mldts.num_layers = 4;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4322:27: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4322 | for (i = 0; i < op->mldts.num_layers; i++)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4323:37: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4323 | outsize_per_re += op->mldts.q_m[i];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4324:20: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4324 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB; /* C rep forced to zero. */
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4324:38: error: 'RTE_BBDEV_SCPERRB' undeclared (first use in this function); did you mean 'RTE_BBDEV_CRC_ERROR'?
4324 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB; /* C rep forced to zero. */
| ^~~~~~~~~~~~~~~~~
| RTE_BBDEV_CRC_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c:4325:19: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4325 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4325:58: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4325 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4326:33: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4326 | q_size = qsize_per_re[op->mldts.num_layers - 2] * sc_num;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4327:33: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4327 | r_size = rsize_per_re[op->mldts.num_layers - 2] * r_num;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4294:18: error: variable 'sc_factor_per_rrep' set but not used [-Werror=unused-but-set-variable]
4294 | uint16_t sc_factor_per_rrep[VRB2_MLD_RREP_SIZE] = {12, 6, 4, 3, 0, 2};
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4293:18: error: variable 'rsize_per_re' set but not used [-Werror=unused-but-set-variable]
4293 | uint16_t rsize_per_re[VRB2_MLD_LAY_SIZE] = {14, 26, 42};
| ^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4292:18: error: variable 'qsize_per_re' set but not used [-Werror=unused-but-set-variable]
4292 | uint16_t qsize_per_re[VRB2_MLD_LAY_SIZE] = {8, 12, 16}; /* Layer 2 to 4. */
| ^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4371:50: error: 'struct rte_bbdev_mldts_op' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4371 | enqueue_mldts_one_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'enqueue_mldts_one_op':
../drivers/baseband/acc/rte_vrb_pmd.c:4382:21: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4382 | input_q = op->mldts.qhy_input.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4383:21: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4383 | input_r = op->mldts.r_input.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4384:20: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4384 | output = op->mldts.output.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4385:23: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4385 | in_offset = op->mldts.qhy_input.offset;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4386:24: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4386 | out_offset = op->mldts.output.offset;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4388:29: error: passing argument 1 of 'vrb2_fcw_mldts_fill' from incompatible pointer type [-Werror=incompatible-pointer-types]
4388 | vrb2_fcw_mldts_fill(op, fcw);
| ^~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4192:48: note: expected 'struct rte_bbdev_mldts_op *' but argument is of type 'struct rte_bbdev_mldts_op *'
4192 | vrb2_fcw_mldts_fill(struct rte_bbdev_mldts_op *op, struct acc_fcw_mldts *fcw)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c:4389:34: error: passing argument 1 of 'vrb2_dma_desc_mldts_fill' from incompatible pointer type [-Werror=incompatible-pointer-types]
4389 | vrb2_dma_desc_mldts_fill(op, &desc->req, input_q, input_r, output,
| ^~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4213:53: note: expected 'struct rte_bbdev_mldts_op *' but argument is of type 'struct rte_bbdev_mldts_op *'
4213 | vrb2_dma_desc_mldts_fill(struct rte_bbdev_mldts_op *op,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4401:24: error: 'struct rte_bbdev_mldts_op' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4401 | struct rte_bbdev_mldts_op **ops, uint16_t num)
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb2_enqueue_mldts':
../drivers/baseband/acc/rte_vrb_pmd.c:4415:60: error: passing argument 1 of 'vrb2_check_mld_r_constraint' from incompatible pointer type [-Werror=incompatible-pointer-types]
4415 | as_one_op = vrb2_check_mld_r_constraint(ops[i]);
| ~~~^~~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4268:56: note: expected 'struct rte_bbdev_mldts_op *' but argument is of type 'struct rte_bbdev_mldts_op *'
4268 | vrb2_check_mld_r_constraint(struct rte_bbdev_mldts_op *op) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c:4416:53: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4416 | descs_in_op = as_one_op ? 1 : ops[i]->mldts.c_rep + 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4426:58: error: passing argument 2 of 'enqueue_mldts_one_op' from incompatible pointer type [-Werror=incompatible-pointer-types]
4426 | ret = enqueue_mldts_one_op(q, ops[i], enqueued_descs);
| ~~~^~~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4371:70: note: expected 'struct rte_bbdev_mldts_op *' but argument is of type 'struct rte_bbdev_mldts_op *'
4371 | enqueue_mldts_one_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c:4428:60: error: passing argument 2 of 'enqueue_mldts_split_op' from incompatible pointer type [-Werror=incompatible-pointer-types]
4428 | ret = enqueue_mldts_split_op(q, ops[i], enqueued_descs);
| ~~~^~~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4289:72: note: expected 'struct rte_bbdev_mldts_op *' but argument is of type 'struct rte_bbdev_mldts_op *'
4289 | enqueue_mldts_split_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4455:45: error: 'struct rte_bbdev_mldts_op' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4455 | struct acc_queue *q, struct rte_bbdev_mldts_op **ref_op,
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'dequeue_mldts_one_op':
../drivers/baseband/acc/rte_vrb_pmd.c:4499:11: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4499 | op->status = 0;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4505:19: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4505 | op->status |= rsp.input_err << RTE_BBDEV_DATA_ERROR;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4506:19: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4506 | op->status |= rsp.dma_err << RTE_BBDEV_DRV_ERROR;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4507:19: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4507 | op->status |= rsp.fcw_err << RTE_BBDEV_DRV_ERROR;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4508:19: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4508 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4508:50: error: 'RTE_BBDEV_ENGINE_ERROR' undeclared (first use in this function); did you mean 'RTE_BBDEV_EVENT_ERROR'?
4508 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c:4511:15: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4511 | if (op->status != 0)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4513:15: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4513 | if (op->status & (1 << RTE_BBDEV_DRV_ERROR))
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4531:24: error: 'struct rte_bbdev_mldts_op' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4531 | struct rte_bbdev_mldts_op **ops, uint16_t num)
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb2_dequeue_mldts':
../drivers/baseband/acc/rte_vrb_pmd.c:4542:55: error: passing argument 3 of 'dequeue_mldts_one_op' from incompatible pointer type [-Werror=incompatible-pointer-types]
4542 | ret = dequeue_mldts_one_op(q_data, q, &ops[i], dequeued_cbs, &aq_dequeued);
| ^~~~~~~
| |
| struct rte_bbdev_mldts_op **
../drivers/baseband/acc/rte_vrb_pmd.c:4455:66: note: expected 'struct rte_bbdev_mldts_op **' but argument is of type 'struct rte_bbdev_mldts_op **'
4455 | struct acc_queue *q, struct rte_bbdev_mldts_op **ref_op,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb_bbdev_init':
../drivers/baseband/acc/rte_vrb_pmd.c:4573:14: error: 'struct rte_bbdev' has no member named 'enqueue_mldts_ops'; did you mean 'enqueue_dec_ops'?
4573 | dev->enqueue_mldts_ops = vrb2_enqueue_mldts;
| ^~~~~~~~~~~~~~~~~
| enqueue_dec_ops
../drivers/baseband/acc/rte_vrb_pmd.c:4574:14: error: 'struct rte_bbdev' has no member named 'dequeue_mldts_ops'; did you mean 'dequeue_dec_ops'?
4574 | dev->dequeue_mldts_ops = vrb2_dequeue_mldts;
| ^~~~~~~~~~~~~~~~~
| dequeue_dec_ops
cc1: all warnings being treated as errors
[1416/1885] Linking static target drivers/libtmp_rte_baseband_fpga_5gnr_fec.a
[1417/1885] Linking target drivers/librte_event_opdl.so.23.2
[1418/1885] Generating drivers/rte_crypto_scheduler.sym_chk with a custom command (wrapped by meson to capture output)
[1419/1885] Compiling C object drivers/libtmp_rte_event_sw.a.p/event_sw_sw_evdev_selftest.c.o
[1420/1885] Compiling C object drivers/libtmp_rte_baseband_la12xx.a.p/baseband_la12xx_bbdev_la12xx.c.o
[1421/1885] Compiling C object drivers/libtmp_rte_baseband_fpga_lte_fec.a.p/baseband_fpga_lte_fec_fpga_lte_fec.c.o
[1422/1885] Compiling C object drivers/libtmp_rte_baseband_null.a.p/baseband_null_bbdev_null.c.o
[1423/1885] Compiling C object drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_acc100_pmd.c.o
[1424/1885] Compiling C object drivers/libtmp_rte_baseband_turbo_sw.a.p/baseband_turbo_sw_bbdev_turbo_software.c.o
ninja: build stopped
*Build Failed #3:
OS: FreeBSD13-64
Target: x86_64-native-bsdapp-clang
FAILED: drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o
clang -Idrivers/libtmp_rte_baseband_acc.a.p -Idrivers -I../drivers -Idrivers/baseband/acc -I../drivers/baseband/acc -Ilib/bbdev -I../lib/bbdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/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/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -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 -D__BSD_VISIBLE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=pmd.bb.acc -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o -MF drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o.d -o drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o -c ../drivers/baseband/acc/rte_vrb_pmd.c
../drivers/baseband/acc/rte_vrb_pmd.c:1037:29: error: use of undeclared identifier 'RTE_BBDEV_OP_MLDTS'; did you mean 'RTE_BBDEV_OP_FFT'?
else if (conf->op_type == RTE_BBDEV_OP_MLDTS)
^~~~~~~~~~~~~~~~~~
RTE_BBDEV_OP_FFT
../lib/bbdev/rte_bbdev_op.h:858:2: note: 'RTE_BBDEV_OP_FFT' declared here
RTE_BBDEV_OP_FFT, /**< FFT */
^
../drivers/baseband/acc/rte_vrb_pmd.c:1095:24: error: use of undeclared identifier 'RTE_BBDEV_OP_MLDTS'; did you mean 'RTE_BBDEV_OP_FFT'?
} else if (op_type == RTE_BBDEV_OP_MLDTS) {
^~~~~~~~~~~~~~~~~~
RTE_BBDEV_OP_FFT
../lib/bbdev/rte_bbdev_op.h:858:2: note: 'RTE_BBDEV_OP_FFT' declared here
RTE_BBDEV_OP_FFT, /**< FFT */
^
../drivers/baseband/acc/rte_vrb_pmd.c:1099:13: error: incomplete definition of type 'struct rte_bbdev_mldts_op'
op_mldts->mldts.num_rbs, op_mldts->mldts.num_layers,
~~~~~~~~^
../drivers/baseband/acc/vrb_pmd.h:18:5: note: expanded from macro 'rte_bbdev_log'
##__VA_ARGS__)
^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1096:10: note: forward declaration of 'struct rte_bbdev_mldts_op'
struct rte_bbdev_mldts_op *op_mldts = (struct rte_bbdev_mldts_op *) op;
^
../drivers/baseband/acc/rte_vrb_pmd.c:1099:38: error: incomplete definition of type 'struct rte_bbdev_mldts_op'
op_mldts->mldts.num_rbs, op_mldts->mldts.num_layers,
~~~~~~~~^
../drivers/baseband/acc/vrb_pmd.h:18:5: note: expanded from macro 'rte_bbdev_log'
##__VA_ARGS__)
^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1096:10: note: forward declaration of 'struct rte_bbdev_mldts_op'
struct rte_bbdev_mldts_op *op_mldts = (struct rte_bbdev_mldts_op *) op;
^
../drivers/baseband/acc/rte_vrb_pmd.c:1100:13: error: incomplete definition of type 'struct rte_bbdev_mldts_op'
op_mldts->mldts.r_rep,
~~~~~~~~^
../drivers/baseband/acc/vrb_pmd.h:18:5: note: expanded from macro 'rte_bbdev_log'
##__VA_ARGS__)
^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1096:10: note: forward declaration of 'struct rte_bbdev_mldts_op'
struct rte_bbdev_mldts_op *op_mldts = (struct rte_bbdev_mldts_op *) op;
^
../drivers/baseband/acc/rte_vrb_pmd.c:1101:13: error: incomplete definition of type 'struct rte_bbdev_mldts_op'
op_mldts->mldts.c_rep, op_mldts->mldts.op_flags);
~~~~~~~~^
../drivers/baseband/acc/vrb_pmd.h:18:5: note: expanded from macro 'rte_bbdev_log'
##__VA_ARGS__)
^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1096:10: note: forward declaration of 'struct rte_bbdev_mldts_op'
struct rte_bbdev_mldts_op *op_mldts = (struct rte_bbdev_mldts_op *) op;
^
../drivers/baseband/acc/rte_vrb_pmd.c:1101:36: error: incomplete definition of type 'struct rte_bbdev_mldts_op'
op_mldts->mldts.c_rep, op_mldts->mldts.op_flags);
~~~~~~~~^
../drivers/baseband/acc/vrb_pmd.h:18:5: note: expanded from macro 'rte_bbdev_log'
##__VA_ARGS__)
^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1096:10: note: forward declaration of 'struct rte_bbdev_mldts_op'
struct rte_bbdev_mldts_op *op_mldts = (struct rte_bbdev_mldts_op *) op;
^
../drivers/baseband/acc/rte_vrb_pmd.c:1332:5: error: use of undeclared identifier 'RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION'; did you mean 'RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION'?
RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION
../lib/bbdev/rte_bbdev_op.h:182:2: note: 'RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION' declared here
RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION = (1ULL << 14),
^
../drivers/baseband/acc/rte_vrb_pmd.c:1366:12: error: use of undeclared identifier 'RTE_BBDEV_OP_MLDTS'; did you mean 'RTE_BBDEV_OP_FFT'?
.type = RTE_BBDEV_OP_MLDTS,
^~~~~~~~~~~~~~~~~~
RTE_BBDEV_OP_FFT
../lib/bbdev/rte_bbdev_op.h:858:2: note: 'RTE_BBDEV_OP_FFT' declared here
RTE_BBDEV_OP_FFT, /**< FFT */
^
../drivers/baseband/acc/rte_vrb_pmd.c:1369:7: error: use of undeclared identifier 'RTE_BBDEV_MLDTS_REP'
RTE_BBDEV_MLDTS_REP,
^
../drivers/baseband/acc/rte_vrb_pmd.c:1403:23: error: use of undeclared identifier 'RTE_BBDEV_OP_MLDTS'; did you mean 'RTE_BBDEV_OP_FFT'?
dev_info->num_queues[RTE_BBDEV_OP_MLDTS] = d->acc_conf.q_mld.num_aqs_per_groups *
^~~~~~~~~~~~~~~~~~
RTE_BBDEV_OP_FFT
../lib/bbdev/rte_bbdev_op.h:858:2: note: 'RTE_BBDEV_OP_FFT' declared here
RTE_BBDEV_OP_FFT, /**< FFT */
^
../drivers/baseband/acc/rte_vrb_pmd.c:1410:27: error: use of undeclared identifier 'RTE_BBDEV_OP_MLDTS'; did you mean 'RTE_BBDEV_OP_FFT'?
dev_info->queue_priority[RTE_BBDEV_OP_MLDTS] = d->acc_conf.q_mld.num_qgroups;
^~~~~~~~~~~~~~~~~~
RTE_BBDEV_OP_FFT
../lib/bbdev/rte_bbdev_op.h:858:2: note: 'RTE_BBDEV_OP_FFT' declared here
RTE_BBDEV_OP_FFT, /**< FFT */
^
../drivers/baseband/acc/rte_vrb_pmd.c:1412:35: error: use of undeclared identifier 'RTE_BBDEV_OP_MLDTS'; did you mean 'RTE_BBDEV_OP_FFT'?
for (i = RTE_BBDEV_OP_NONE; i <= RTE_BBDEV_OP_MLDTS; i++)
^~~~~~~~~~~~~~~~~~
RTE_BBDEV_OP_FFT
../lib/bbdev/rte_bbdev_op.h:858:2: note: 'RTE_BBDEV_OP_FFT' declared here
RTE_BBDEV_OP_FFT, /**< FFT */
^
../drivers/baseband/acc/rte_vrb_pmd.c:1972:46: error: use of undeclared identifier 'RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION'; did you mean 'RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION'?
} else if (check_bit(op->ldpc_dec.op_flags, RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION)) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION
../lib/bbdev/rte_bbdev_op.h:182:2: note: 'RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION' declared here
RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION = (1ULL << 14),
^
../drivers/baseband/acc/rte_vrb_pmd.c:3373:43: error: use of undeclared identifier 'RTE_BBDEV_ENGINE_ERROR'; did you mean 'RTE_BBDEV_EVENT_ERROR'?
op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
^~~~~~~~~~~~~~~~~~~~~~
RTE_BBDEV_EVENT_ERROR
../lib/bbdev/rte_bbdev.h:831:2: note: 'RTE_BBDEV_EVENT_ERROR' declared here
RTE_BBDEV_EVENT_ERROR, /**< error interrupt event */
^
../drivers/baseband/acc/rte_vrb_pmd.c:3425:35: error: use of undeclared identifier 'RTE_BBDEV_ENGINE_ERROR'; did you mean 'RTE_BBDEV_EVENT_ERROR'?
op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
^~~~~~~~~~~~~~~~~~~~~~
RTE_BBDEV_EVENT_ERROR
../lib/bbdev/rte_bbdev.h:831:2: note: 'RTE_BBDEV_EVENT_ERROR' declared here
RTE_BBDEV_EVENT_ERROR, /**< error interrupt event */
^
../drivers/baseband/acc/rte_vrb_pmd.c:3493:44: error: use of undeclared identifier 'RTE_BBDEV_ENGINE_ERROR'; did you mean 'RTE_BBDEV_EVENT_ERROR'?
op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
^~~~~~~~~~~~~~~~~~~~~~
RTE_BBDEV_EVENT_ERROR
../lib/bbdev/rte_bbdev.h:831:2: note: 'RTE_BBDEV_EVENT_ERROR' declared here
RTE_BBDEV_EVENT_ERROR, /**< error interrupt event */
^
../drivers/baseband/acc/rte_vrb_pmd.c:3540:35: error: use of undeclared identifier 'RTE_BBDEV_ENGINE_ERROR'; did you mean 'RTE_BBDEV_EVENT_ERROR'?
op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
^~~~~~~~~~~~~~~~~~~~~~
RTE_BBDEV_EVENT_ERROR
../lib/bbdev/rte_bbdev.h:831:2: note: 'RTE_BBDEV_EVENT_ERROR' declared here
RTE_BBDEV_EVENT_ERROR, /**< error interrupt event */
^
../drivers/baseband/acc/rte_vrb_pmd.c:3595:35: error: use of undeclared identifier 'RTE_BBDEV_ENGINE_ERROR'; did you mean 'RTE_BBDEV_EVENT_ERROR'?
op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
^~~~~~~~~~~~~~~~~~~~~~
RTE_BBDEV_EVENT_ERROR
../lib/bbdev/rte_bbdev.h:831:2: note: 'RTE_BBDEV_EVENT_ERROR' declared here
RTE_BBDEV_EVENT_ERROR, /**< error interrupt event */
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[1412/1885] Compiling C object drivers/libtmp_rte_event_sw.a.p/event_sw_sw_evdev_scheduler.c.o
[1413/1885] Compiling C object drivers/libtmp_rte_baseband_la12xx.a.p/baseband_la12xx_bbdev_la12xx.c.o
[1414/1885] Generating drivers/rte_net_ixgbe.sym_chk with a custom command (wrapped by meson to capture output)
[1415/1885] Compiling C object drivers/libtmp_rte_baseband_fpga_5gnr_fec.a.p/baseband_fpga_5gnr_fec_rte_fpga_5gnr_fec.c.o
[1416/1885] Compiling C object drivers/libtmp_rte_baseband_fpga_lte_fec.a.p/baseband_fpga_lte_fec_fpga_lte_fec.c.o
[1417/1885] Compiling C object drivers/libtmp_rte_baseband_null.a.p/baseband_null_bbdev_null.c.o
[1418/1885] Compiling C object drivers/libtmp_rte_baseband_turbo_sw.a.p/baseband_turbo_sw_bbdev_turbo_software.c.o
[1419/1885] Compiling C object drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_acc100_pmd.c.o
[1420/1885] Generating drivers/rte_common_sfc_efx.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped
*Build Failed #4:
OS: FreeBSD13-64
Target: x86_64-native-bsdapp-gcc+shared
FAILED: drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o
gcc -Idrivers/libtmp_rte_baseband_acc.a.p -Idrivers -I../drivers -Idrivers/baseband/acc -I../drivers/baseband/acc -Ilib/bbdev -I../lib/bbdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/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/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -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-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.bb.acc -MD -MQ drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o -MF drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o.d -o drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o -c ../drivers/baseband/acc/rte_vrb_pmd.c
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb_queue_setup':
../drivers/baseband/acc/rte_vrb_pmd.c:1037:36: error: 'RTE_BBDEV_OP_MLDTS' undeclared (first use in this function); did you mean 'RTE_BBDEV_OP_FFT'?
1037 | else if (conf->op_type == RTE_BBDEV_OP_MLDTS)
| ^~~~~~~~~~~~~~~~~~
| RTE_BBDEV_OP_FFT
../drivers/baseband/acc/rte_vrb_pmd.c:1037:36: note: each undeclared identifier is reported only once for each function it appears in
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb_print_op':
../drivers/baseband/acc/rte_vrb_pmd.c:1095:31: error: 'RTE_BBDEV_OP_MLDTS' undeclared (first use in this function); did you mean 'RTE_BBDEV_OP_FFT'?
1095 | } else if (op_type == RTE_BBDEV_OP_MLDTS) {
| ^~~~~~~~~~~~~~~~~~
| RTE_BBDEV_OP_FFT
In file included from ../drivers/baseband/acc/rte_vrb_pmd.c:22:
../drivers/baseband/acc/rte_vrb_pmd.c:1099:41: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
1099 | op_mldts->mldts.num_rbs, op_mldts->mldts.num_layers,
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro 'rte_bbdev_log'
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1099:66: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
1099 | op_mldts->mldts.num_rbs, op_mldts->mldts.num_layers,
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro 'rte_bbdev_log'
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1100:41: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
1100 | op_mldts->mldts.r_rep,
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro 'rte_bbdev_log'
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1101:41: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
1101 | op_mldts->mldts.c_rep, op_mldts->mldts.op_flags);
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro 'rte_bbdev_log'
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1101:64: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
1101 | op_mldts->mldts.c_rep, op_mldts->mldts.op_flags);
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro 'rte_bbdev_log'
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb_dev_info_get':
../drivers/baseband/acc/rte_vrb_pmd.c:1332:33: error: 'RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION' undeclared (first use in this function); did you mean 'RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION'?
1332 | RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION
../drivers/baseband/acc/rte_vrb_pmd.c:1366:35: error: 'RTE_BBDEV_OP_MLDTS' undeclared (first use in this function); did you mean 'RTE_BBDEV_OP_FFT'?
1366 | .type = RTE_BBDEV_OP_MLDTS,
| ^~~~~~~~~~~~~~~~~~
| RTE_BBDEV_OP_FFT
../drivers/baseband/acc/rte_vrb_pmd.c:1369:49: error: 'RTE_BBDEV_MLDTS_REP' undeclared (first use in this function)
1369 | RTE_BBDEV_MLDTS_REP,
| ^~~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb2_fcw_ld_fill':
../drivers/baseband/acc/rte_vrb_pmd.c:1972:53: error: 'RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION' undeclared (first use in this function); did you mean 'RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION'?
1972 | } else if (check_bit(op->ldpc_dec.op_flags, RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION)) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb_dequeue_enc_one_op_cb':
../drivers/baseband/acc/rte_vrb_pmd.c:3373:50: error: 'RTE_BBDEV_ENGINE_ERROR' undeclared (first use in this function); did you mean 'RTE_BBDEV_EVENT_ERROR'?
3373 | op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb2_dequeue_ldpc_enc_one_op_tb':
../drivers/baseband/acc/rte_vrb_pmd.c:3425:42: error: 'RTE_BBDEV_ENGINE_ERROR' undeclared (first use in this function); did you mean 'RTE_BBDEV_EVENT_ERROR'?
3425 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb_dequeue_enc_one_op_tb':
../drivers/baseband/acc/rte_vrb_pmd.c:3493:58: error: 'RTE_BBDEV_ENGINE_ERROR' undeclared (first use in this function); did you mean 'RTE_BBDEV_EVENT_ERROR'?
3493 | op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb_dequeue_dec_one_op_cb':
../drivers/baseband/acc/rte_vrb_pmd.c:3540:42: error: 'RTE_BBDEV_ENGINE_ERROR' undeclared (first use in this function); did you mean 'RTE_BBDEV_EVENT_ERROR'?
3540 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb_dequeue_ldpc_dec_one_op_cb':
../drivers/baseband/acc/rte_vrb_pmd.c:3595:42: error: 'RTE_BBDEV_ENGINE_ERROR' undeclared (first use in this function); did you mean 'RTE_BBDEV_EVENT_ERROR'?
3595 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb_dequeue_dec_one_op_tb':
../drivers/baseband/acc/rte_vrb_pmd.c:3677:58: error: 'RTE_BBDEV_ENGINE_ERROR' undeclared (first use in this function); did you mean 'RTE_BBDEV_EVENT_ERROR'?
3677 | op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb2_dma_desc_fft_fill':
../drivers/baseband/acc/rte_vrb_pmd.c:3990:51: error: 'RTE_BBDEV_FFT_DEWINDOWING' undeclared (first use in this function); did you mean 'RTE_BBDEV_FFT_WINDOWING'?
3990 | bool win_en = check_bit(op->fft.op_flags, RTE_BBDEV_FFT_DEWINDOWING);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_FFT_WINDOWING
../drivers/baseband/acc/rte_vrb_pmd.c:4016:25: error: 'RTE_BBDEV_MAX_CS' undeclared (first use in this function); did you mean 'RTE_BBDEV_MAX_CS_2'?
4016 | for (i = 0; i < RTE_BBDEV_MAX_CS; i++)
| ^~~~~~~~~~~~~~~~
| RTE_BBDEV_MAX_CS_2
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb_enqueue_fft_one_op':
../drivers/baseband/acc/rte_vrb_pmd.c:4049:22: error: 'struct rte_bbdev_op_fft' has no member named 'dewindowing_input'
4049 | win = op->fft.dewindowing_input.data;
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4053:29: error: 'struct rte_bbdev_op_fft' has no member named 'dewindowing_input'
4053 | win_offset = op->fft.dewindowing_input.offset;
| ^
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb_dequeue_fft_one_op':
../drivers/baseband/acc/rte_vrb_pmd.c:4142:42: error: 'RTE_BBDEV_ENGINE_ERROR' undeclared (first use in this function); did you mean 'RTE_BBDEV_EVENT_ERROR'?
4142 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4192:28: error: 'struct rte_bbdev_mldts_op' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4192 | vrb2_fcw_mldts_fill(struct rte_bbdev_mldts_op *op, struct acc_fcw_mldts *fcw)
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb2_fcw_mldts_fill':
../drivers/baseband/acc/rte_vrb_pmd.c:4194:22: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4194 | fcw->nrb = op->mldts.num_rbs;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4195:26: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4195 | fcw->NLayers = op->mldts.num_layers - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4196:25: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4196 | fcw->Qmod0 = (op->mldts.q_m[0] >> 1) - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4197:25: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4197 | fcw->Qmod1 = (op->mldts.q_m[1] >> 1) - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4198:25: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4198 | fcw->Qmod2 = (op->mldts.q_m[2] >> 1) - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4199:25: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4199 | fcw->Qmod3 = (op->mldts.q_m[3] >> 1) - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4201:15: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4201 | if (op->mldts.num_layers == 2) {
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4205:15: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4205 | if (op->mldts.num_layers == 3)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4207:23: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4207 | fcw->Rrep = op->mldts.r_rep;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4208:23: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4208 | fcw->Crep = op->mldts.c_rep;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4213:33: error: 'struct rte_bbdev_mldts_op' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4213 | vrb2_dma_desc_mldts_fill(struct rte_bbdev_mldts_op *op,
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb2_dma_desc_mldts_fill':
../drivers/baseband/acc/rte_vrb_pmd.c:4226:15: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4226 | if (op->mldts.r_rep > 5)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4227:19: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4227 | op->mldts.r_rep = 5;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4228:15: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4228 | if (op->mldts.num_layers < 2)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4229:19: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4229 | op->mldts.num_layers = 2;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4230:15: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4230 | if (op->mldts.num_layers > 4)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4231:19: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4231 | op->mldts.num_layers = 4;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4232:27: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4232 | for (i = 0; i < op->mldts.num_layers; i++)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4233:37: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4233 | outsize_per_re += op->mldts.q_m[i];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4234:20: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4234 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB * (op->mldts.c_rep + 1);
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4234:38: error: 'RTE_BBDEV_SCPERRB' undeclared (first use in this function); did you mean 'RTE_BBDEV_CRC_ERROR'?
4234 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB * (op->mldts.c_rep + 1);
| ^~~~~~~~~~~~~~~~~
| RTE_BBDEV_CRC_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c:4234:61: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4234 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB * (op->mldts.c_rep + 1);
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4235:19: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4235 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4235:58: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4235 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4236:33: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4236 | q_size = qsize_per_re[op->mldts.num_layers - 2] * sc_num;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4237:33: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4237 | r_size = rsize_per_re[op->mldts.num_layers - 2] * r_num;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4221:18: error: variable 'sc_factor_per_rrep' set but not used [-Werror=unused-but-set-variable]
4221 | uint16_t sc_factor_per_rrep[VRB2_MLD_RREP_SIZE] = {12, 6, 4, 3, 0, 2};
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4220:18: error: variable 'rsize_per_re' set but not used [-Werror=unused-but-set-variable]
4220 | uint16_t rsize_per_re[VRB2_MLD_LAY_SIZE] = {14, 26, 42};
| ^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4219:18: error: variable 'qsize_per_re' set but not used [-Werror=unused-but-set-variable]
4219 | uint16_t qsize_per_re[VRB2_MLD_LAY_SIZE] = {8, 12, 16}; /* Layer 2 to 4. */
| ^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4268:36: error: 'struct rte_bbdev_mldts_op' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4268 | vrb2_check_mld_r_constraint(struct rte_bbdev_mldts_op *op) {
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb2_check_mld_r_constraint':
../drivers/baseband/acc/rte_vrb_pmd.c:4275:15: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4275 | if (op->mldts.c_rep == 0)
| ^~
In file included from ../drivers/baseband/acc/rte_vrb_pmd.c:7:
../drivers/baseband/acc/rte_vrb_pmd.c:4278:31: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4278 | layer_idx = RTE_MIN(op->mldts.num_layers - VRB2_MLD_MIN_LAYER,
| ^~
../lib/eal/include/rte_common.h:615:25: note: in definition of macro 'RTE_MIN'
615 | typeof (a) _a = (a); \
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4278:31: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4278 | layer_idx = RTE_MIN(op->mldts.num_layers - VRB2_MLD_MIN_LAYER,
| ^~
../lib/eal/include/rte_common.h:615:34: note: in definition of macro 'RTE_MIN'
615 | typeof (a) _a = (a); \
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4280:30: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4280 | rrep_idx = RTE_MIN(op->mldts.r_rep, VRB2_MLD_MAX_RREP);
| ^~
../lib/eal/include/rte_common.h:615:25: note: in definition of macro 'RTE_MIN'
615 | typeof (a) _a = (a); \
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4280:30: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4280 | rrep_idx = RTE_MIN(op->mldts.r_rep, VRB2_MLD_MAX_RREP);
| ^~
../lib/eal/include/rte_common.h:615:34: note: in definition of macro 'RTE_MIN'
615 | typeof (a) _a = (a); \
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4284:19: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4284 | return (op->mldts.num_rbs <= max_rb[layer_idx][rrep_idx]);
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4289:52: error: 'struct rte_bbdev_mldts_op' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4289 | enqueue_mldts_split_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'enqueue_mldts_split_op':
../drivers/baseband/acc/rte_vrb_pmd.c:4304:21: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4304 | input_q = op->mldts.qhy_input.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4305:21: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4305 | input_r = op->mldts.r_input.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4306:20: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4306 | output = op->mldts.output.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4307:23: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4307 | in_offset = op->mldts.qhy_input.offset;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4308:24: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4308 | out_offset = op->mldts.output.offset;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4309:22: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4309 | num_syms = op->mldts.c_rep + 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4311:29: error: passing argument 1 of 'vrb2_fcw_mldts_fill' from incompatible pointer type [-Werror=incompatible-pointer-types]
4311 | vrb2_fcw_mldts_fill(op, fcw);
| ^~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4192:48: note: expected 'struct rte_bbdev_mldts_op *' but argument is of type 'struct rte_bbdev_mldts_op *'
4192 | vrb2_fcw_mldts_fill(struct rte_bbdev_mldts_op *op, struct acc_fcw_mldts *fcw)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c:4315:15: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4315 | if (op->mldts.r_rep > 5)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4316:19: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4316 | op->mldts.r_rep = 5;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4317:15: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4317 | if (op->mldts.num_layers < 2)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4318:19: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4318 | op->mldts.num_layers = 2;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4319:15: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4319 | if (op->mldts.num_layers > 4)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4320:19: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4320 | op->mldts.num_layers = 4;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4322:27: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4322 | for (i = 0; i < op->mldts.num_layers; i++)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4323:37: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4323 | outsize_per_re += op->mldts.q_m[i];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4324:20: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4324 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB; /* C rep forced to zero. */
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4324:38: error: 'RTE_BBDEV_SCPERRB' undeclared (first use in this function); did you mean 'RTE_BBDEV_CRC_ERROR'?
4324 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB; /* C rep forced to zero. */
| ^~~~~~~~~~~~~~~~~
| RTE_BBDEV_CRC_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c:4325:19: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4325 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4325:58: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4325 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4326:33: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4326 | q_size = qsize_per_re[op->mldts.num_layers - 2] * sc_num;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4327:33: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4327 | r_size = rsize_per_re[op->mldts.num_layers - 2] * r_num;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4294:18: error: variable 'sc_factor_per_rrep' set but not used [-Werror=unused-but-set-variable]
4294 | uint16_t sc_factor_per_rrep[VRB2_MLD_RREP_SIZE] = {12, 6, 4, 3, 0, 2};
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4293:18: error: variable 'rsize_per_re' set but not used [-Werror=unused-but-set-variable]
4293 | uint16_t rsize_per_re[VRB2_MLD_LAY_SIZE] = {14, 26, 42};
| ^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4292:18: error: variable 'qsize_per_re' set but not used [-Werror=unused-but-set-variable]
4292 | uint16_t qsize_per_re[VRB2_MLD_LAY_SIZE] = {8, 12, 16}; /* Layer 2 to 4. */
| ^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4371:50: error: 'struct rte_bbdev_mldts_op' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4371 | enqueue_mldts_one_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'enqueue_mldts_one_op':
../drivers/baseband/acc/rte_vrb_pmd.c:4382:21: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4382 | input_q = op->mldts.qhy_input.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4383:21: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4383 | input_r = op->mldts.r_input.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4384:20: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4384 | output = op->mldts.output.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4385:23: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4385 | in_offset = op->mldts.qhy_input.offset;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4386:24: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4386 | out_offset = op->mldts.output.offset;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4388:29: error: passing argument 1 of 'vrb2_fcw_mldts_fill' from incompatible pointer type [-Werror=incompatible-pointer-types]
4388 | vrb2_fcw_mldts_fill(op, fcw);
| ^~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4192:48: note: expected 'struct rte_bbdev_mldts_op *' but argument is of type 'struct rte_bbdev_mldts_op *'
4192 | vrb2_fcw_mldts_fill(struct rte_bbdev_mldts_op *op, struct acc_fcw_mldts *fcw)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c:4389:34: error: passing argument 1 of 'vrb2_dma_desc_mldts_fill' from incompatible pointer type [-Werror=incompatible-pointer-types]
4389 | vrb2_dma_desc_mldts_fill(op, &desc->req, input_q, input_r, output,
| ^~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4213:53: note: expected 'struct rte_bbdev_mldts_op *' but argument is of type 'struct rte_bbdev_mldts_op *'
4213 | vrb2_dma_desc_mldts_fill(struct rte_bbdev_mldts_op *op,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4401:24: error: 'struct rte_bbdev_mldts_op' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4401 | struct rte_bbdev_mldts_op **ops, uint16_t num)
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb2_enqueue_mldts':
../drivers/baseband/acc/rte_vrb_pmd.c:4415:60: error: passing argument 1 of 'vrb2_check_mld_r_constraint' from incompatible pointer type [-Werror=incompatible-pointer-types]
4415 | as_one_op = vrb2_check_mld_r_constraint(ops[i]);
| ~~~^~~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4268:56: note: expected 'struct rte_bbdev_mldts_op *' but argument is of type 'struct rte_bbdev_mldts_op *'
4268 | vrb2_check_mld_r_constraint(struct rte_bbdev_mldts_op *op) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c:4416:53: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4416 | descs_in_op = as_one_op ? 1 : ops[i]->mldts.c_rep + 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4426:58: error: passing argument 2 of 'enqueue_mldts_one_op' from incompatible pointer type [-Werror=incompatible-pointer-types]
4426 | ret = enqueue_mldts_one_op(q, ops[i], enqueued_descs);
| ~~~^~~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4371:70: note: expected 'struct rte_bbdev_mldts_op *' but argument is of type 'struct rte_bbdev_mldts_op *'
4371 | enqueue_mldts_one_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c:4428:60: error: passing argument 2 of 'enqueue_mldts_split_op' from incompatible pointer type [-Werror=incompatible-pointer-types]
4428 | ret = enqueue_mldts_split_op(q, ops[i], enqueued_descs);
| ~~~^~~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4289:72: note: expected 'struct rte_bbdev_mldts_op *' but argument is of type 'struct rte_bbdev_mldts_op *'
4289 | enqueue_mldts_split_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4455:45: error: 'struct rte_bbdev_mldts_op' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4455 | struct acc_queue *q, struct rte_bbdev_mldts_op **ref_op,
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'dequeue_mldts_one_op':
../drivers/baseband/acc/rte_vrb_pmd.c:4499:11: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4499 | op->status = 0;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4505:19: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4505 | op->status |= rsp.input_err << RTE_BBDEV_DATA_ERROR;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4506:19: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4506 | op->status |= rsp.dma_err << RTE_BBDEV_DRV_ERROR;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4507:19: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4507 | op->status |= rsp.fcw_err << RTE_BBDEV_DRV_ERROR;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4508:19: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4508 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4508:50: error: 'RTE_BBDEV_ENGINE_ERROR' undeclared (first use in this function); did you mean 'RTE_BBDEV_EVENT_ERROR'?
4508 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c:4511:15: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4511 | if (op->status != 0)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4513:15: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4513 | if (op->status & (1 << RTE_BBDEV_DRV_ERROR))
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4531:24: error: 'struct rte_bbdev_mldts_op' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4531 | struct rte_bbdev_mldts_op **ops, uint16_t num)
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb2_dequeue_mldts':
../drivers/baseband/acc/rte_vrb_pmd.c:4542:55: error: passing argument 3 of 'dequeue_mldts_one_op' from incompatible pointer type [-Werror=incompatible-pointer-types]
4542 | ret = dequeue_mldts_one_op(q_data, q, &ops[i], dequeued_cbs, &aq_dequeued);
| ^~~~~~~
| |
| struct rte_bbdev_mldts_op **
../drivers/baseband/acc/rte_vrb_pmd.c:4455:66: note: expected 'struct rte_bbdev_mldts_op **' but argument is of type 'struct rte_bbdev_mldts_op **'
4455 | struct acc_queue *q, struct rte_bbdev_mldts_op **ref_op,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb_bbdev_init':
../drivers/baseband/acc/rte_vrb_pmd.c:4573:14: error: 'struct rte_bbdev' has no member named 'enqueue_mldts_ops'; did you mean 'enqueue_dec_ops'?
4573 | dev->enqueue_mldts_ops = vrb2_enqueue_mldts;
| ^~~~~~~~~~~~~~~~~
| enqueue_dec_ops
../drivers/baseband/acc/rte_vrb_pmd.c:4574:14: error: 'struct rte_bbdev' has no member named 'dequeue_mldts_ops'; did you mean 'dequeue_dec_ops'?
4574 | dev->dequeue_mldts_ops = vrb2_dequeue_mldts;
| ^~~~~~~~~~~~~~~~~
| dequeue_dec_ops
cc1: all warnings being treated as errors
[1449/1790] Compiling C object drivers/libtmp_rte_baseband_fpga_5gnr_fec.a.p/baseband_fpga_5gnr_fec_rte_fpga_5gnr_fec.c.o
[1450/1790] Generating drivers/rte_baseband_la12xx.pmd.c with a custom command
[1451/1790] Compiling C object drivers/libtmp_rte_baseband_fpga_lte_fec.a.p/baseband_fpga_lte_fec_fpga_lte_fec.c.o
[1452/1790] Generating drivers/rte_event_sw.pmd.c with a custom command
[1453/1790] Generating drivers/rte_crypto_scheduler.sym_chk with a custom command (wrapped by meson to capture output)
[1454/1790] Compiling C object drivers/libtmp_rte_baseband_null.a.p/baseband_null_bbdev_null.c.o
[1455/1790] Compiling C object app/dpdk-dumpcap.p/dumpcap_main.c.o
[1456/1790] Compiling C object drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_acc100_pmd.c.o
[1457/1790] Compiling C object drivers/libtmp_rte_baseband_turbo_sw.a.p/baseband_turbo_sw_bbdev_turbo_software.c.o
ninja: build stopped
*Build Failed #5:
OS: FreeBSD13-64
Target: x86_64-native-bsdapp-gcc+debug
FAILED: drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o
gcc -Idrivers/libtmp_rte_baseband_acc.a.p -Idrivers -I../drivers -Idrivers/baseband/acc -I../drivers/baseband/acc -Ilib/bbdev -I../lib/bbdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/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/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -fdiagnostics-color=always -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-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.bb.acc -MD -MQ drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o -MF drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o.d -o drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o -c ../drivers/baseband/acc/rte_vrb_pmd.c
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb_queue_setup':
../drivers/baseband/acc/rte_vrb_pmd.c:1037:36: error: 'RTE_BBDEV_OP_MLDTS' undeclared (first use in this function); did you mean 'RTE_BBDEV_OP_FFT'?
1037 | else if (conf->op_type == RTE_BBDEV_OP_MLDTS)
| ^~~~~~~~~~~~~~~~~~
| RTE_BBDEV_OP_FFT
../drivers/baseband/acc/rte_vrb_pmd.c:1037:36: note: each undeclared identifier is reported only once for each function it appears in
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb_print_op':
../drivers/baseband/acc/rte_vrb_pmd.c:1095:31: error: 'RTE_BBDEV_OP_MLDTS' undeclared (first use in this function); did you mean 'RTE_BBDEV_OP_FFT'?
1095 | } else if (op_type == RTE_BBDEV_OP_MLDTS) {
| ^~~~~~~~~~~~~~~~~~
| RTE_BBDEV_OP_FFT
In file included from ../drivers/baseband/acc/rte_vrb_pmd.c:22:
../drivers/baseband/acc/rte_vrb_pmd.c:1099:41: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
1099 | op_mldts->mldts.num_rbs, op_mldts->mldts.num_layers,
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro 'rte_bbdev_log'
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1099:66: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
1099 | op_mldts->mldts.num_rbs, op_mldts->mldts.num_layers,
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro 'rte_bbdev_log'
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1100:41: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
1100 | op_mldts->mldts.r_rep,
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro 'rte_bbdev_log'
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1101:41: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
1101 | op_mldts->mldts.c_rep, op_mldts->mldts.op_flags);
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro 'rte_bbdev_log'
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1101:64: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
1101 | op_mldts->mldts.c_rep, op_mldts->mldts.op_flags);
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro 'rte_bbdev_log'
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb_dev_info_get':
../drivers/baseband/acc/rte_vrb_pmd.c:1332:33: error: 'RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION' undeclared (first use in this function); did you mean 'RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION'?
1332 | RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION
../drivers/baseband/acc/rte_vrb_pmd.c:1366:35: error: 'RTE_BBDEV_OP_MLDTS' undeclared (first use in this function); did you mean 'RTE_BBDEV_OP_FFT'?
1366 | .type = RTE_BBDEV_OP_MLDTS,
| ^~~~~~~~~~~~~~~~~~
| RTE_BBDEV_OP_FFT
../drivers/baseband/acc/rte_vrb_pmd.c:1369:49: error: 'RTE_BBDEV_MLDTS_REP' undeclared (first use in this function)
1369 | RTE_BBDEV_MLDTS_REP,
| ^~~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb2_fcw_ld_fill':
../drivers/baseband/acc/rte_vrb_pmd.c:1972:53: error: 'RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION' undeclared (first use in this function); did you mean 'RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION'?
1972 | } else if (check_bit(op->ldpc_dec.op_flags, RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION)) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb_dequeue_enc_one_op_cb':
../drivers/baseband/acc/rte_vrb_pmd.c:3373:50: error: 'RTE_BBDEV_ENGINE_ERROR' undeclared (first use in this function); did you mean 'RTE_BBDEV_EVENT_ERROR'?
3373 | op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb2_dequeue_ldpc_enc_one_op_tb':
../drivers/baseband/acc/rte_vrb_pmd.c:3425:42: error: 'RTE_BBDEV_ENGINE_ERROR' undeclared (first use in this function); did you mean 'RTE_BBDEV_EVENT_ERROR'?
3425 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb_dequeue_enc_one_op_tb':
../drivers/baseband/acc/rte_vrb_pmd.c:3493:58: error: 'RTE_BBDEV_ENGINE_ERROR' undeclared (first use in this function); did you mean 'RTE_BBDEV_EVENT_ERROR'?
3493 | op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb_dequeue_dec_one_op_cb':
../drivers/baseband/acc/rte_vrb_pmd.c:3540:42: error: 'RTE_BBDEV_ENGINE_ERROR' undeclared (first use in this function); did you mean 'RTE_BBDEV_EVENT_ERROR'?
3540 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb_dequeue_ldpc_dec_one_op_cb':
../drivers/baseband/acc/rte_vrb_pmd.c:3595:42: error: 'RTE_BBDEV_ENGINE_ERROR' undeclared (first use in this function); did you mean 'RTE_BBDEV_EVENT_ERROR'?
3595 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb_dequeue_dec_one_op_tb':
../drivers/baseband/acc/rte_vrb_pmd.c:3677:58: error: 'RTE_BBDEV_ENGINE_ERROR' undeclared (first use in this function); did you mean 'RTE_BBDEV_EVENT_ERROR'?
3677 | op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb2_dma_desc_fft_fill':
../drivers/baseband/acc/rte_vrb_pmd.c:3990:51: error: 'RTE_BBDEV_FFT_DEWINDOWING' undeclared (first use in this function); did you mean 'RTE_BBDEV_FFT_WINDOWING'?
3990 | bool win_en = check_bit(op->fft.op_flags, RTE_BBDEV_FFT_DEWINDOWING);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_FFT_WINDOWING
../drivers/baseband/acc/rte_vrb_pmd.c:4016:25: error: 'RTE_BBDEV_MAX_CS' undeclared (first use in this function); did you mean 'RTE_BBDEV_MAX_CS_2'?
4016 | for (i = 0; i < RTE_BBDEV_MAX_CS; i++)
| ^~~~~~~~~~~~~~~~
| RTE_BBDEV_MAX_CS_2
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb_enqueue_fft_one_op':
../drivers/baseband/acc/rte_vrb_pmd.c:4049:22: error: 'struct rte_bbdev_op_fft' has no member named 'dewindowing_input'
4049 | win = op->fft.dewindowing_input.data;
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4053:29: error: 'struct rte_bbdev_op_fft' has no member named 'dewindowing_input'
4053 | win_offset = op->fft.dewindowing_input.offset;
| ^
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb_dequeue_fft_one_op':
../drivers/baseband/acc/rte_vrb_pmd.c:4142:42: error: 'RTE_BBDEV_ENGINE_ERROR' undeclared (first use in this function); did you mean 'RTE_BBDEV_EVENT_ERROR'?
4142 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4192:28: error: 'struct rte_bbdev_mldts_op' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4192 | vrb2_fcw_mldts_fill(struct rte_bbdev_mldts_op *op, struct acc_fcw_mldts *fcw)
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb2_fcw_mldts_fill':
../drivers/baseband/acc/rte_vrb_pmd.c:4194:22: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4194 | fcw->nrb = op->mldts.num_rbs;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4195:26: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4195 | fcw->NLayers = op->mldts.num_layers - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4196:25: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4196 | fcw->Qmod0 = (op->mldts.q_m[0] >> 1) - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4197:25: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4197 | fcw->Qmod1 = (op->mldts.q_m[1] >> 1) - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4198:25: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4198 | fcw->Qmod2 = (op->mldts.q_m[2] >> 1) - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4199:25: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4199 | fcw->Qmod3 = (op->mldts.q_m[3] >> 1) - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4201:15: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4201 | if (op->mldts.num_layers == 2) {
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4205:15: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4205 | if (op->mldts.num_layers == 3)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4207:23: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4207 | fcw->Rrep = op->mldts.r_rep;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4208:23: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4208 | fcw->Crep = op->mldts.c_rep;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4213:33: error: 'struct rte_bbdev_mldts_op' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4213 | vrb2_dma_desc_mldts_fill(struct rte_bbdev_mldts_op *op,
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb2_dma_desc_mldts_fill':
../drivers/baseband/acc/rte_vrb_pmd.c:4226:15: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4226 | if (op->mldts.r_rep > 5)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4227:19: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4227 | op->mldts.r_rep = 5;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4228:15: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4228 | if (op->mldts.num_layers < 2)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4229:19: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4229 | op->mldts.num_layers = 2;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4230:15: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4230 | if (op->mldts.num_layers > 4)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4231:19: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4231 | op->mldts.num_layers = 4;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4232:27: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4232 | for (i = 0; i < op->mldts.num_layers; i++)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4233:37: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4233 | outsize_per_re += op->mldts.q_m[i];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4234:20: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4234 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB * (op->mldts.c_rep + 1);
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4234:38: error: 'RTE_BBDEV_SCPERRB' undeclared (first use in this function); did you mean 'RTE_BBDEV_CRC_ERROR'?
4234 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB * (op->mldts.c_rep + 1);
| ^~~~~~~~~~~~~~~~~
| RTE_BBDEV_CRC_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c:4234:61: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4234 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB * (op->mldts.c_rep + 1);
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4235:19: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4235 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4235:58: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4235 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4236:33: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4236 | q_size = qsize_per_re[op->mldts.num_layers - 2] * sc_num;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4237:33: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4237 | r_size = rsize_per_re[op->mldts.num_layers - 2] * r_num;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4221:18: error: variable 'sc_factor_per_rrep' set but not used [-Werror=unused-but-set-variable]
4221 | uint16_t sc_factor_per_rrep[VRB2_MLD_RREP_SIZE] = {12, 6, 4, 3, 0, 2};
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4220:18: error: variable 'rsize_per_re' set but not used [-Werror=unused-but-set-variable]
4220 | uint16_t rsize_per_re[VRB2_MLD_LAY_SIZE] = {14, 26, 42};
| ^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4219:18: error: variable 'qsize_per_re' set but not used [-Werror=unused-but-set-variable]
4219 | uint16_t qsize_per_re[VRB2_MLD_LAY_SIZE] = {8, 12, 16}; /* Layer 2 to 4. */
| ^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4268:36: error: 'struct rte_bbdev_mldts_op' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4268 | vrb2_check_mld_r_constraint(struct rte_bbdev_mldts_op *op) {
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb2_check_mld_r_constraint':
../drivers/baseband/acc/rte_vrb_pmd.c:4275:15: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4275 | if (op->mldts.c_rep == 0)
| ^~
In file included from ../drivers/baseband/acc/rte_vrb_pmd.c:7:
../drivers/baseband/acc/rte_vrb_pmd.c:4278:31: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4278 | layer_idx = RTE_MIN(op->mldts.num_layers - VRB2_MLD_MIN_LAYER,
| ^~
../lib/eal/include/rte_common.h:615:25: note: in definition of macro 'RTE_MIN'
615 | typeof (a) _a = (a); \
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4278:31: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4278 | layer_idx = RTE_MIN(op->mldts.num_layers - VRB2_MLD_MIN_LAYER,
| ^~
../lib/eal/include/rte_common.h:615:34: note: in definition of macro 'RTE_MIN'
615 | typeof (a) _a = (a); \
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4280:30: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4280 | rrep_idx = RTE_MIN(op->mldts.r_rep, VRB2_MLD_MAX_RREP);
| ^~
../lib/eal/include/rte_common.h:615:25: note: in definition of macro 'RTE_MIN'
615 | typeof (a) _a = (a); \
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4280:30: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4280 | rrep_idx = RTE_MIN(op->mldts.r_rep, VRB2_MLD_MAX_RREP);
| ^~
../lib/eal/include/rte_common.h:615:34: note: in definition of macro 'RTE_MIN'
615 | typeof (a) _a = (a); \
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4281:61: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4281 | rte_bbdev_log_debug("RB %d index %d %d max %d\n", op->mldts.num_rbs, layer_idx, rrep_idx,
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro 'rte_bbdev_log'
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4281:9: note: in expansion of macro 'rte_bbdev_log_debug'
4281 | rte_bbdev_log_debug("RB %d index %d %d max %d\n", op->mldts.num_rbs, layer_idx, rrep_idx,
| ^~~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4284:19: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4284 | return (op->mldts.num_rbs <= max_rb[layer_idx][rrep_idx]);
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4289:52: error: 'struct rte_bbdev_mldts_op' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4289 | enqueue_mldts_split_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'enqueue_mldts_split_op':
../drivers/baseband/acc/rte_vrb_pmd.c:4304:21: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4304 | input_q = op->mldts.qhy_input.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4305:21: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4305 | input_r = op->mldts.r_input.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4306:20: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4306 | output = op->mldts.output.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4307:23: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4307 | in_offset = op->mldts.qhy_input.offset;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4308:24: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4308 | out_offset = op->mldts.output.offset;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4309:22: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4309 | num_syms = op->mldts.c_rep + 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4311:29: error: passing argument 1 of 'vrb2_fcw_mldts_fill' from incompatible pointer type [-Werror=incompatible-pointer-types]
4311 | vrb2_fcw_mldts_fill(op, fcw);
| ^~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4192:48: note: expected 'struct rte_bbdev_mldts_op *' but argument is of type 'struct rte_bbdev_mldts_op *'
4192 | vrb2_fcw_mldts_fill(struct rte_bbdev_mldts_op *op, struct acc_fcw_mldts *fcw)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c:4315:15: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4315 | if (op->mldts.r_rep > 5)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4316:19: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4316 | op->mldts.r_rep = 5;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4317:15: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4317 | if (op->mldts.num_layers < 2)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4318:19: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4318 | op->mldts.num_layers = 2;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4319:15: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4319 | if (op->mldts.num_layers > 4)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4320:19: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4320 | op->mldts.num_layers = 4;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4322:27: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4322 | for (i = 0; i < op->mldts.num_layers; i++)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4323:37: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4323 | outsize_per_re += op->mldts.q_m[i];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4324:20: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4324 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB; /* C rep forced to zero. */
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4324:38: error: 'RTE_BBDEV_SCPERRB' undeclared (first use in this function); did you mean 'RTE_BBDEV_CRC_ERROR'?
4324 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB; /* C rep forced to zero. */
| ^~~~~~~~~~~~~~~~~
| RTE_BBDEV_CRC_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c:4325:19: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4325 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4325:58: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4325 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4326:33: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4326 | q_size = qsize_per_re[op->mldts.num_layers - 2] * sc_num;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4327:33: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4327 | r_size = rsize_per_re[op->mldts.num_layers - 2] * r_num;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4294:18: error: variable 'sc_factor_per_rrep' set but not used [-Werror=unused-but-set-variable]
4294 | uint16_t sc_factor_per_rrep[VRB2_MLD_RREP_SIZE] = {12, 6, 4, 3, 0, 2};
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4293:18: error: variable 'rsize_per_re' set but not used [-Werror=unused-but-set-variable]
4293 | uint16_t rsize_per_re[VRB2_MLD_LAY_SIZE] = {14, 26, 42};
| ^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4292:18: error: variable 'qsize_per_re' set but not used [-Werror=unused-but-set-variable]
4292 | uint16_t qsize_per_re[VRB2_MLD_LAY_SIZE] = {8, 12, 16}; /* Layer 2 to 4. */
| ^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4371:50: error: 'struct rte_bbdev_mldts_op' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4371 | enqueue_mldts_one_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'enqueue_mldts_one_op':
../drivers/baseband/acc/rte_vrb_pmd.c:4382:21: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4382 | input_q = op->mldts.qhy_input.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4383:21: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4383 | input_r = op->mldts.r_input.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4384:20: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4384 | output = op->mldts.output.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4385:23: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4385 | in_offset = op->mldts.qhy_input.offset;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4386:24: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4386 | out_offset = op->mldts.output.offset;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4388:29: error: passing argument 1 of 'vrb2_fcw_mldts_fill' from incompatible pointer type [-Werror=incompatible-pointer-types]
4388 | vrb2_fcw_mldts_fill(op, fcw);
| ^~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4192:48: note: expected 'struct rte_bbdev_mldts_op *' but argument is of type 'struct rte_bbdev_mldts_op *'
4192 | vrb2_fcw_mldts_fill(struct rte_bbdev_mldts_op *op, struct acc_fcw_mldts *fcw)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c:4389:34: error: passing argument 1 of 'vrb2_dma_desc_mldts_fill' from incompatible pointer type [-Werror=incompatible-pointer-types]
4389 | vrb2_dma_desc_mldts_fill(op, &desc->req, input_q, input_r, output,
| ^~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4213:53: note: expected 'struct rte_bbdev_mldts_op *' but argument is of type 'struct rte_bbdev_mldts_op *'
4213 | vrb2_dma_desc_mldts_fill(struct rte_bbdev_mldts_op *op,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4401:24: error: 'struct rte_bbdev_mldts_op' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4401 | struct rte_bbdev_mldts_op **ops, uint16_t num)
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb2_enqueue_mldts':
../drivers/baseband/acc/rte_vrb_pmd.c:4415:60: error: passing argument 1 of 'vrb2_check_mld_r_constraint' from incompatible pointer type [-Werror=incompatible-pointer-types]
4415 | as_one_op = vrb2_check_mld_r_constraint(ops[i]);
| ~~~^~~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4268:56: note: expected 'struct rte_bbdev_mldts_op *' but argument is of type 'struct rte_bbdev_mldts_op *'
4268 | vrb2_check_mld_r_constraint(struct rte_bbdev_mldts_op *op) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c:4416:53: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4416 | descs_in_op = as_one_op ? 1 : ops[i]->mldts.c_rep + 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4426:58: error: passing argument 2 of 'enqueue_mldts_one_op' from incompatible pointer type [-Werror=incompatible-pointer-types]
4426 | ret = enqueue_mldts_one_op(q, ops[i], enqueued_descs);
| ~~~^~~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4371:70: note: expected 'struct rte_bbdev_mldts_op *' but argument is of type 'struct rte_bbdev_mldts_op *'
4371 | enqueue_mldts_one_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c:4428:60: error: passing argument 2 of 'enqueue_mldts_split_op' from incompatible pointer type [-Werror=incompatible-pointer-types]
4428 | ret = enqueue_mldts_split_op(q, ops[i], enqueued_descs);
| ~~~^~~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4289:72: note: expected 'struct rte_bbdev_mldts_op *' but argument is of type 'struct rte_bbdev_mldts_op *'
4289 | enqueue_mldts_split_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4455:45: error: 'struct rte_bbdev_mldts_op' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4455 | struct acc_queue *q, struct rte_bbdev_mldts_op **ref_op,
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'dequeue_mldts_one_op':
../drivers/baseband/acc/rte_vrb_pmd.c:4499:11: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4499 | op->status = 0;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4505:19: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4505 | op->status |= rsp.input_err << RTE_BBDEV_DATA_ERROR;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4506:19: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4506 | op->status |= rsp.dma_err << RTE_BBDEV_DRV_ERROR;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4507:19: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4507 | op->status |= rsp.fcw_err << RTE_BBDEV_DRV_ERROR;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4508:19: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4508 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4508:50: error: 'RTE_BBDEV_ENGINE_ERROR' undeclared (first use in this function); did you mean 'RTE_BBDEV_EVENT_ERROR'?
4508 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c:4511:15: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4511 | if (op->status != 0)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4513:15: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4513 | if (op->status & (1 << RTE_BBDEV_DRV_ERROR))
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4531:24: error: 'struct rte_bbdev_mldts_op' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4531 | struct rte_bbdev_mldts_op **ops, uint16_t num)
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb2_dequeue_mldts':
../drivers/baseband/acc/rte_vrb_pmd.c:4542:55: error: passing argument 3 of 'dequeue_mldts_one_op' from incompatible pointer type [-Werror=incompatible-pointer-types]
4542 | ret = dequeue_mldts_one_op(q_data, q, &ops[i], dequeued_cbs, &aq_dequeued);
| ^~~~~~~
| |
| struct rte_bbdev_mldts_op **
../drivers/baseband/acc/rte_vrb_pmd.c:4455:66: note: expected 'struct rte_bbdev_mldts_op **' but argument is of type 'struct rte_bbdev_mldts_op **'
4455 | struct acc_queue *q, struct rte_bbdev_mldts_op **ref_op,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb_bbdev_init':
../drivers/baseband/acc/rte_vrb_pmd.c:4573:14: error: 'struct rte_bbdev' has no member named 'enqueue_mldts_ops'; did you mean 'enqueue_dec_ops'?
4573 | dev->enqueue_mldts_ops = vrb2_enqueue_mldts;
| ^~~~~~~~~~~~~~~~~
| enqueue_dec_ops
../drivers/baseband/acc/rte_vrb_pmd.c:4574:14: error: 'struct rte_bbdev' has no member named 'dequeue_mldts_ops'; did you mean 'dequeue_dec_ops'?
4574 | dev->dequeue_mldts_ops = vrb2_dequeue_mldts;
| ^~~~~~~~~~~~~~~~~
| dequeue_dec_ops
cc1: all warnings being treated as errors
[1464/1932] Compiling C object drivers/librte_event_opdl.a.p/meson-generated_.._rte_event_opdl.pmd.c.o
[1465/1932] Compiling C object drivers/libtmp_rte_baseband_fpga_lte_fec.a.p/baseband_fpga_lte_fec_fpga_lte_fec.c.o
[1466/1932] Generating drivers/rte_baseband_la12xx.pmd.c with a custom command
[1467/1932] Generating drivers/rte_event_sw.pmd.c with a custom command
[1468/1932] Compiling C object drivers/libtmp_rte_baseband_fpga_5gnr_fec.a.p/baseband_fpga_5gnr_fec_rte_fpga_5gnr_fec.c.o
[1469/1932] Compiling C object drivers/libtmp_rte_baseband_null.a.p/baseband_null_bbdev_null.c.o
[1470/1932] Compiling C object app/dpdk-dumpcap.p/dumpcap_main.c.o
[1471/1932] Compiling C object drivers/libtmp_rte_baseband_turbo_sw.a.p/baseband_turbo_sw_bbdev_turbo_software.c.o
[1472/1932] Compiling C object drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_acc100_pmd.c.o
ninja: build stopped
*Build Failed #6:
OS: RHEL92-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o
gcc -Idrivers/libtmp_rte_baseband_acc.a.p -Idrivers -I../drivers -Idrivers/baseband/acc -I../drivers/baseband/acc -Ilib/bbdev -I../lib/bbdev -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/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -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-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.bb.acc -MD -MQ drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o -MF drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o.d -o drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o -c ../drivers/baseband/acc/rte_vrb_pmd.c
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_queue_setup’:
../drivers/baseband/acc/rte_vrb_pmd.c:1037:36: error: ‘RTE_BBDEV_OP_MLDTS’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_OP_FFT’?
1037 | else if (conf->op_type == RTE_BBDEV_OP_MLDTS)
| ^~~~~~~~~~~~~~~~~~
| RTE_BBDEV_OP_FFT
../drivers/baseband/acc/rte_vrb_pmd.c:1037:36: note: each undeclared identifier is reported only once for each function it appears in
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_print_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:1095:31: error: ‘RTE_BBDEV_OP_MLDTS’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_OP_FFT’?
1095 | } else if (op_type == RTE_BBDEV_OP_MLDTS) {
| ^~~~~~~~~~~~~~~~~~
| RTE_BBDEV_OP_FFT
In file included from ../drivers/baseband/acc/rte_vrb_pmd.c:22:
../drivers/baseband/acc/rte_vrb_pmd.c:1099:41: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
1099 | op_mldts->mldts.num_rbs, op_mldts->mldts.num_layers,
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro ‘rte_bbdev_log’
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1099:66: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
1099 | op_mldts->mldts.num_rbs, op_mldts->mldts.num_layers,
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro ‘rte_bbdev_log’
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1100:41: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
1100 | op_mldts->mldts.r_rep,
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro ‘rte_bbdev_log’
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1101:41: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
1101 | op_mldts->mldts.c_rep, op_mldts->mldts.op_flags);
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro ‘rte_bbdev_log’
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1101:64: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
1101 | op_mldts->mldts.c_rep, op_mldts->mldts.op_flags);
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro ‘rte_bbdev_log’
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dev_info_get’:
../drivers/baseband/acc/rte_vrb_pmd.c:1332:33: error: ‘RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION’?
1332 | RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION
../drivers/baseband/acc/rte_vrb_pmd.c:1366:35: error: ‘RTE_BBDEV_OP_MLDTS’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_OP_FFT’?
1366 | .type = RTE_BBDEV_OP_MLDTS,
| ^~~~~~~~~~~~~~~~~~
| RTE_BBDEV_OP_FFT
../drivers/baseband/acc/rte_vrb_pmd.c:1369:49: error: ‘RTE_BBDEV_MLDTS_REP’ undeclared (first use in this function)
1369 | RTE_BBDEV_MLDTS_REP,
| ^~~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_fcw_ld_fill’:
../drivers/baseband/acc/rte_vrb_pmd.c:1972:53: error: ‘RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION’?
1972 | } else if (check_bit(op->ldpc_dec.op_flags, RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION)) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_enc_one_op_cb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3373:50: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
3373 | op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_dequeue_ldpc_enc_one_op_tb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3425:42: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
3425 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_enc_one_op_tb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3493:58: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
3493 | op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_dec_one_op_cb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3540:42: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
3540 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_ldpc_dec_one_op_cb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3595:42: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
3595 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_dec_one_op_tb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3677:58: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
3677 | op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_dma_desc_fft_fill’:
../drivers/baseband/acc/rte_vrb_pmd.c:3990:51: error: ‘RTE_BBDEV_FFT_DEWINDOWING’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_FFT_WINDOWING’?
3990 | bool win_en = check_bit(op->fft.op_flags, RTE_BBDEV_FFT_DEWINDOWING);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_FFT_WINDOWING
../drivers/baseband/acc/rte_vrb_pmd.c:4016:25: error: ‘RTE_BBDEV_MAX_CS’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_MAX_CS_2’?
4016 | for (i = 0; i < RTE_BBDEV_MAX_CS; i++)
| ^~~~~~~~~~~~~~~~
| RTE_BBDEV_MAX_CS_2
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_enqueue_fft_one_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4049:22: error: ‘struct rte_bbdev_op_fft’ has no member named ‘dewindowing_input’
4049 | win = op->fft.dewindowing_input.data;
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4053:29: error: ‘struct rte_bbdev_op_fft’ has no member named ‘dewindowing_input’
4053 | win_offset = op->fft.dewindowing_input.offset;
| ^
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_fft_one_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4142:42: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
4142 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4192:28: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4192 | vrb2_fcw_mldts_fill(struct rte_bbdev_mldts_op *op, struct acc_fcw_mldts *fcw)
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_fcw_mldts_fill’:
../drivers/baseband/acc/rte_vrb_pmd.c:4194:22: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4194 | fcw->nrb = op->mldts.num_rbs;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4195:26: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4195 | fcw->NLayers = op->mldts.num_layers - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4196:25: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4196 | fcw->Qmod0 = (op->mldts.q_m[0] >> 1) - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4197:25: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4197 | fcw->Qmod1 = (op->mldts.q_m[1] >> 1) - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4198:25: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4198 | fcw->Qmod2 = (op->mldts.q_m[2] >> 1) - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4199:25: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4199 | fcw->Qmod3 = (op->mldts.q_m[3] >> 1) - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4201:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4201 | if (op->mldts.num_layers == 2) {
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4205:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4205 | if (op->mldts.num_layers == 3)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4207:23: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4207 | fcw->Rrep = op->mldts.r_rep;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4208:23: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4208 | fcw->Crep = op->mldts.c_rep;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4213:33: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4213 | vrb2_dma_desc_mldts_fill(struct rte_bbdev_mldts_op *op,
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_dma_desc_mldts_fill’:
../drivers/baseband/acc/rte_vrb_pmd.c:4226:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4226 | if (op->mldts.r_rep > 5)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4227:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4227 | op->mldts.r_rep = 5;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4228:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4228 | if (op->mldts.num_layers < 2)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4229:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4229 | op->mldts.num_layers = 2;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4230:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4230 | if (op->mldts.num_layers > 4)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4231:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4231 | op->mldts.num_layers = 4;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4232:27: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4232 | for (i = 0; i < op->mldts.num_layers; i++)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4233:37: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4233 | outsize_per_re += op->mldts.q_m[i];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4234:20: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4234 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB * (op->mldts.c_rep + 1);
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4234:38: error: ‘RTE_BBDEV_SCPERRB’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_CRC_ERROR’?
4234 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB * (op->mldts.c_rep + 1);
| ^~~~~~~~~~~~~~~~~
| RTE_BBDEV_CRC_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c:4234:61: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4234 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB * (op->mldts.c_rep + 1);
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4235:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4235 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4235:58: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4235 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4236:33: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4236 | q_size = qsize_per_re[op->mldts.num_layers - 2] * sc_num;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4237:33: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4237 | r_size = rsize_per_re[op->mldts.num_layers - 2] * r_num;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4221:18: error: variable ‘sc_factor_per_rrep’ set but not used [-Werror=unused-but-set-variable]
4221 | uint16_t sc_factor_per_rrep[VRB2_MLD_RREP_SIZE] = {12, 6, 4, 3, 0, 2};
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4220:18: error: variable ‘rsize_per_re’ set but not used [-Werror=unused-but-set-variable]
4220 | uint16_t rsize_per_re[VRB2_MLD_LAY_SIZE] = {14, 26, 42};
| ^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4219:18: error: variable ‘qsize_per_re’ set but not used [-Werror=unused-but-set-variable]
4219 | uint16_t qsize_per_re[VRB2_MLD_LAY_SIZE] = {8, 12, 16}; /* Layer 2 to 4. */
| ^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4268:36: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4268 | vrb2_check_mld_r_constraint(struct rte_bbdev_mldts_op *op) {
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_check_mld_r_constraint’:
../drivers/baseband/acc/rte_vrb_pmd.c:4275:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4275 | if (op->mldts.c_rep == 0)
| ^~
In file included from ../drivers/baseband/acc/rte_vrb_pmd.c:7:
../drivers/baseband/acc/rte_vrb_pmd.c:4278:31: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4278 | layer_idx = RTE_MIN(op->mldts.num_layers - VRB2_MLD_MIN_LAYER,
| ^~
../lib/eal/include/rte_common.h:615:25: note: in definition of macro ‘RTE_MIN’
615 | typeof (a) _a = (a); \
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4278:31: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4278 | layer_idx = RTE_MIN(op->mldts.num_layers - VRB2_MLD_MIN_LAYER,
| ^~
../lib/eal/include/rte_common.h:615:34: note: in definition of macro ‘RTE_MIN’
615 | typeof (a) _a = (a); \
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4280:30: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4280 | rrep_idx = RTE_MIN(op->mldts.r_rep, VRB2_MLD_MAX_RREP);
| ^~
../lib/eal/include/rte_common.h:615:25: note: in definition of macro ‘RTE_MIN’
615 | typeof (a) _a = (a); \
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4280:30: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4280 | rrep_idx = RTE_MIN(op->mldts.r_rep, VRB2_MLD_MAX_RREP);
| ^~
../lib/eal/include/rte_common.h:615:34: note: in definition of macro ‘RTE_MIN’
615 | typeof (a) _a = (a); \
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4284:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4284 | return (op->mldts.num_rbs <= max_rb[layer_idx][rrep_idx]);
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4289:52: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4289 | enqueue_mldts_split_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘enqueue_mldts_split_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4304:21: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4304 | input_q = op->mldts.qhy_input.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4305:21: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4305 | input_r = op->mldts.r_input.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4306:20: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4306 | output = op->mldts.output.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4307:23: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4307 | in_offset = op->mldts.qhy_input.offset;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4308:24: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4308 | out_offset = op->mldts.output.offset;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4309:22: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4309 | num_syms = op->mldts.c_rep + 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4311:29: error: passing argument 1 of ‘vrb2_fcw_mldts_fill’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4311 | vrb2_fcw_mldts_fill(op, fcw);
| ^~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4192:48: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
4192 | vrb2_fcw_mldts_fill(struct rte_bbdev_mldts_op *op, struct acc_fcw_mldts *fcw)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c:4315:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4315 | if (op->mldts.r_rep > 5)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4316:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4316 | op->mldts.r_rep = 5;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4317:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4317 | if (op->mldts.num_layers < 2)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4318:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4318 | op->mldts.num_layers = 2;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4319:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4319 | if (op->mldts.num_layers > 4)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4320:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4320 | op->mldts.num_layers = 4;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4322:27: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4322 | for (i = 0; i < op->mldts.num_layers; i++)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4323:37: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4323 | outsize_per_re += op->mldts.q_m[i];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4324:20: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4324 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB; /* C rep forced to zero. */
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4324:38: error: ‘RTE_BBDEV_SCPERRB’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_CRC_ERROR’?
4324 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB; /* C rep forced to zero. */
| ^~~~~~~~~~~~~~~~~
| RTE_BBDEV_CRC_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c:4325:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4325 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4325:58: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4325 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4326:33: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4326 | q_size = qsize_per_re[op->mldts.num_layers - 2] * sc_num;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4327:33: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4327 | r_size = rsize_per_re[op->mldts.num_layers - 2] * r_num;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4294:18: error: variable ‘sc_factor_per_rrep’ set but not used [-Werror=unused-but-set-variable]
4294 | uint16_t sc_factor_per_rrep[VRB2_MLD_RREP_SIZE] = {12, 6, 4, 3, 0, 2};
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4293:18: error: variable ‘rsize_per_re’ set but not used [-Werror=unused-but-set-variable]
4293 | uint16_t rsize_per_re[VRB2_MLD_LAY_SIZE] = {14, 26, 42};
| ^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4292:18: error: variable ‘qsize_per_re’ set but not used [-Werror=unused-but-set-variable]
4292 | uint16_t qsize_per_re[VRB2_MLD_LAY_SIZE] = {8, 12, 16}; /* Layer 2 to 4. */
| ^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4371:50: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4371 | enqueue_mldts_one_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘enqueue_mldts_one_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4382:21: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4382 | input_q = op->mldts.qhy_input.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4383:21: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4383 | input_r = op->mldts.r_input.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4384:20: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4384 | output = op->mldts.output.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4385:23: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4385 | in_offset = op->mldts.qhy_input.offset;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4386:24: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4386 | out_offset = op->mldts.output.offset;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4388:29: error: passing argument 1 of ‘vrb2_fcw_mldts_fill’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4388 | vrb2_fcw_mldts_fill(op, fcw);
| ^~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4192:48: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
4192 | vrb2_fcw_mldts_fill(struct rte_bbdev_mldts_op *op, struct acc_fcw_mldts *fcw)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c:4389:34: error: passing argument 1 of ‘vrb2_dma_desc_mldts_fill’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4389 | vrb2_dma_desc_mldts_fill(op, &desc->req, input_q, input_r, output,
| ^~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4213:53: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
4213 | vrb2_dma_desc_mldts_fill(struct rte_bbdev_mldts_op *op,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4401:24: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4401 | struct rte_bbdev_mldts_op **ops, uint16_t num)
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_enqueue_mldts’:
../drivers/baseband/acc/rte_vrb_pmd.c:4415:60: error: passing argument 1 of ‘vrb2_check_mld_r_constraint’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4415 | as_one_op = vrb2_check_mld_r_constraint(ops[i]);
| ~~~^~~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4268:56: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
4268 | vrb2_check_mld_r_constraint(struct rte_bbdev_mldts_op *op) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c:4416:53: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4416 | descs_in_op = as_one_op ? 1 : ops[i]->mldts.c_rep + 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4426:58: error: passing argument 2 of ‘enqueue_mldts_one_op’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4426 | ret = enqueue_mldts_one_op(q, ops[i], enqueued_descs);
| ~~~^~~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4371:70: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
4371 | enqueue_mldts_one_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c:4428:60: error: passing argument 2 of ‘enqueue_mldts_split_op’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4428 | ret = enqueue_mldts_split_op(q, ops[i], enqueued_descs);
| ~~~^~~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4289:72: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
4289 | enqueue_mldts_split_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4455:45: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4455 | struct acc_queue *q, struct rte_bbdev_mldts_op **ref_op,
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘dequeue_mldts_one_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4499:11: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4499 | op->status = 0;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4505:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4505 | op->status |= rsp.input_err << RTE_BBDEV_DATA_ERROR;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4506:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4506 | op->status |= rsp.dma_err << RTE_BBDEV_DRV_ERROR;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4507:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4507 | op->status |= rsp.fcw_err << RTE_BBDEV_DRV_ERROR;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4508:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4508 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4508:50: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
4508 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c:4511:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4511 | if (op->status != 0)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4513:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4513 | if (op->status & (1 << RTE_BBDEV_DRV_ERROR))
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4531:24: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4531 | struct rte_bbdev_mldts_op **ops, uint16_t num)
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_dequeue_mldts’:
../drivers/baseband/acc/rte_vrb_pmd.c:4542:55: error: passing argument 3 of ‘dequeue_mldts_one_op’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4542 | ret = dequeue_mldts_one_op(q_data, q, &ops[i], dequeued_cbs, &aq_dequeued);
| ^~~~~~~
| |
| struct rte_bbdev_mldts_op **
../drivers/baseband/acc/rte_vrb_pmd.c:4455:66: note: expected ‘struct rte_bbdev_mldts_op **’ but argument is of type ‘struct rte_bbdev_mldts_op **’
4455 | struct acc_queue *q, struct rte_bbdev_mldts_op **ref_op,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_bbdev_init’:
../drivers/baseband/acc/rte_vrb_pmd.c:4573:14: error: ‘struct rte_bbdev’ has no member named ‘enqueue_mldts_ops’; did you mean ‘enqueue_dec_ops’?
4573 | dev->enqueue_mldts_ops = vrb2_enqueue_mldts;
| ^~~~~~~~~~~~~~~~~
| enqueue_dec_ops
../drivers/baseband/acc/rte_vrb_pmd.c:4574:14: error: ‘struct rte_bbdev’ has no member named ‘dequeue_mldts_ops’; did you mean ‘dequeue_dec_ops’?
4574 | dev->dequeue_mldts_ops = vrb2_dequeue_mldts;
| ^~~~~~~~~~~~~~~~~
| dequeue_dec_ops
cc1: all warnings being treated as errors
[2254/2765] Linking static target drivers/librte_event_sw.a
[2255/2765] Linking static target drivers/libtmp_rte_event_octeontx.a
[2256/2765] Compiling C object drivers/libtmp_rte_baseband_fpga_lte_fec.a.p/baseband_fpga_lte_fec_fpga_lte_fec.c.o
[2257/2765] Compiling C object drivers/libtmp_rte_baseband_la12xx.a.p/baseband_la12xx_bbdev_la12xx.c.o
[2258/2765] Compiling C object drivers/libtmp_rte_baseband_fpga_5gnr_fec.a.p/baseband_fpga_5gnr_fec_rte_fpga_5gnr_fec.c.o
[2259/2765] Compiling C object app/dpdk-dumpcap.p/dumpcap_main.c.o
[2260/2765] Compiling C object drivers/libtmp_rte_baseband_null.a.p/baseband_null_bbdev_null.c.o
[2261/2765] Compiling C object drivers/libtmp_rte_baseband_turbo_sw.a.p/baseband_turbo_sw_bbdev_turbo_software.c.o
[2262/2765] Compiling C object drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_acc100_pmd.c.o
ninja: build stopped
*Build Failed #7:
OS: RHEL92-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o
clang -Idrivers/libtmp_rte_baseband_acc.a.p -Idrivers -I../drivers -Idrivers/baseband/acc -I../drivers/baseband/acc -Ilib/bbdev -I../lib/bbdev -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/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -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=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=pmd.bb.acc -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o -MF drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o.d -o drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o -c ../drivers/baseband/acc/rte_vrb_pmd.c
../drivers/baseband/acc/rte_vrb_pmd.c:1037:29: error: use of undeclared identifier 'RTE_BBDEV_OP_MLDTS'; did you mean 'RTE_BBDEV_OP_FFT'?
else if (conf->op_type == RTE_BBDEV_OP_MLDTS)
^~~~~~~~~~~~~~~~~~
RTE_BBDEV_OP_FFT
../lib/bbdev/rte_bbdev_op.h:858:2: note: 'RTE_BBDEV_OP_FFT' declared here
RTE_BBDEV_OP_FFT, /**< FFT */
^
../drivers/baseband/acc/rte_vrb_pmd.c:1095:24: error: use of undeclared identifier 'RTE_BBDEV_OP_MLDTS'; did you mean 'RTE_BBDEV_OP_FFT'?
} else if (op_type == RTE_BBDEV_OP_MLDTS) {
^~~~~~~~~~~~~~~~~~
RTE_BBDEV_OP_FFT
../lib/bbdev/rte_bbdev_op.h:858:2: note: 'RTE_BBDEV_OP_FFT' declared here
RTE_BBDEV_OP_FFT, /**< FFT */
^
../drivers/baseband/acc/rte_vrb_pmd.c:1099:13: error: incomplete definition of type 'struct rte_bbdev_mldts_op'
op_mldts->mldts.num_rbs, op_mldts->mldts.num_layers,
~~~~~~~~^
../drivers/baseband/acc/vrb_pmd.h:18:5: note: expanded from macro 'rte_bbdev_log'
##__VA_ARGS__)
^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1096:10: note: forward declaration of 'struct rte_bbdev_mldts_op'
struct rte_bbdev_mldts_op *op_mldts = (struct rte_bbdev_mldts_op *) op;
^
../drivers/baseband/acc/rte_vrb_pmd.c:1099:38: error: incomplete definition of type 'struct rte_bbdev_mldts_op'
op_mldts->mldts.num_rbs, op_mldts->mldts.num_layers,
~~~~~~~~^
../drivers/baseband/acc/vrb_pmd.h:18:5: note: expanded from macro 'rte_bbdev_log'
##__VA_ARGS__)
^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1096:10: note: forward declaration of 'struct rte_bbdev_mldts_op'
struct rte_bbdev_mldts_op *op_mldts = (struct rte_bbdev_mldts_op *) op;
^
../drivers/baseband/acc/rte_vrb_pmd.c:1100:13: error: incomplete definition of type 'struct rte_bbdev_mldts_op'
op_mldts->mldts.r_rep,
~~~~~~~~^
../drivers/baseband/acc/vrb_pmd.h:18:5: note: expanded from macro 'rte_bbdev_log'
##__VA_ARGS__)
^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1096:10: note: forward declaration of 'struct rte_bbdev_mldts_op'
struct rte_bbdev_mldts_op *op_mldts = (struct rte_bbdev_mldts_op *) op;
^
../drivers/baseband/acc/rte_vrb_pmd.c:1101:13: error: incomplete definition of type 'struct rte_bbdev_mldts_op'
op_mldts->mldts.c_rep, op_mldts->mldts.op_flags);
~~~~~~~~^
../drivers/baseband/acc/vrb_pmd.h:18:5: note: expanded from macro 'rte_bbdev_log'
##__VA_ARGS__)
^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1096:10: note: forward declaration of 'struct rte_bbdev_mldts_op'
struct rte_bbdev_mldts_op *op_mldts = (struct rte_bbdev_mldts_op *) op;
^
../drivers/baseband/acc/rte_vrb_pmd.c:1101:36: error: incomplete definition of type 'struct rte_bbdev_mldts_op'
op_mldts->mldts.c_rep, op_mldts->mldts.op_flags);
~~~~~~~~^
../drivers/baseband/acc/vrb_pmd.h:18:5: note: expanded from macro 'rte_bbdev_log'
##__VA_ARGS__)
^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1096:10: note: forward declaration of 'struct rte_bbdev_mldts_op'
struct rte_bbdev_mldts_op *op_mldts = (struct rte_bbdev_mldts_op *) op;
^
../drivers/baseband/acc/rte_vrb_pmd.c:1332:5: error: use of undeclared identifier 'RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION'; did you mean 'RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION'?
RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION
../lib/bbdev/rte_bbdev_op.h:182:2: note: 'RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION' declared here
RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION = (1ULL << 14),
^
../drivers/baseband/acc/rte_vrb_pmd.c:1366:12: error: use of undeclared identifier 'RTE_BBDEV_OP_MLDTS'; did you mean 'RTE_BBDEV_OP_FFT'?
.type = RTE_BBDEV_OP_MLDTS,
^~~~~~~~~~~~~~~~~~
RTE_BBDEV_OP_FFT
../lib/bbdev/rte_bbdev_op.h:858:2: note: 'RTE_BBDEV_OP_FFT' declared here
RTE_BBDEV_OP_FFT, /**< FFT */
^
../drivers/baseband/acc/rte_vrb_pmd.c:1369:7: error: use of undeclared identifier 'RTE_BBDEV_MLDTS_REP'
RTE_BBDEV_MLDTS_REP,
^
../drivers/baseband/acc/rte_vrb_pmd.c:1403:23: error: use of undeclared identifier 'RTE_BBDEV_OP_MLDTS'; did you mean 'RTE_BBDEV_OP_FFT'?
dev_info->num_queues[RTE_BBDEV_OP_MLDTS] = d->acc_conf.q_mld.num_aqs_per_groups *
^~~~~~~~~~~~~~~~~~
RTE_BBDEV_OP_FFT
../lib/bbdev/rte_bbdev_op.h:858:2: note: 'RTE_BBDEV_OP_FFT' declared here
RTE_BBDEV_OP_FFT, /**< FFT */
^
../drivers/baseband/acc/rte_vrb_pmd.c:1410:27: error: use of undeclared identifier 'RTE_BBDEV_OP_MLDTS'; did you mean 'RTE_BBDEV_OP_FFT'?
dev_info->queue_priority[RTE_BBDEV_OP_MLDTS] = d->acc_conf.q_mld.num_qgroups;
^~~~~~~~~~~~~~~~~~
RTE_BBDEV_OP_FFT
../lib/bbdev/rte_bbdev_op.h:858:2: note: 'RTE_BBDEV_OP_FFT' declared here
RTE_BBDEV_OP_FFT, /**< FFT */
^
../drivers/baseband/acc/rte_vrb_pmd.c:1412:35: error: use of undeclared identifier 'RTE_BBDEV_OP_MLDTS'; did you mean 'RTE_BBDEV_OP_FFT'?
for (i = RTE_BBDEV_OP_NONE; i <= RTE_BBDEV_OP_MLDTS; i++)
^~~~~~~~~~~~~~~~~~
RTE_BBDEV_OP_FFT
../lib/bbdev/rte_bbdev_op.h:858:2: note: 'RTE_BBDEV_OP_FFT' declared here
RTE_BBDEV_OP_FFT, /**< FFT */
^
../drivers/baseband/acc/rte_vrb_pmd.c:1972:46: error: use of undeclared identifier 'RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION'; did you mean 'RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION'?
} else if (check_bit(op->ldpc_dec.op_flags, RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION)) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION
../lib/bbdev/rte_bbdev_op.h:182:2: note: 'RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION' declared here
RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION = (1ULL << 14),
^
../drivers/baseband/acc/rte_vrb_pmd.c:3373:43: error: use of undeclared identifier 'RTE_BBDEV_ENGINE_ERROR'; did you mean 'RTE_BBDEV_EVENT_ERROR'?
op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
^~~~~~~~~~~~~~~~~~~~~~
RTE_BBDEV_EVENT_ERROR
../lib/bbdev/rte_bbdev.h:831:2: note: 'RTE_BBDEV_EVENT_ERROR' declared here
RTE_BBDEV_EVENT_ERROR, /**< error interrupt event */
^
../drivers/baseband/acc/rte_vrb_pmd.c:3425:35: error: use of undeclared identifier 'RTE_BBDEV_ENGINE_ERROR'; did you mean 'RTE_BBDEV_EVENT_ERROR'?
op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
^~~~~~~~~~~~~~~~~~~~~~
RTE_BBDEV_EVENT_ERROR
../lib/bbdev/rte_bbdev.h:831:2: note: 'RTE_BBDEV_EVENT_ERROR' declared here
RTE_BBDEV_EVENT_ERROR, /**< error interrupt event */
^
../drivers/baseband/acc/rte_vrb_pmd.c:3493:44: error: use of undeclared identifier 'RTE_BBDEV_ENGINE_ERROR'; did you mean 'RTE_BBDEV_EVENT_ERROR'?
op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
^~~~~~~~~~~~~~~~~~~~~~
RTE_BBDEV_EVENT_ERROR
../lib/bbdev/rte_bbdev.h:831:2: note: 'RTE_BBDEV_EVENT_ERROR' declared here
RTE_BBDEV_EVENT_ERROR, /**< error interrupt event */
^
../drivers/baseband/acc/rte_vrb_pmd.c:3540:35: error: use of undeclared identifier 'RTE_BBDEV_ENGINE_ERROR'; did you mean 'RTE_BBDEV_EVENT_ERROR'?
op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
^~~~~~~~~~~~~~~~~~~~~~
RTE_BBDEV_EVENT_ERROR
../lib/bbdev/rte_bbdev.h:831:2: note: 'RTE_BBDEV_EVENT_ERROR' declared here
RTE_BBDEV_EVENT_ERROR, /**< error interrupt event */
^
../drivers/baseband/acc/rte_vrb_pmd.c:3595:35: error: use of undeclared identifier 'RTE_BBDEV_ENGINE_ERROR'; did you mean 'RTE_BBDEV_EVENT_ERROR'?
op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
^~~~~~~~~~~~~~~~~~~~~~
RTE_BBDEV_EVENT_ERROR
../lib/bbdev/rte_bbdev.h:831:2: note: 'RTE_BBDEV_EVENT_ERROR' declared here
RTE_BBDEV_EVENT_ERROR, /**< error interrupt event */
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[2213/2726] Compiling C object drivers/librte_event_sw.a.p/meson-generated_.._rte_event_sw.pmd.c.o
[2214/2726] Generating drivers/rte_event_octeontx.pmd.c with a custom command
[2215/2726] Compiling C object drivers/libtmp_rte_baseband_la12xx.a.p/baseband_la12xx_bbdev_la12xx.c.o
[2216/2726] Compiling C object drivers/libtmp_rte_baseband_fpga_lte_fec.a.p/baseband_fpga_lte_fec_fpga_lte_fec.c.o
[2217/2726] Compiling C object drivers/libtmp_rte_baseband_fpga_5gnr_fec.a.p/baseband_fpga_5gnr_fec_rte_fpga_5gnr_fec.c.o
[2218/2726] Compiling C object app/dpdk-dumpcap.p/dumpcap_main.c.o
[2219/2726] Compiling C object drivers/libtmp_rte_baseband_null.a.p/baseband_null_bbdev_null.c.o
[2220/2726] Compiling C object drivers/libtmp_rte_baseband_turbo_sw.a.p/baseband_turbo_sw_bbdev_turbo_software.c.o
[2221/2726] Compiling C object drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_acc100_pmd.c.o
ninja: build stopped
*Build Failed #8:
OS: RHEL92-64
Target: x86_64-native-linuxapp-gcc+shared
FAILED: drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o
gcc -Idrivers/libtmp_rte_baseband_acc.a.p -Idrivers -I../drivers -Idrivers/baseband/acc -I../drivers/baseband/acc -Ilib/bbdev -I../lib/bbdev -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/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -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-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.bb.acc -MD -MQ drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o -MF drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o.d -o drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o -c ../drivers/baseband/acc/rte_vrb_pmd.c
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_queue_setup’:
../drivers/baseband/acc/rte_vrb_pmd.c:1037:36: error: ‘RTE_BBDEV_OP_MLDTS’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_OP_FFT’?
1037 | else if (conf->op_type == RTE_BBDEV_OP_MLDTS)
| ^~~~~~~~~~~~~~~~~~
| RTE_BBDEV_OP_FFT
../drivers/baseband/acc/rte_vrb_pmd.c:1037:36: note: each undeclared identifier is reported only once for each function it appears in
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_print_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:1095:31: error: ‘RTE_BBDEV_OP_MLDTS’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_OP_FFT’?
1095 | } else if (op_type == RTE_BBDEV_OP_MLDTS) {
| ^~~~~~~~~~~~~~~~~~
| RTE_BBDEV_OP_FFT
In file included from ../drivers/baseband/acc/rte_vrb_pmd.c:22:
../drivers/baseband/acc/rte_vrb_pmd.c:1099:41: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
1099 | op_mldts->mldts.num_rbs, op_mldts->mldts.num_layers,
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro ‘rte_bbdev_log’
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1099:66: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
1099 | op_mldts->mldts.num_rbs, op_mldts->mldts.num_layers,
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro ‘rte_bbdev_log’
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1100:41: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
1100 | op_mldts->mldts.r_rep,
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro ‘rte_bbdev_log’
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1101:41: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
1101 | op_mldts->mldts.c_rep, op_mldts->mldts.op_flags);
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro ‘rte_bbdev_log’
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1101:64: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
1101 | op_mldts->mldts.c_rep, op_mldts->mldts.op_flags);
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro ‘rte_bbdev_log’
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dev_info_get’:
../drivers/baseband/acc/rte_vrb_pmd.c:1332:33: error: ‘RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION’?
1332 | RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION
../drivers/baseband/acc/rte_vrb_pmd.c:1366:35: error: ‘RTE_BBDEV_OP_MLDTS’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_OP_FFT’?
1366 | .type = RTE_BBDEV_OP_MLDTS,
| ^~~~~~~~~~~~~~~~~~
| RTE_BBDEV_OP_FFT
../drivers/baseband/acc/rte_vrb_pmd.c:1369:49: error: ‘RTE_BBDEV_MLDTS_REP’ undeclared (first use in this function)
1369 | RTE_BBDEV_MLDTS_REP,
| ^~~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_fcw_ld_fill’:
../drivers/baseband/acc/rte_vrb_pmd.c:1972:53: error: ‘RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION’?
1972 | } else if (check_bit(op->ldpc_dec.op_flags, RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION)) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_enc_one_op_cb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3373:50: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
3373 | op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_dequeue_ldpc_enc_one_op_tb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3425:42: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
3425 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_enc_one_op_tb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3493:58: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
3493 | op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_dec_one_op_cb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3540:42: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
3540 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_ldpc_dec_one_op_cb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3595:42: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
3595 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_dec_one_op_tb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3677:58: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
3677 | op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_dma_desc_fft_fill’:
../drivers/baseband/acc/rte_vrb_pmd.c:3990:51: error: ‘RTE_BBDEV_FFT_DEWINDOWING’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_FFT_WINDOWING’?
3990 | bool win_en = check_bit(op->fft.op_flags, RTE_BBDEV_FFT_DEWINDOWING);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_FFT_WINDOWING
../drivers/baseband/acc/rte_vrb_pmd.c:4016:25: error: ‘RTE_BBDEV_MAX_CS’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_MAX_CS_2’?
4016 | for (i = 0; i < RTE_BBDEV_MAX_CS; i++)
| ^~~~~~~~~~~~~~~~
| RTE_BBDEV_MAX_CS_2
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_enqueue_fft_one_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4049:22: error: ‘struct rte_bbdev_op_fft’ has no member named ‘dewindowing_input’
4049 | win = op->fft.dewindowing_input.data;
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4053:29: error: ‘struct rte_bbdev_op_fft’ has no member named ‘dewindowing_input’
4053 | win_offset = op->fft.dewindowing_input.offset;
| ^
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_fft_one_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4142:42: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
4142 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4192:28: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4192 | vrb2_fcw_mldts_fill(struct rte_bbdev_mldts_op *op, struct acc_fcw_mldts *fcw)
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_fcw_mldts_fill’:
../drivers/baseband/acc/rte_vrb_pmd.c:4194:22: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4194 | fcw->nrb = op->mldts.num_rbs;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4195:26: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4195 | fcw->NLayers = op->mldts.num_layers - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4196:25: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4196 | fcw->Qmod0 = (op->mldts.q_m[0] >> 1) - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4197:25: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4197 | fcw->Qmod1 = (op->mldts.q_m[1] >> 1) - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4198:25: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4198 | fcw->Qmod2 = (op->mldts.q_m[2] >> 1) - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4199:25: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4199 | fcw->Qmod3 = (op->mldts.q_m[3] >> 1) - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4201:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4201 | if (op->mldts.num_layers == 2) {
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4205:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4205 | if (op->mldts.num_layers == 3)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4207:23: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4207 | fcw->Rrep = op->mldts.r_rep;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4208:23: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4208 | fcw->Crep = op->mldts.c_rep;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4213:33: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4213 | vrb2_dma_desc_mldts_fill(struct rte_bbdev_mldts_op *op,
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_dma_desc_mldts_fill’:
../drivers/baseband/acc/rte_vrb_pmd.c:4226:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4226 | if (op->mldts.r_rep > 5)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4227:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4227 | op->mldts.r_rep = 5;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4228:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4228 | if (op->mldts.num_layers < 2)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4229:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4229 | op->mldts.num_layers = 2;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4230:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4230 | if (op->mldts.num_layers > 4)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4231:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4231 | op->mldts.num_layers = 4;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4232:27: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4232 | for (i = 0; i < op->mldts.num_layers; i++)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4233:37: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4233 | outsize_per_re += op->mldts.q_m[i];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4234:20: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4234 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB * (op->mldts.c_rep + 1);
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4234:38: error: ‘RTE_BBDEV_SCPERRB’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_CRC_ERROR’?
4234 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB * (op->mldts.c_rep + 1);
| ^~~~~~~~~~~~~~~~~
| RTE_BBDEV_CRC_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c:4234:61: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4234 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB * (op->mldts.c_rep + 1);
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4235:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4235 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4235:58: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4235 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4236:33: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4236 | q_size = qsize_per_re[op->mldts.num_layers - 2] * sc_num;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4237:33: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4237 | r_size = rsize_per_re[op->mldts.num_layers - 2] * r_num;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4221:18: error: variable ‘sc_factor_per_rrep’ set but not used [-Werror=unused-but-set-variable]
4221 | uint16_t sc_factor_per_rrep[VRB2_MLD_RREP_SIZE] = {12, 6, 4, 3, 0, 2};
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4220:18: error: variable ‘rsize_per_re’ set but not used [-Werror=unused-but-set-variable]
4220 | uint16_t rsize_per_re[VRB2_MLD_LAY_SIZE] = {14, 26, 42};
| ^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4219:18: error: variable ‘qsize_per_re’ set but not used [-Werror=unused-but-set-variable]
4219 | uint16_t qsize_per_re[VRB2_MLD_LAY_SIZE] = {8, 12, 16}; /* Layer 2 to 4. */
| ^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4268:36: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4268 | vrb2_check_mld_r_constraint(struct rte_bbdev_mldts_op *op) {
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_check_mld_r_constraint’:
../drivers/baseband/acc/rte_vrb_pmd.c:4275:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4275 | if (op->mldts.c_rep == 0)
| ^~
In file included from ../drivers/baseband/acc/rte_vrb_pmd.c:7:
../drivers/baseband/acc/rte_vrb_pmd.c:4278:31: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4278 | layer_idx = RTE_MIN(op->mldts.num_layers - VRB2_MLD_MIN_LAYER,
| ^~
../lib/eal/include/rte_common.h:615:25: note: in definition of macro ‘RTE_MIN’
615 | typeof (a) _a = (a); \
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4278:31: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4278 | layer_idx = RTE_MIN(op->mldts.num_layers - VRB2_MLD_MIN_LAYER,
| ^~
../lib/eal/include/rte_common.h:615:34: note: in definition of macro ‘RTE_MIN’
615 | typeof (a) _a = (a); \
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4280:30: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4280 | rrep_idx = RTE_MIN(op->mldts.r_rep, VRB2_MLD_MAX_RREP);
| ^~
../lib/eal/include/rte_common.h:615:25: note: in definition of macro ‘RTE_MIN’
615 | typeof (a) _a = (a); \
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4280:30: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4280 | rrep_idx = RTE_MIN(op->mldts.r_rep, VRB2_MLD_MAX_RREP);
| ^~
../lib/eal/include/rte_common.h:615:34: note: in definition of macro ‘RTE_MIN’
615 | typeof (a) _a = (a); \
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4284:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4284 | return (op->mldts.num_rbs <= max_rb[layer_idx][rrep_idx]);
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4289:52: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4289 | enqueue_mldts_split_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘enqueue_mldts_split_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4304:21: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4304 | input_q = op->mldts.qhy_input.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4305:21: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4305 | input_r = op->mldts.r_input.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4306:20: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4306 | output = op->mldts.output.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4307:23: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4307 | in_offset = op->mldts.qhy_input.offset;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4308:24: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4308 | out_offset = op->mldts.output.offset;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4309:22: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4309 | num_syms = op->mldts.c_rep + 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4311:29: error: passing argument 1 of ‘vrb2_fcw_mldts_fill’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4311 | vrb2_fcw_mldts_fill(op, fcw);
| ^~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4192:48: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
4192 | vrb2_fcw_mldts_fill(struct rte_bbdev_mldts_op *op, struct acc_fcw_mldts *fcw)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c:4315:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4315 | if (op->mldts.r_rep > 5)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4316:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4316 | op->mldts.r_rep = 5;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4317:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4317 | if (op->mldts.num_layers < 2)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4318:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4318 | op->mldts.num_layers = 2;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4319:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4319 | if (op->mldts.num_layers > 4)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4320:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4320 | op->mldts.num_layers = 4;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4322:27: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4322 | for (i = 0; i < op->mldts.num_layers; i++)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4323:37: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4323 | outsize_per_re += op->mldts.q_m[i];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4324:20: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4324 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB; /* C rep forced to zero. */
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4324:38: error: ‘RTE_BBDEV_SCPERRB’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_CRC_ERROR’?
4324 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB; /* C rep forced to zero. */
| ^~~~~~~~~~~~~~~~~
| RTE_BBDEV_CRC_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c:4325:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4325 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4325:58: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4325 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4326:33: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4326 | q_size = qsize_per_re[op->mldts.num_layers - 2] * sc_num;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4327:33: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4327 | r_size = rsize_per_re[op->mldts.num_layers - 2] * r_num;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4294:18: error: variable ‘sc_factor_per_rrep’ set but not used [-Werror=unused-but-set-variable]
4294 | uint16_t sc_factor_per_rrep[VRB2_MLD_RREP_SIZE] = {12, 6, 4, 3, 0, 2};
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4293:18: error: variable ‘rsize_per_re’ set but not used [-Werror=unused-but-set-variable]
4293 | uint16_t rsize_per_re[VRB2_MLD_LAY_SIZE] = {14, 26, 42};
| ^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4292:18: error: variable ‘qsize_per_re’ set but not used [-Werror=unused-but-set-variable]
4292 | uint16_t qsize_per_re[VRB2_MLD_LAY_SIZE] = {8, 12, 16}; /* Layer 2 to 4. */
| ^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4371:50: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4371 | enqueue_mldts_one_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘enqueue_mldts_one_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4382:21: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4382 | input_q = op->mldts.qhy_input.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4383:21: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4383 | input_r = op->mldts.r_input.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4384:20: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4384 | output = op->mldts.output.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4385:23: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4385 | in_offset = op->mldts.qhy_input.offset;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4386:24: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4386 | out_offset = op->mldts.output.offset;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4388:29: error: passing argument 1 of ‘vrb2_fcw_mldts_fill’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4388 | vrb2_fcw_mldts_fill(op, fcw);
| ^~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4192:48: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
4192 | vrb2_fcw_mldts_fill(struct rte_bbdev_mldts_op *op, struct acc_fcw_mldts *fcw)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c:4389:34: error: passing argument 1 of ‘vrb2_dma_desc_mldts_fill’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4389 | vrb2_dma_desc_mldts_fill(op, &desc->req, input_q, input_r, output,
| ^~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4213:53: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
4213 | vrb2_dma_desc_mldts_fill(struct rte_bbdev_mldts_op *op,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4401:24: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4401 | struct rte_bbdev_mldts_op **ops, uint16_t num)
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_enqueue_mldts’:
../drivers/baseband/acc/rte_vrb_pmd.c:4415:60: error: passing argument 1 of ‘vrb2_check_mld_r_constraint’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4415 | as_one_op = vrb2_check_mld_r_constraint(ops[i]);
| ~~~^~~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4268:56: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
4268 | vrb2_check_mld_r_constraint(struct rte_bbdev_mldts_op *op) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c:4416:53: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4416 | descs_in_op = as_one_op ? 1 : ops[i]->mldts.c_rep + 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4426:58: error: passing argument 2 of ‘enqueue_mldts_one_op’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4426 | ret = enqueue_mldts_one_op(q, ops[i], enqueued_descs);
| ~~~^~~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4371:70: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
4371 | enqueue_mldts_one_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c:4428:60: error: passing argument 2 of ‘enqueue_mldts_split_op’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4428 | ret = enqueue_mldts_split_op(q, ops[i], enqueued_descs);
| ~~~^~~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4289:72: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
4289 | enqueue_mldts_split_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4455:45: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4455 | struct acc_queue *q, struct rte_bbdev_mldts_op **ref_op,
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘dequeue_mldts_one_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4499:11: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4499 | op->status = 0;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4505:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4505 | op->status |= rsp.input_err << RTE_BBDEV_DATA_ERROR;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4506:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4506 | op->status |= rsp.dma_err << RTE_BBDEV_DRV_ERROR;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4507:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4507 | op->status |= rsp.fcw_err << RTE_BBDEV_DRV_ERROR;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4508:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4508 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4508:50: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
4508 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c:4511:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4511 | if (op->status != 0)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4513:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4513 | if (op->status & (1 << RTE_BBDEV_DRV_ERROR))
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4531:24: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4531 | struct rte_bbdev_mldts_op **ops, uint16_t num)
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_dequeue_mldts’:
../drivers/baseband/acc/rte_vrb_pmd.c:4542:55: error: passing argument 3 of ‘dequeue_mldts_one_op’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4542 | ret = dequeue_mldts_one_op(q_data, q, &ops[i], dequeued_cbs, &aq_dequeued);
| ^~~~~~~
| |
| struct rte_bbdev_mldts_op **
../drivers/baseband/acc/rte_vrb_pmd.c:4455:66: note: expected ‘struct rte_bbdev_mldts_op **’ but argument is of type ‘struct rte_bbdev_mldts_op **’
4455 | struct acc_queue *q, struct rte_bbdev_mldts_op **ref_op,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_bbdev_init’:
../drivers/baseband/acc/rte_vrb_pmd.c:4573:14: error: ‘struct rte_bbdev’ has no member named ‘enqueue_mldts_ops’; did you mean ‘enqueue_dec_ops’?
4573 | dev->enqueue_mldts_ops = vrb2_enqueue_mldts;
| ^~~~~~~~~~~~~~~~~
| enqueue_dec_ops
../drivers/baseband/acc/rte_vrb_pmd.c:4574:14: error: ‘struct rte_bbdev’ has no member named ‘dequeue_mldts_ops’; did you mean ‘dequeue_dec_ops’?
4574 | dev->dequeue_mldts_ops = vrb2_dequeue_mldts;
| ^~~~~~~~~~~~~~~~~
| dequeue_dec_ops
cc1: all warnings being treated as errors
[2280/2624] Compiling C object drivers/libtmp_rte_baseband_la12xx.a.p/baseband_la12xx_bbdev_la12xx.c.o
[2281/2624] Compiling C object drivers/libtmp_rte_event_octeontx.a.p/event_octeontx_ssovf_evdev_selftest.c.o
[2282/2624] Compiling C object drivers/libtmp_rte_baseband_fpga_lte_fec.a.p/baseband_fpga_lte_fec_fpga_lte_fec.c.o
[2283/2624] Compiling C object drivers/libtmp_rte_event_octeontx.a.p/event_octeontx_ssovf_worker.c.o
[2284/2624] Compiling C object drivers/libtmp_rte_baseband_fpga_5gnr_fec.a.p/baseband_fpga_5gnr_fec_rte_fpga_5gnr_fec.c.o
[2285/2624] Compiling C object drivers/libtmp_rte_baseband_null.a.p/baseband_null_bbdev_null.c.o
[2286/2624] Compiling C object app/dpdk-dumpcap.p/dumpcap_main.c.o
[2287/2624] Compiling C object drivers/libtmp_rte_baseband_turbo_sw.a.p/baseband_turbo_sw_bbdev_turbo_software.c.o
[2288/2624] Compiling C object drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_acc100_pmd.c.o
ninja: build stopped
*Build Failed #9:
OS: RHEL92-64
Target: x86_64-native-linuxapp-gcc+debug
FAILED: drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o
gcc -Idrivers/libtmp_rte_baseband_acc.a.p -Idrivers -I../drivers -Idrivers/baseband/acc -I../drivers/baseband/acc -Ilib/bbdev -I../lib/bbdev -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/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -fdiagnostics-color=always -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-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.bb.acc -MD -MQ drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o -MF drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o.d -o drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o -c ../drivers/baseband/acc/rte_vrb_pmd.c
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_queue_setup’:
../drivers/baseband/acc/rte_vrb_pmd.c:1037:36: error: ‘RTE_BBDEV_OP_MLDTS’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_OP_FFT’?
1037 | else if (conf->op_type == RTE_BBDEV_OP_MLDTS)
| ^~~~~~~~~~~~~~~~~~
| RTE_BBDEV_OP_FFT
../drivers/baseband/acc/rte_vrb_pmd.c:1037:36: note: each undeclared identifier is reported only once for each function it appears in
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_print_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:1095:31: error: ‘RTE_BBDEV_OP_MLDTS’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_OP_FFT’?
1095 | } else if (op_type == RTE_BBDEV_OP_MLDTS) {
| ^~~~~~~~~~~~~~~~~~
| RTE_BBDEV_OP_FFT
In file included from ../drivers/baseband/acc/rte_vrb_pmd.c:22:
../drivers/baseband/acc/rte_vrb_pmd.c:1099:41: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
1099 | op_mldts->mldts.num_rbs, op_mldts->mldts.num_layers,
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro ‘rte_bbdev_log’
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1099:66: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
1099 | op_mldts->mldts.num_rbs, op_mldts->mldts.num_layers,
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro ‘rte_bbdev_log’
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1100:41: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
1100 | op_mldts->mldts.r_rep,
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro ‘rte_bbdev_log’
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1101:41: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
1101 | op_mldts->mldts.c_rep, op_mldts->mldts.op_flags);
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro ‘rte_bbdev_log’
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1101:64: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
1101 | op_mldts->mldts.c_rep, op_mldts->mldts.op_flags);
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro ‘rte_bbdev_log’
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dev_info_get’:
../drivers/baseband/acc/rte_vrb_pmd.c:1332:33: error: ‘RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION’?
1332 | RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION
../drivers/baseband/acc/rte_vrb_pmd.c:1366:35: error: ‘RTE_BBDEV_OP_MLDTS’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_OP_FFT’?
1366 | .type = RTE_BBDEV_OP_MLDTS,
| ^~~~~~~~~~~~~~~~~~
| RTE_BBDEV_OP_FFT
../drivers/baseband/acc/rte_vrb_pmd.c:1369:49: error: ‘RTE_BBDEV_MLDTS_REP’ undeclared (first use in this function)
1369 | RTE_BBDEV_MLDTS_REP,
| ^~~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_fcw_ld_fill’:
../drivers/baseband/acc/rte_vrb_pmd.c:1972:53: error: ‘RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION’?
1972 | } else if (check_bit(op->ldpc_dec.op_flags, RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION)) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_enc_one_op_cb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3373:50: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
3373 | op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_dequeue_ldpc_enc_one_op_tb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3425:42: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
3425 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_enc_one_op_tb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3493:58: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
3493 | op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_dec_one_op_cb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3540:42: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
3540 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_ldpc_dec_one_op_cb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3595:42: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
3595 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_dec_one_op_tb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3677:58: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
3677 | op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_dma_desc_fft_fill’:
../drivers/baseband/acc/rte_vrb_pmd.c:3990:51: error: ‘RTE_BBDEV_FFT_DEWINDOWING’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_FFT_WINDOWING’?
3990 | bool win_en = check_bit(op->fft.op_flags, RTE_BBDEV_FFT_DEWINDOWING);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_FFT_WINDOWING
../drivers/baseband/acc/rte_vrb_pmd.c:4016:25: error: ‘RTE_BBDEV_MAX_CS’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_MAX_CS_2’?
4016 | for (i = 0; i < RTE_BBDEV_MAX_CS; i++)
| ^~~~~~~~~~~~~~~~
| RTE_BBDEV_MAX_CS_2
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_enqueue_fft_one_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4049:22: error: ‘struct rte_bbdev_op_fft’ has no member named ‘dewindowing_input’
4049 | win = op->fft.dewindowing_input.data;
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4053:29: error: ‘struct rte_bbdev_op_fft’ has no member named ‘dewindowing_input’
4053 | win_offset = op->fft.dewindowing_input.offset;
| ^
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_fft_one_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4142:42: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
4142 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4192:28: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4192 | vrb2_fcw_mldts_fill(struct rte_bbdev_mldts_op *op, struct acc_fcw_mldts *fcw)
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_fcw_mldts_fill’:
../drivers/baseband/acc/rte_vrb_pmd.c:4194:22: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4194 | fcw->nrb = op->mldts.num_rbs;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4195:26: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4195 | fcw->NLayers = op->mldts.num_layers - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4196:25: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4196 | fcw->Qmod0 = (op->mldts.q_m[0] >> 1) - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4197:25: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4197 | fcw->Qmod1 = (op->mldts.q_m[1] >> 1) - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4198:25: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4198 | fcw->Qmod2 = (op->mldts.q_m[2] >> 1) - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4199:25: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4199 | fcw->Qmod3 = (op->mldts.q_m[3] >> 1) - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4201:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4201 | if (op->mldts.num_layers == 2) {
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4205:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4205 | if (op->mldts.num_layers == 3)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4207:23: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4207 | fcw->Rrep = op->mldts.r_rep;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4208:23: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4208 | fcw->Crep = op->mldts.c_rep;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4213:33: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4213 | vrb2_dma_desc_mldts_fill(struct rte_bbdev_mldts_op *op,
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_dma_desc_mldts_fill’:
../drivers/baseband/acc/rte_vrb_pmd.c:4226:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4226 | if (op->mldts.r_rep > 5)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4227:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4227 | op->mldts.r_rep = 5;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4228:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4228 | if (op->mldts.num_layers < 2)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4229:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4229 | op->mldts.num_layers = 2;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4230:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4230 | if (op->mldts.num_layers > 4)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4231:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4231 | op->mldts.num_layers = 4;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4232:27: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4232 | for (i = 0; i < op->mldts.num_layers; i++)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4233:37: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4233 | outsize_per_re += op->mldts.q_m[i];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4234:20: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4234 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB * (op->mldts.c_rep + 1);
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4234:38: error: ‘RTE_BBDEV_SCPERRB’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_CRC_ERROR’?
4234 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB * (op->mldts.c_rep + 1);
| ^~~~~~~~~~~~~~~~~
| RTE_BBDEV_CRC_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c:4234:61: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4234 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB * (op->mldts.c_rep + 1);
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4235:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4235 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4235:58: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4235 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4236:33: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4236 | q_size = qsize_per_re[op->mldts.num_layers - 2] * sc_num;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4237:33: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4237 | r_size = rsize_per_re[op->mldts.num_layers - 2] * r_num;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4221:18: error: variable ‘sc_factor_per_rrep’ set but not used [-Werror=unused-but-set-variable]
4221 | uint16_t sc_factor_per_rrep[VRB2_MLD_RREP_SIZE] = {12, 6, 4, 3, 0, 2};
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4220:18: error: variable ‘rsize_per_re’ set but not used [-Werror=unused-but-set-variable]
4220 | uint16_t rsize_per_re[VRB2_MLD_LAY_SIZE] = {14, 26, 42};
| ^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4219:18: error: variable ‘qsize_per_re’ set but not used [-Werror=unused-but-set-variable]
4219 | uint16_t qsize_per_re[VRB2_MLD_LAY_SIZE] = {8, 12, 16}; /* Layer 2 to 4. */
| ^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4268:36: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4268 | vrb2_check_mld_r_constraint(struct rte_bbdev_mldts_op *op) {
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_check_mld_r_constraint’:
../drivers/baseband/acc/rte_vrb_pmd.c:4275:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4275 | if (op->mldts.c_rep == 0)
| ^~
In file included from ../drivers/baseband/acc/rte_vrb_pmd.c:7:
../drivers/baseband/acc/rte_vrb_pmd.c:4278:31: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4278 | layer_idx = RTE_MIN(op->mldts.num_layers - VRB2_MLD_MIN_LAYER,
| ^~
../lib/eal/include/rte_common.h:615:25: note: in definition of macro ‘RTE_MIN’
615 | typeof (a) _a = (a); \
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4278:31: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4278 | layer_idx = RTE_MIN(op->mldts.num_layers - VRB2_MLD_MIN_LAYER,
| ^~
../lib/eal/include/rte_common.h:615:34: note: in definition of macro ‘RTE_MIN’
615 | typeof (a) _a = (a); \
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4280:30: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4280 | rrep_idx = RTE_MIN(op->mldts.r_rep, VRB2_MLD_MAX_RREP);
| ^~
../lib/eal/include/rte_common.h:615:25: note: in definition of macro ‘RTE_MIN’
615 | typeof (a) _a = (a); \
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4280:30: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4280 | rrep_idx = RTE_MIN(op->mldts.r_rep, VRB2_MLD_MAX_RREP);
| ^~
../lib/eal/include/rte_common.h:615:34: note: in definition of macro ‘RTE_MIN’
615 | typeof (a) _a = (a); \
| ^
In file included from ../drivers/baseband/acc/rte_vrb_pmd.c:22:
../drivers/baseband/acc/rte_vrb_pmd.c:4281:61: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4281 | rte_bbdev_log_debug("RB %d index %d %d max %d\n", op->mldts.num_rbs, layer_idx, rrep_idx,
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro ‘rte_bbdev_log’
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4281:9: note: in expansion of macro ‘rte_bbdev_log_debug’
4281 | rte_bbdev_log_debug("RB %d index %d %d max %d\n", op->mldts.num_rbs, layer_idx, rrep_idx,
| ^~~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4284:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4284 | return (op->mldts.num_rbs <= max_rb[layer_idx][rrep_idx]);
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4289:52: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4289 | enqueue_mldts_split_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘enqueue_mldts_split_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4304:21: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4304 | input_q = op->mldts.qhy_input.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4305:21: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4305 | input_r = op->mldts.r_input.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4306:20: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4306 | output = op->mldts.output.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4307:23: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4307 | in_offset = op->mldts.qhy_input.offset;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4308:24: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4308 | out_offset = op->mldts.output.offset;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4309:22: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4309 | num_syms = op->mldts.c_rep + 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4311:29: error: passing argument 1 of ‘vrb2_fcw_mldts_fill’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4311 | vrb2_fcw_mldts_fill(op, fcw);
| ^~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4192:48: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
4192 | vrb2_fcw_mldts_fill(struct rte_bbdev_mldts_op *op, struct acc_fcw_mldts *fcw)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c:4315:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4315 | if (op->mldts.r_rep > 5)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4316:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4316 | op->mldts.r_rep = 5;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4317:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4317 | if (op->mldts.num_layers < 2)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4318:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4318 | op->mldts.num_layers = 2;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4319:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4319 | if (op->mldts.num_layers > 4)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4320:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4320 | op->mldts.num_layers = 4;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4322:27: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4322 | for (i = 0; i < op->mldts.num_layers; i++)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4323:37: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4323 | outsize_per_re += op->mldts.q_m[i];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4324:20: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4324 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB; /* C rep forced to zero. */
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4324:38: error: ‘RTE_BBDEV_SCPERRB’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_CRC_ERROR’?
4324 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB; /* C rep forced to zero. */
| ^~~~~~~~~~~~~~~~~
| RTE_BBDEV_CRC_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c:4325:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4325 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4325:58: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4325 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4326:33: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4326 | q_size = qsize_per_re[op->mldts.num_layers - 2] * sc_num;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4327:33: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4327 | r_size = rsize_per_re[op->mldts.num_layers - 2] * r_num;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4294:18: error: variable ‘sc_factor_per_rrep’ set but not used [-Werror=unused-but-set-variable]
4294 | uint16_t sc_factor_per_rrep[VRB2_MLD_RREP_SIZE] = {12, 6, 4, 3, 0, 2};
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4293:18: error: variable ‘rsize_per_re’ set but not used [-Werror=unused-but-set-variable]
4293 | uint16_t rsize_per_re[VRB2_MLD_LAY_SIZE] = {14, 26, 42};
| ^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4292:18: error: variable ‘qsize_per_re’ set but not used [-Werror=unused-but-set-variable]
4292 | uint16_t qsize_per_re[VRB2_MLD_LAY_SIZE] = {8, 12, 16}; /* Layer 2 to 4. */
| ^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4371:50: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4371 | enqueue_mldts_one_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘enqueue_mldts_one_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4382:21: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4382 | input_q = op->mldts.qhy_input.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4383:21: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4383 | input_r = op->mldts.r_input.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4384:20: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4384 | output = op->mldts.output.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4385:23: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4385 | in_offset = op->mldts.qhy_input.offset;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4386:24: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4386 | out_offset = op->mldts.output.offset;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4388:29: error: passing argument 1 of ‘vrb2_fcw_mldts_fill’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4388 | vrb2_fcw_mldts_fill(op, fcw);
| ^~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4192:48: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
4192 | vrb2_fcw_mldts_fill(struct rte_bbdev_mldts_op *op, struct acc_fcw_mldts *fcw)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c:4389:34: error: passing argument 1 of ‘vrb2_dma_desc_mldts_fill’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4389 | vrb2_dma_desc_mldts_fill(op, &desc->req, input_q, input_r, output,
| ^~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4213:53: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
4213 | vrb2_dma_desc_mldts_fill(struct rte_bbdev_mldts_op *op,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4401:24: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4401 | struct rte_bbdev_mldts_op **ops, uint16_t num)
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_enqueue_mldts’:
../drivers/baseband/acc/rte_vrb_pmd.c:4415:60: error: passing argument 1 of ‘vrb2_check_mld_r_constraint’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4415 | as_one_op = vrb2_check_mld_r_constraint(ops[i]);
| ~~~^~~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4268:56: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
4268 | vrb2_check_mld_r_constraint(struct rte_bbdev_mldts_op *op) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c:4416:53: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4416 | descs_in_op = as_one_op ? 1 : ops[i]->mldts.c_rep + 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4426:58: error: passing argument 2 of ‘enqueue_mldts_one_op’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4426 | ret = enqueue_mldts_one_op(q, ops[i], enqueued_descs);
| ~~~^~~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4371:70: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
4371 | enqueue_mldts_one_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c:4428:60: error: passing argument 2 of ‘enqueue_mldts_split_op’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4428 | ret = enqueue_mldts_split_op(q, ops[i], enqueued_descs);
| ~~~^~~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4289:72: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
4289 | enqueue_mldts_split_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4455:45: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4455 | struct acc_queue *q, struct rte_bbdev_mldts_op **ref_op,
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘dequeue_mldts_one_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4499:11: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4499 | op->status = 0;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4505:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4505 | op->status |= rsp.input_err << RTE_BBDEV_DATA_ERROR;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4506:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4506 | op->status |= rsp.dma_err << RTE_BBDEV_DRV_ERROR;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4507:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4507 | op->status |= rsp.fcw_err << RTE_BBDEV_DRV_ERROR;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4508:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4508 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4508:50: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
4508 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c:4511:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4511 | if (op->status != 0)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4513:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4513 | if (op->status & (1 << RTE_BBDEV_DRV_ERROR))
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4531:24: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4531 | struct rte_bbdev_mldts_op **ops, uint16_t num)
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_dequeue_mldts’:
../drivers/baseband/acc/rte_vrb_pmd.c:4542:55: error: passing argument 3 of ‘dequeue_mldts_one_op’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4542 | ret = dequeue_mldts_one_op(q_data, q, &ops[i], dequeued_cbs, &aq_dequeued);
| ^~~~~~~
| |
| struct rte_bbdev_mldts_op **
../drivers/baseband/acc/rte_vrb_pmd.c:4455:66: note: expected ‘struct rte_bbdev_mldts_op **’ but argument is of type ‘struct rte_bbdev_mldts_op **’
4455 | struct acc_queue *q, struct rte_bbdev_mldts_op **ref_op,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_bbdev_init’:
../drivers/baseband/acc/rte_vrb_pmd.c:4573:14: error: ‘struct rte_bbdev’ has no member named ‘enqueue_mldts_ops’; did you mean ‘enqueue_dec_ops’?
4573 | dev->enqueue_mldts_ops = vrb2_enqueue_mldts;
| ^~~~~~~~~~~~~~~~~
| enqueue_dec_ops
../drivers/baseband/acc/rte_vrb_pmd.c:4574:14: error: ‘struct rte_bbdev’ has no member named ‘dequeue_mldts_ops’; did you mean ‘dequeue_dec_ops’?
4574 | dev->dequeue_mldts_ops = vrb2_dequeue_mldts;
| ^~~~~~~~~~~~~~~~~
| dequeue_dec_ops
cc1: all warnings being treated as errors
[2253/2765] Compiling C object drivers/libtmp_rte_baseband_la12xx.a.p/baseband_la12xx_bbdev_la12xx.c.o
[2254/2765] Generating symbol file drivers/librte_crypto_octeontx.so.23.2.p/librte_crypto_octeontx.so.23.2.symbols
[2255/2765] Compiling C object drivers/libtmp_rte_baseband_fpga_lte_fec.a.p/baseband_fpga_lte_fec_fpga_lte_fec.c.o
[2256/2765] Compiling C object drivers/libtmp_rte_baseband_null.a.p/baseband_null_bbdev_null.c.o
[2257/2765] Compiling C object drivers/libtmp_rte_baseband_fpga_5gnr_fec.a.p/baseband_fpga_5gnr_fec_rte_fpga_5gnr_fec.c.o
[2258/2765] Compiling C object drivers/libtmp_rte_event_octeontx.a.p/event_octeontx_ssovf_worker.c.o
[2259/2765] Compiling C object app/dpdk-dumpcap.p/dumpcap_main.c.o
[2260/2765] Compiling C object drivers/libtmp_rte_baseband_turbo_sw.a.p/baseband_turbo_sw_bbdev_turbo_software.c.o
[2261/2765] Compiling C object drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_acc100_pmd.c.o
ninja: build stopped
*Build Failed #10:
OS: SUSE15-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o
clang -Idrivers/libtmp_rte_baseband_acc.a.p -Idrivers -I../drivers -Idrivers/baseband/acc -I../drivers/baseband/acc -Ilib/bbdev -I../lib/bbdev -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/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -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=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=pmd.bb.acc -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o -MF drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o.d -o drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o -c ../drivers/baseband/acc/rte_vrb_pmd.c
../drivers/baseband/acc/rte_vrb_pmd.c:1037:29: error: use of undeclared identifier 'RTE_BBDEV_OP_MLDTS'; did you mean 'RTE_BBDEV_OP_FFT'?
else if (conf->op_type == RTE_BBDEV_OP_MLDTS)
^~~~~~~~~~~~~~~~~~
RTE_BBDEV_OP_FFT
../lib/bbdev/rte_bbdev_op.h:858:2: note: 'RTE_BBDEV_OP_FFT' declared here
RTE_BBDEV_OP_FFT, /**< FFT */
^
../drivers/baseband/acc/rte_vrb_pmd.c:1095:24: error: use of undeclared identifier 'RTE_BBDEV_OP_MLDTS'; did you mean 'RTE_BBDEV_OP_FFT'?
} else if (op_type == RTE_BBDEV_OP_MLDTS) {
^~~~~~~~~~~~~~~~~~
RTE_BBDEV_OP_FFT
../lib/bbdev/rte_bbdev_op.h:858:2: note: 'RTE_BBDEV_OP_FFT' declared here
RTE_BBDEV_OP_FFT, /**< FFT */
^
../drivers/baseband/acc/rte_vrb_pmd.c:1099:13: error: incomplete definition of type 'struct rte_bbdev_mldts_op'
op_mldts->mldts.num_rbs, op_mldts->mldts.num_layers,
~~~~~~~~^
../drivers/baseband/acc/vrb_pmd.h:18:5: note: expanded from macro 'rte_bbdev_log'
##__VA_ARGS__)
^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1096:10: note: forward declaration of 'struct rte_bbdev_mldts_op'
struct rte_bbdev_mldts_op *op_mldts = (struct rte_bbdev_mldts_op *) op;
^
../drivers/baseband/acc/rte_vrb_pmd.c:1099:38: error: incomplete definition of type 'struct rte_bbdev_mldts_op'
op_mldts->mldts.num_rbs, op_mldts->mldts.num_layers,
~~~~~~~~^
../drivers/baseband/acc/vrb_pmd.h:18:5: note: expanded from macro 'rte_bbdev_log'
##__VA_ARGS__)
^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1096:10: note: forward declaration of 'struct rte_bbdev_mldts_op'
struct rte_bbdev_mldts_op *op_mldts = (struct rte_bbdev_mldts_op *) op;
^
../drivers/baseband/acc/rte_vrb_pmd.c:1100:13: error: incomplete definition of type 'struct rte_bbdev_mldts_op'
op_mldts->mldts.r_rep,
~~~~~~~~^
../drivers/baseband/acc/vrb_pmd.h:18:5: note: expanded from macro 'rte_bbdev_log'
##__VA_ARGS__)
^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1096:10: note: forward declaration of 'struct rte_bbdev_mldts_op'
struct rte_bbdev_mldts_op *op_mldts = (struct rte_bbdev_mldts_op *) op;
^
../drivers/baseband/acc/rte_vrb_pmd.c:1101:13: error: incomplete definition of type 'struct rte_bbdev_mldts_op'
op_mldts->mldts.c_rep, op_mldts->mldts.op_flags);
~~~~~~~~^
../drivers/baseband/acc/vrb_pmd.h:18:5: note: expanded from macro 'rte_bbdev_log'
##__VA_ARGS__)
^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1096:10: note: forward declaration of 'struct rte_bbdev_mldts_op'
struct rte_bbdev_mldts_op *op_mldts = (struct rte_bbdev_mldts_op *) op;
^
../drivers/baseband/acc/rte_vrb_pmd.c:1101:36: error: incomplete definition of type 'struct rte_bbdev_mldts_op'
op_mldts->mldts.c_rep, op_mldts->mldts.op_flags);
~~~~~~~~^
../drivers/baseband/acc/vrb_pmd.h:18:5: note: expanded from macro 'rte_bbdev_log'
##__VA_ARGS__)
^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1096:10: note: forward declaration of 'struct rte_bbdev_mldts_op'
struct rte_bbdev_mldts_op *op_mldts = (struct rte_bbdev_mldts_op *) op;
^
../drivers/baseband/acc/rte_vrb_pmd.c:1332:5: error: use of undeclared identifier 'RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION'; did you mean 'RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION'?
RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION
../lib/bbdev/rte_bbdev_op.h:182:2: note: 'RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION' declared here
RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION = (1ULL << 14),
^
../drivers/baseband/acc/rte_vrb_pmd.c:1366:12: error: use of undeclared identifier 'RTE_BBDEV_OP_MLDTS'; did you mean 'RTE_BBDEV_OP_FFT'?
.type = RTE_BBDEV_OP_MLDTS,
^~~~~~~~~~~~~~~~~~
RTE_BBDEV_OP_FFT
../lib/bbdev/rte_bbdev_op.h:858:2: note: 'RTE_BBDEV_OP_FFT' declared here
RTE_BBDEV_OP_FFT, /**< FFT */
^
../drivers/baseband/acc/rte_vrb_pmd.c:1369:7: error: use of undeclared identifier 'RTE_BBDEV_MLDTS_REP'
RTE_BBDEV_MLDTS_REP,
^
../drivers/baseband/acc/rte_vrb_pmd.c:1403:23: error: use of undeclared identifier 'RTE_BBDEV_OP_MLDTS'; did you mean 'RTE_BBDEV_OP_FFT'?
dev_info->num_queues[RTE_BBDEV_OP_MLDTS] = d->acc_conf.q_mld.num_aqs_per_groups *
^~~~~~~~~~~~~~~~~~
RTE_BBDEV_OP_FFT
../lib/bbdev/rte_bbdev_op.h:858:2: note: 'RTE_BBDEV_OP_FFT' declared here
RTE_BBDEV_OP_FFT, /**< FFT */
^
../drivers/baseband/acc/rte_vrb_pmd.c:1410:27: error: use of undeclared identifier 'RTE_BBDEV_OP_MLDTS'; did you mean 'RTE_BBDEV_OP_FFT'?
dev_info->queue_priority[RTE_BBDEV_OP_MLDTS] = d->acc_conf.q_mld.num_qgroups;
^~~~~~~~~~~~~~~~~~
RTE_BBDEV_OP_FFT
../lib/bbdev/rte_bbdev_op.h:858:2: note: 'RTE_BBDEV_OP_FFT' declared here
RTE_BBDEV_OP_FFT, /**< FFT */
^
../drivers/baseband/acc/rte_vrb_pmd.c:1412:35: error: use of undeclared identifier 'RTE_BBDEV_OP_MLDTS'; did you mean 'RTE_BBDEV_OP_FFT'?
for (i = RTE_BBDEV_OP_NONE; i <= RTE_BBDEV_OP_MLDTS; i++)
^~~~~~~~~~~~~~~~~~
RTE_BBDEV_OP_FFT
../lib/bbdev/rte_bbdev_op.h:858:2: note: 'RTE_BBDEV_OP_FFT' declared here
RTE_BBDEV_OP_FFT, /**< FFT */
^
../drivers/baseband/acc/rte_vrb_pmd.c:1972:46: error: use of undeclared identifier 'RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION'; did you mean 'RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION'?
} else if (check_bit(op->ldpc_dec.op_flags, RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION)) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION
../lib/bbdev/rte_bbdev_op.h:182:2: note: 'RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION' declared here
RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION = (1ULL << 14),
^
../drivers/baseband/acc/rte_vrb_pmd.c:3373:43: error: use of undeclared identifier 'RTE_BBDEV_ENGINE_ERROR'; did you mean 'RTE_BBDEV_EVENT_ERROR'?
op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
^~~~~~~~~~~~~~~~~~~~~~
RTE_BBDEV_EVENT_ERROR
../lib/bbdev/rte_bbdev.h:831:2: note: 'RTE_BBDEV_EVENT_ERROR' declared here
RTE_BBDEV_EVENT_ERROR, /**< error interrupt event */
^
../drivers/baseband/acc/rte_vrb_pmd.c:3425:35: error: use of undeclared identifier 'RTE_BBDEV_ENGINE_ERROR'; did you mean 'RTE_BBDEV_EVENT_ERROR'?
op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
^~~~~~~~~~~~~~~~~~~~~~
RTE_BBDEV_EVENT_ERROR
../lib/bbdev/rte_bbdev.h:831:2: note: 'RTE_BBDEV_EVENT_ERROR' declared here
RTE_BBDEV_EVENT_ERROR, /**< error interrupt event */
^
../drivers/baseband/acc/rte_vrb_pmd.c:3493:44: error: use of undeclared identifier 'RTE_BBDEV_ENGINE_ERROR'; did you mean 'RTE_BBDEV_EVENT_ERROR'?
op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
^~~~~~~~~~~~~~~~~~~~~~
RTE_BBDEV_EVENT_ERROR
../lib/bbdev/rte_bbdev.h:831:2: note: 'RTE_BBDEV_EVENT_ERROR' declared here
RTE_BBDEV_EVENT_ERROR, /**< error interrupt event */
^
../drivers/baseband/acc/rte_vrb_pmd.c:3540:35: error: use of undeclared identifier 'RTE_BBDEV_ENGINE_ERROR'; did you mean 'RTE_BBDEV_EVENT_ERROR'?
op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
^~~~~~~~~~~~~~~~~~~~~~
RTE_BBDEV_EVENT_ERROR
../lib/bbdev/rte_bbdev.h:831:2: note: 'RTE_BBDEV_EVENT_ERROR' declared here
RTE_BBDEV_EVENT_ERROR, /**< error interrupt event */
^
../drivers/baseband/acc/rte_vrb_pmd.c:3595:35: error: use of undeclared identifier 'RTE_BBDEV_ENGINE_ERROR'; did you mean 'RTE_BBDEV_EVENT_ERROR'?
op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
^~~~~~~~~~~~~~~~~~~~~~
RTE_BBDEV_EVENT_ERROR
../lib/bbdev/rte_bbdev.h:831:2: note: 'RTE_BBDEV_EVENT_ERROR' declared here
RTE_BBDEV_EVENT_ERROR, /**< error interrupt event */
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[2270/2784] Generating drivers/rte_event_sw.pmd.c with a custom command
[2271/2784] Generating drivers/rte_event_octeontx.pmd.c with a custom command
[2272/2784] Compiling C object drivers/libtmp_rte_baseband_la12xx.a.p/baseband_la12xx_bbdev_la12xx.c.o
[2273/2784] Compiling C object drivers/libtmp_rte_baseband_fpga_5gnr_fec.a.p/baseband_fpga_5gnr_fec_rte_fpga_5gnr_fec.c.o
[2274/2784] Compiling C object drivers/libtmp_rte_baseband_fpga_lte_fec.a.p/baseband_fpga_lte_fec_fpga_lte_fec.c.o
[2275/2784] Compiling C object app/dpdk-dumpcap.p/dumpcap_main.c.o
[2276/2784] Compiling C object drivers/libtmp_rte_baseband_null.a.p/baseband_null_bbdev_null.c.o
[2277/2784] Compiling C object drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_acc100_pmd.c.o
[2278/2784] Compiling C object drivers/libtmp_rte_baseband_turbo_sw.a.p/baseband_turbo_sw_bbdev_turbo_software.c.o
ninja: build stopped
*Build Failed #11:
OS: SUSE15-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o
gcc -Idrivers/libtmp_rte_baseband_acc.a.p -Idrivers -I../drivers -Idrivers/baseband/acc -I../drivers/baseband/acc -Ilib/bbdev -I../lib/bbdev -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/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -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 -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.bb.acc -MD -MQ drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o -MF drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o.d -o drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o -c ../drivers/baseband/acc/rte_vrb_pmd.c
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_queue_setup’:
../drivers/baseband/acc/rte_vrb_pmd.c:1037:29: error: ‘RTE_BBDEV_OP_MLDTS’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_OP_FFT’?
else if (conf->op_type == RTE_BBDEV_OP_MLDTS)
^~~~~~~~~~~~~~~~~~
RTE_BBDEV_OP_FFT
../drivers/baseband/acc/rte_vrb_pmd.c:1037:29: note: each undeclared identifier is reported only once for each function it appears in
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_print_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:1095:24: error: ‘RTE_BBDEV_OP_MLDTS’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_OP_FFT’?
} else if (op_type == RTE_BBDEV_OP_MLDTS) {
^~~~~~~~~~~~~~~~~~
RTE_BBDEV_OP_FFT
In file included from ../drivers/baseband/acc/rte_vrb_pmd.c:22:0:
../drivers/baseband/acc/rte_vrb_pmd.c:1099:13: error: dereferencing pointer to incomplete type ‘struct rte_bbdev_mldts_op’
op_mldts->mldts.num_rbs, op_mldts->mldts.num_layers,
^
../drivers/baseband/acc/vrb_pmd.h:18:5: note: in definition of macro ‘rte_bbdev_log’
##__VA_ARGS__)
^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dev_info_get’:
../drivers/baseband/acc/rte_vrb_pmd.c:1332:5: error: ‘RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION’?
RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION
../drivers/baseband/acc/rte_vrb_pmd.c:1366:12: error: ‘RTE_BBDEV_OP_MLDTS’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_OP_FFT’?
.type = RTE_BBDEV_OP_MLDTS,
^~~~~~~~~~~~~~~~~~
RTE_BBDEV_OP_FFT
../drivers/baseband/acc/rte_vrb_pmd.c:1369:7: error: ‘RTE_BBDEV_MLDTS_REP’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_OP_MLDTS’?
RTE_BBDEV_MLDTS_REP,
^~~~~~~~~~~~~~~~~~~
RTE_BBDEV_OP_MLDTS
../drivers/baseband/acc/rte_vrb_pmd.c:1403:22: error: array subscript is not an integer
dev_info->num_queues[RTE_BBDEV_OP_MLDTS] = d->acc_conf.q_mld.num_aqs_per_groups *
^
../drivers/baseband/acc/rte_vrb_pmd.c:1403:2: error: statement with no effect [-Werror=unused-value]
dev_info->num_queues[RTE_BBDEV_OP_MLDTS] = d->acc_conf.q_mld.num_aqs_per_groups *
^~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1410:26: error: array subscript is not an integer
dev_info->queue_priority[RTE_BBDEV_OP_MLDTS] = d->acc_conf.q_mld.num_qgroups;
^
../drivers/baseband/acc/rte_vrb_pmd.c:1410:2: error: statement with no effect [-Werror=unused-value]
dev_info->queue_priority[RTE_BBDEV_OP_MLDTS] = d->acc_conf.q_mld.num_qgroups;
^~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1412:32: error: comparison between pointer and integer [-Werror]
for (i = RTE_BBDEV_OP_NONE; i <= RTE_BBDEV_OP_MLDTS; i++)
^~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_fcw_ld_fill’:
../drivers/baseband/acc/rte_vrb_pmd.c:1972:46: error: ‘RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION’?
} else if (check_bit(op->ldpc_dec.op_flags, RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION)) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION
../drivers/baseband/acc/rte_vrb_pmd.c:1972:46: error: passing argument 2 of ‘check_bit’ makes integer from pointer without a cast [-Werror=int-conversion]
In file included from ../drivers/baseband/acc/vrb_pmd.h:8:0,
from ../drivers/baseband/acc/rte_vrb_pmd.c:22:
../drivers/baseband/acc/acc_common.h:691:1: note: expected ‘uint32_t {aka unsigned int}’ but argument is of type ‘const struct rte_bbdev_op_cap *’
check_bit(uint32_t bitmap, uint32_t bitmask)
^~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_enc_one_op_cb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3373:43: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
^~~~~~~~~~~~~~~~~~~~~~
RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c:3373:40: error: invalid operands to binary << (have ‘int’ and ‘const struct rte_bbdev_op_cap *’)
op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
^~
../drivers/baseband/acc/rte_vrb_pmd.c:3373:13: error: invalid operands to binary | (have ‘int’ and ‘const struct rte_bbdev_op_cap *’)
op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
^~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:3373:2: error: statement with no effect [-Werror=unused-value]
op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
^~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_dequeue_ldpc_enc_one_op_tb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3425:35: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
^~~~~~~~~~~~~~~~~~~~~~
RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c:3425:32: error: invalid operands to binary << (have ‘int’ and ‘const struct rte_bbdev_op_cap *’)
op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
~~~~~~~~~~~~~~~ ^~
../drivers/baseband/acc/rte_vrb_pmd.c:3425:13: error: invalid operands to binary | (have ‘int’ and ‘const struct rte_bbdev_op_cap *’)
op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
^~ ~~~
../drivers/baseband/acc/rte_vrb_pmd.c:3425:2: error: statement with no effect [-Werror=unused-value]
op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
^~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_enc_one_op_tb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3493:44: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
^~~~~~~~~~~~~~~~~~~~~~
RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c:3493:41: error: invalid operands to binary << (have ‘int’ and ‘const struct rte_bbdev_op_cap *’)
op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
^~
../drivers/baseband/acc/rte_vrb_pmd.c:3493:14: error: invalid operands to binary | (have ‘int’ and ‘const struct rte_bbdev_op_cap *’)
op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
^~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:3493:3: error: statement with no effect [-Werror=unused-value]
op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
^~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_dec_one_op_cb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3540:35: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
^~~~~~~~~~~~~~~~~~~~~~
RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c:3540:32: error: invalid operands to binary << (have ‘int’ and ‘const struct rte_bbdev_op_cap *’)
op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
~~~~~~~~~~~~~~~ ^~
../drivers/baseband/acc/rte_vrb_pmd.c:3540:13: error: invalid operands to binary | (have ‘int’ and ‘const struct rte_bbdev_op_cap *’)
op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
^~ ~~~
../drivers/baseband/acc/rte_vrb_pmd.c:3540:2: error: statement with no effect [-Werror=unused-value]
op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
^~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_ldpc_dec_one_op_cb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3595:35: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
^~~~~~~~~~~~~~~~~~~~~~
RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c:3595:32: error: invalid operands to binary << (have ‘int’ and ‘const struct rte_bbdev_op_cap *’)
op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
~~~~~~~~~~~~~~~ ^~
../drivers/baseband/acc/rte_vrb_pmd.c:3595:13: error: invalid operands to binary | (have ‘int’ and ‘const struct rte_bbdev_op_cap *’)
op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
^~ ~~~
../drivers/baseband/acc/rte_vrb_pmd.c:3595:2: error: statement with no effect [-Werror=unused-value]
op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
^~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_dec_one_op_tb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3677:44: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
^~~~~~~~~~~~~~~~~~~~~~
RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c:3677:41: error: invalid operands to binary << (have ‘int’ and ‘const struct rte_bbdev_op_cap *’)
op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
^~
../drivers/baseband/acc/rte_vrb_pmd.c:3677:14: error: invalid operands to binary | (have ‘int’ and ‘const struct rte_bbdev_op_cap *’)
op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
^~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:3677:3: error: statement with no effect [-Werror=unused-value]
op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
^~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_dma_desc_fft_fill’:
../drivers/baseband/acc/rte_vrb_pmd.c:3990:44: error: ‘RTE_BBDEV_FFT_DEWINDOWING’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_FFT_WINDOWING’?
bool win_en = check_bit(op->fft.op_flags, RTE_BBDEV_FFT_DEWINDOWING);
^~~~~~~~~~~~~~~~~~~~~~~~~
RTE_BBDEV_FFT_WINDOWING
../drivers/baseband/acc/rte_vrb_pmd.c:3990:44: error: passing argument 2 of ‘check_bit’ makes integer from pointer without a cast [-Werror=int-conversion]
In file included from ../drivers/baseband/acc/vrb_pmd.h:8:0,
from ../drivers/baseband/acc/rte_vrb_pmd.c:22:
../drivers/baseband/acc/acc_common.h:691:1: note: expected ‘uint32_t {aka unsigned int}’ but argument is of type ‘const struct rte_bbdev_op_cap *’
check_bit(uint32_t bitmap, uint32_t bitmask)
^~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4016:18: error: ‘RTE_BBDEV_MAX_CS’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_MAX_CS_2’?
for (i = 0; i < RTE_BBDEV_MAX_CS; i++)
^~~~~~~~~~~~~~~~
RTE_BBDEV_MAX_CS_2
../drivers/baseband/acc/rte_vrb_pmd.c:4016:16: error: comparison between pointer and integer [-Werror]
for (i = 0; i < RTE_BBDEV_MAX_CS; i++)
^
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_enqueue_fft_one_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4049:16: error: ‘struct rte_bbdev_op_fft’ has no member named ‘dewindowing_input’; did you mean ‘window_index’?
win = op->fft.dewindowing_input.data;
^~~~~~~~~~~~~~~~~
window_index
../drivers/baseband/acc/rte_vrb_pmd.c:4049:33: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
win = op->fft.dewindowing_input.data;
^
->
../drivers/baseband/acc/rte_vrb_pmd.c:4049:6: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]
win = op->fft.dewindowing_input.data;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4053:23: error: ‘struct rte_bbdev_op_fft’ has no member named ‘dewindowing_input’; did you mean ‘window_index’?
win_offset = op->fft.dewindowing_input.offset;
^~~~~~~~~~~~~~~~~
window_index
../drivers/baseband/acc/rte_vrb_pmd.c:4053:40: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
win_offset = op->fft.dewindowing_input.offset;
^
->
../drivers/baseband/acc/rte_vrb_pmd.c:4053:13: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
win_offset = op->fft.dewindowing_input.offset;
^
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_fft_one_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4142:35: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
^~~~~~~~~~~~~~~~~~~~~~
RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c:4142:32: error: invalid operands to binary << (have ‘int’ and ‘const struct rte_bbdev_op_cap *’)
op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
~~~~~~~~~~~~~~~ ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4142:13: error: invalid operands to binary | (have ‘int’ and ‘const struct rte_bbdev_op_cap *’)
op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
^~ ~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4142:2: error: statement with no effect [-Werror=unused-value]
op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4192:28: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
vrb2_fcw_mldts_fill(struct rte_bbdev_mldts_op *op, struct acc_fcw_mldts *fcw)
^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_fcw_mldts_fill’:
../drivers/baseband/acc/rte_vrb_pmd.c:4194:15: error: dereferencing pointer to incomplete type ‘struct rte_bbdev_mldts_op’
fcw->nrb = op->mldts.num_rbs;
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4194:15: error: request for member ‘mldts’ in something not a structure or union
../drivers/baseband/acc/rte_vrb_pmd.c:4194:22: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
fcw->nrb = op->mldts.num_rbs;
^
->
../drivers/baseband/acc/rte_vrb_pmd.c:4194:11: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
fcw->nrb = op->mldts.num_rbs;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4195:19: error: request for member ‘mldts’ in something not a structure or union
fcw->NLayers = op->mldts.num_layers - 1;
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4195:26: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
fcw->NLayers = op->mldts.num_layers - 1;
^
->
../drivers/baseband/acc/rte_vrb_pmd.c:4195:15: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
fcw->NLayers = op->mldts.num_layers - 1;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4196:18: error: request for member ‘mldts’ in something not a structure or union
fcw->Qmod0 = (op->mldts.q_m[0] >> 1) - 1;
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4196:25: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
fcw->Qmod0 = (op->mldts.q_m[0] >> 1) - 1;
^
->
../drivers/baseband/acc/rte_vrb_pmd.c:4196:33: error: invalid operands to binary >> (have ‘const struct rte_bbdev_op_cap’ and ‘int’)
fcw->Qmod0 = (op->mldts.q_m[0] >> 1) - 1;
~~~~~~~~~~~~~~~~ ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4196:13: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
fcw->Qmod0 = (op->mldts.q_m[0] >> 1) - 1;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4197:18: error: request for member ‘mldts’ in something not a structure or union
fcw->Qmod1 = (op->mldts.q_m[1] >> 1) - 1;
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4197:25: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
fcw->Qmod1 = (op->mldts.q_m[1] >> 1) - 1;
^
->
../drivers/baseband/acc/rte_vrb_pmd.c:4197:33: error: invalid operands to binary >> (have ‘const struct rte_bbdev_op_cap’ and ‘int’)
fcw->Qmod1 = (op->mldts.q_m[1] >> 1) - 1;
~~~~~~~~~~~~~~~~ ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4197:13: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
fcw->Qmod1 = (op->mldts.q_m[1] >> 1) - 1;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4198:18: error: request for member ‘mldts’ in something not a structure or union
fcw->Qmod2 = (op->mldts.q_m[2] >> 1) - 1;
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4198:25: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
fcw->Qmod2 = (op->mldts.q_m[2] >> 1) - 1;
^
->
../drivers/baseband/acc/rte_vrb_pmd.c:4198:33: error: invalid operands to binary >> (have ‘const struct rte_bbdev_op_cap’ and ‘int’)
fcw->Qmod2 = (op->mldts.q_m[2] >> 1) - 1;
~~~~~~~~~~~~~~~~ ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4198:13: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
fcw->Qmod2 = (op->mldts.q_m[2] >> 1) - 1;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4199:18: error: request for member ‘mldts’ in something not a structure or union
fcw->Qmod3 = (op->mldts.q_m[3] >> 1) - 1;
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4199:25: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
fcw->Qmod3 = (op->mldts.q_m[3] >> 1) - 1;
^
->
../drivers/baseband/acc/rte_vrb_pmd.c:4199:33: error: invalid operands to binary >> (have ‘const struct rte_bbdev_op_cap’ and ‘int’)
fcw->Qmod3 = (op->mldts.q_m[3] >> 1) - 1;
~~~~~~~~~~~~~~~~ ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4199:13: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
fcw->Qmod3 = (op->mldts.q_m[3] >> 1) - 1;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4201:8: error: request for member ‘mldts’ in something not a structure or union
if (op->mldts.num_layers == 2) {
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4201:15: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
if (op->mldts.num_layers == 2) {
^
->
../drivers/baseband/acc/rte_vrb_pmd.c:4201:27: error: comparison between pointer and integer [-Werror]
if (op->mldts.num_layers == 2) {
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4205:8: error: request for member ‘mldts’ in something not a structure or union
if (op->mldts.num_layers == 3)
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4205:15: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
if (op->mldts.num_layers == 3)
^
->
../drivers/baseband/acc/rte_vrb_pmd.c:4205:27: error: comparison between pointer and integer [-Werror]
if (op->mldts.num_layers == 3)
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4207:16: error: request for member ‘mldts’ in something not a structure or union
fcw->Rrep = op->mldts.r_rep;
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4207:23: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
fcw->Rrep = op->mldts.r_rep;
^
->
../drivers/baseband/acc/rte_vrb_pmd.c:4207:12: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
fcw->Rrep = op->mldts.r_rep;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4208:16: error: request for member ‘mldts’ in something not a structure or union
fcw->Crep = op->mldts.c_rep;
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4208:23: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
fcw->Crep = op->mldts.c_rep;
^
->
../drivers/baseband/acc/rte_vrb_pmd.c:4208:12: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
fcw->Crep = op->mldts.c_rep;
^
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4213:33: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
vrb2_dma_desc_mldts_fill(struct rte_bbdev_mldts_op *op,
^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_dma_desc_mldts_fill’:
../drivers/baseband/acc/rte_vrb_pmd.c:4226:8: error: dereferencing pointer to incomplete type ‘struct rte_bbdev_mldts_op’
if (op->mldts.r_rep > 5)
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4226:8: error: request for member ‘mldts’ in something not a structure or union
../drivers/baseband/acc/rte_vrb_pmd.c:4226:15: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
if (op->mldts.r_rep > 5)
^
->
../drivers/baseband/acc/rte_vrb_pmd.c:4226:22: error: comparison between pointer and integer [-Werror]
if (op->mldts.r_rep > 5)
^
../drivers/baseband/acc/rte_vrb_pmd.c:4227:5: error: request for member ‘mldts’ in something not a structure or union
op->mldts.r_rep = 5;
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4227:12: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
op->mldts.r_rep = 5;
^
->
../drivers/baseband/acc/rte_vrb_pmd.c:4227:3: error: statement with no effect [-Werror=unused-value]
op->mldts.r_rep = 5;
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4228:8: error: request for member ‘mldts’ in something not a structure or union
if (op->mldts.num_layers < 2)
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4228:15: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
if (op->mldts.num_layers < 2)
^
->
../drivers/baseband/acc/rte_vrb_pmd.c:4228:27: error: comparison between pointer and integer [-Werror]
if (op->mldts.num_layers < 2)
^
../drivers/baseband/acc/rte_vrb_pmd.c:4229:5: error: request for member ‘mldts’ in something not a structure or union
op->mldts.num_layers = 2;
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4229:12: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
op->mldts.num_layers = 2;
^
->
../drivers/baseband/acc/rte_vrb_pmd.c:4229:3: error: statement with no effect [-Werror=unused-value]
op->mldts.num_layers = 2;
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4230:8: error: request for member ‘mldts’ in something not a structure or union
if (op->mldts.num_layers > 4)
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4230:15: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
if (op->mldts.num_layers > 4)
^
->
../drivers/baseband/acc/rte_vrb_pmd.c:4230:27: error: comparison between pointer and integer [-Werror]
if (op->mldts.num_layers > 4)
^
../drivers/baseband/acc/rte_vrb_pmd.c:4231:5: error: request for member ‘mldts’ in something not a structure or union
op->mldts.num_layers = 4;
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4231:12: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
op->mldts.num_layers = 4;
^
->
../drivers/baseband/acc/rte_vrb_pmd.c:4231:3: error: statement with no effect [-Werror=unused-value]
op->mldts.num_layers = 4;
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4232:20: error: request for member ‘mldts’ in something not a structure or union
for (i = 0; i < op->mldts.num_layers; i++)
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4232:27: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
for (i = 0; i < op->mldts.num_layers; i++)
^
->
../drivers/baseband/acc/rte_vrb_pmd.c:4232:16: error: comparison between pointer and integer [-Werror]
for (i = 0; i < op->mldts.num_layers; i++)
^
../drivers/baseband/acc/rte_vrb_pmd.c:4233:23: error: request for member ‘mldts’ in something not a structure or union
outsize_per_re += op->mldts.q_m[i];
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4233:30: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
outsize_per_re += op->mldts.q_m[i];
^
->
../drivers/baseband/acc/rte_vrb_pmd.c:4233:18: error: invalid operands to binary + (have ‘int’ and ‘const struct rte_bbdev_op_cap’)
outsize_per_re += op->mldts.q_m[i];
^~ ~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4233:3: error: statement with no effect [-Werror=unused-value]
outsize_per_re += op->mldts.q_m[i];
^~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4234:13: error: request for member ‘mldts’ in something not a structure or union
sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB * (op->mldts.c_rep + 1);
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4234:20: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB * (op->mldts.c_rep + 1);
^
->
../drivers/baseband/acc/rte_vrb_pmd.c:4234:31: error: ‘RTE_BBDEV_SCPERRB’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_CRC_ERROR’?
sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB * (op->mldts.c_rep + 1);
^~~~~~~~~~~~~~~~~
RTE_BBDEV_CRC_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c:4234:29: error: invalid operands to binary * (have ‘const struct rte_bbdev_op_cap *’ and ‘const struct rte_bbdev_op_cap *’)
sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB * (op->mldts.c_rep + 1);
~~ ^
../drivers/baseband/acc/rte_vrb_pmd.c:4234:54: error: request for member ‘mldts’ in something not a structure or union
sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB * (op->mldts.c_rep + 1);
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4234:61: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB * (op->mldts.c_rep + 1);
^
->
../drivers/baseband/acc/rte_vrb_pmd.c:4234:49: error: invalid operands to binary * (have ‘const struct rte_bbdev_op_cap *’ and ‘const struct rte_bbdev_op_cap *’)
sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB * (op->mldts.c_rep + 1);
~~ ^ ~~~~~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4234:9: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB * (op->mldts.c_rep + 1);
^
../drivers/baseband/acc/rte_vrb_pmd.c:4235:12: error: request for member ‘mldts’ in something not a structure or union
r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4235:19: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
^
->
../drivers/baseband/acc/rte_vrb_pmd.c:4235:51: error: request for member ‘mldts’ in something not a structure or union
r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4235:58: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
^
->
../drivers/baseband/acc/rte_vrb_pmd.c:4235:48: error: array subscript is not an integer
r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
^
../drivers/baseband/acc/rte_vrb_pmd.c:4235:28: error: invalid operands to binary * (have ‘const struct rte_bbdev_op_cap *’ and ‘const struct rte_bbdev_op_cap *’)
r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
~~ ^
../drivers/baseband/acc/rte_vrb_pmd.c:4235:8: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
^
../drivers/baseband/acc/rte_vrb_pmd.c:4236:26: error: request for member ‘mldts’ in something not a structure or union
q_size = qsize_per_re[op->mldts.num_layers - 2] * sc_num;
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4236:33: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
q_size = qsize_per_re[op->mldts.num_layers - 2] * sc_num;
^
->
../drivers/baseband/acc/rte_vrb_pmd.c:4236:23: error: array subscript is not an integer
q_size = qsize_per_re[op->mldts.num_layers - 2] * sc_num;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4236:50: error: invalid operands to binary * (have ‘const struct rte_bbdev_op_cap *’ and ‘uint32_t {aka unsigned int}’)
q_size = qsize_per_re[op->mldts.num_layers - 2] * sc_num;
~~~~~~~~~~~~ ^
../drivers/baseband/acc/rte_vrb_pmd.c:4236:9: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
q_size = qsize_per_re[op->mldts.num_layers - 2] * sc_num;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4237:26: error: request for member ‘mldts’ in something not a structure or union
r_size = rsize_per_re[op->mldts.num_layers - 2] * r_num;
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4237:33: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
r_size = rsize_per_re[op->mldts.num_layers - 2] * r_num;
^
->
../drivers/baseband/acc/rte_vrb_pmd.c:4237:23: error: array subscript is not an integer
r_size = rsize_per_re[op->mldts.num_layers - 2] * r_num;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4237:50: error: invalid operands to binary * (have ‘const struct rte_bbdev_op_cap *’ and ‘uint32_t {aka unsigned int}’)
r_size = rsize_per_re[op->mldts.num_layers - 2] * r_num;
~~~~~~~~~~~~ ^
../drivers/baseband/acc/rte_vrb_pmd.c:4237:9: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
r_size = rsize_per_re[op->mldts.num_layers - 2] * r_num;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4221:11: error: variable ‘sc_factor_per_rrep’ set but not used [-Werror=unused-but-set-variable]
uint16_t sc_factor_per_rrep[VRB2_MLD_RREP_SIZE] = {12, 6, 4, 3, 0, 2};
^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4220:11: error: variable ‘rsize_per_re’ set but not used [-Werror=unused-but-set-variable]
uint16_t rsize_per_re[VRB2_MLD_LAY_SIZE] = {14, 26, 42};
^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4219:11: error: variable ‘qsize_per_re’ set but not used [-Werror=unused-but-set-variable]
uint16_t qsize_per_re[VRB2_MLD_LAY_SIZE] = {8, 12, 16}; /* Layer 2 to 4. */
^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4268:36: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
vrb2_check_mld_r_constraint(struct rte_bbdev_mldts_op *op) {
^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_check_mld_r_constraint’:
../drivers/baseband/acc/rte_vrb_pmd.c:4275:8: error: dereferencing pointer to incomplete type ‘struct rte_bbdev_mldts_op’
if (op->mldts.c_rep == 0)
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4275:8: error: request for member ‘mldts’ in something not a structure or union
../drivers/baseband/acc/rte_vrb_pmd.c:4275:15: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
if (op->mldts.c_rep == 0)
^
->
In file included from ../drivers/baseband/acc/rte_vrb_pmd.c:7:0:
../drivers/baseband/acc/rte_vrb_pmd.c:4278:24: error: request for member ‘mldts’ in something not a structure or union
layer_idx = RTE_MIN(op->mldts.num_layers - VRB2_MLD_MIN_LAYER,
^
../lib/eal/include/rte_common.h:615:11: note: in definition of macro ‘RTE_MIN’
typeof (a) _a = (a); \
^
../drivers/baseband/acc/rte_vrb_pmd.c:4278:31: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
layer_idx = RTE_MIN(op->mldts.num_layers - VRB2_MLD_MIN_LAYER,
^
../lib/eal/include/rte_common.h:615:11: note: in definition of macro ‘RTE_MIN’
typeof (a) _a = (a); \
^
../drivers/baseband/acc/rte_vrb_pmd.c:4278:24: error: request for member ‘mldts’ in something not a structure or union
layer_idx = RTE_MIN(op->mldts.num_layers - VRB2_MLD_MIN_LAYER,
^
../lib/eal/include/rte_common.h:615:20: note: in definition of macro ‘RTE_MIN’
typeof (a) _a = (a); \
^
../drivers/baseband/acc/rte_vrb_pmd.c:4278:31: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
layer_idx = RTE_MIN(op->mldts.num_layers - VRB2_MLD_MIN_LAYER,
^
../lib/eal/include/rte_common.h:615:20: note: in definition of macro ‘RTE_MIN’
typeof (a) _a = (a); \
^
../lib/eal/include/rte_common.h:617:6: error: comparison between pointer and integer [-Werror]
_a < _b ? _a : _b; \
^
../drivers/baseband/acc/rte_vrb_pmd.c:4278:14: note: in expansion of macro ‘RTE_MIN’
layer_idx = RTE_MIN(op->mldts.num_layers - VRB2_MLD_MIN_LAYER,
^~~~~~~
../lib/eal/include/rte_common.h:617:16: error: pointer/integer type mismatch in conditional expression [-Werror]
_a < _b ? _a : _b; \
^
../drivers/baseband/acc/rte_vrb_pmd.c:4278:14: note: in expansion of macro ‘RTE_MIN’
layer_idx = RTE_MIN(op->mldts.num_layers - VRB2_MLD_MIN_LAYER,
^~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4278:12: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
layer_idx = RTE_MIN(op->mldts.num_layers - VRB2_MLD_MIN_LAYER,
^
In file included from ../drivers/baseband/acc/rte_vrb_pmd.c:7:0:
../drivers/baseband/acc/rte_vrb_pmd.c:4280:23: error: request for member ‘mldts’ in something not a structure or union
rrep_idx = RTE_MIN(op->mldts.r_rep, VRB2_MLD_MAX_RREP);
^
../lib/eal/include/rte_common.h:615:11: note: in definition of macro ‘RTE_MIN’
typeof (a) _a = (a); \
^
../drivers/baseband/acc/rte_vrb_pmd.c:4280:30: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
rrep_idx = RTE_MIN(op->mldts.r_rep, VRB2_MLD_MAX_RREP);
^
../lib/eal/include/rte_common.h:615:11: note: in definition of macro ‘RTE_MIN’
typeof (a) _a = (a); \
^
../drivers/baseband/acc/rte_vrb_pmd.c:4280:23: error: request for member ‘mldts’ in something not a structure or union
rrep_idx = RTE_MIN(op->mldts.r_rep, VRB2_MLD_MAX_RREP);
^
../lib/eal/include/rte_common.h:615:20: note: in definition of macro ‘RTE_MIN’
typeof (a) _a = (a); \
^
../drivers/baseband/acc/rte_vrb_pmd.c:4280:30: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
rrep_idx = RTE_MIN(op->mldts.r_rep, VRB2_MLD_MAX_RREP);
^
../lib/eal/include/rte_common.h:615:20: note: in definition of macro ‘RTE_MIN’
typeof (a) _a = (a); \
^
../lib/eal/include/rte_common.h:615:19: error: invalid initializer
typeof (a) _a = (a); \
^
../drivers/baseband/acc/rte_vrb_pmd.c:4280:13: note: in expansion of macro ‘RTE_MIN’
rrep_idx = RTE_MIN(op->mldts.r_rep, VRB2_MLD_MAX_RREP);
^~~~~~~
../lib/eal/include/rte_common.h:617:6: error: comparison between pointer and integer [-Werror]
_a < _b ? _a : _b; \
^
../drivers/baseband/acc/rte_vrb_pmd.c:4280:13: note: in expansion of macro ‘RTE_MIN’
rrep_idx = RTE_MIN(op->mldts.r_rep, VRB2_MLD_MAX_RREP);
^~~~~~~
../lib/eal/include/rte_common.h:617:16: error: pointer/integer type mismatch in conditional expression [-Werror]
_a < _b ? _a : _b; \
^
../drivers/baseband/acc/rte_vrb_pmd.c:4280:13: note: in expansion of macro ‘RTE_MIN’
rrep_idx = RTE_MIN(op->mldts.r_rep, VRB2_MLD_MAX_RREP);
^~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4280:11: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
rrep_idx = RTE_MIN(op->mldts.r_rep, VRB2_MLD_MAX_RREP);
^
../drivers/baseband/acc/rte_vrb_pmd.c:4284:12: error: request for member ‘mldts’ in something not a structure or union
return (op->mldts.num_rbs <= max_rb[layer_idx][rrep_idx]);
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4284:19: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
return (op->mldts.num_rbs <= max_rb[layer_idx][rrep_idx]);
^
->
../drivers/baseband/acc/rte_vrb_pmd.c:4284:28: error: comparison between pointer and integer [-Werror]
return (op->mldts.num_rbs <= max_rb[layer_idx][rrep_idx]);
^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4289:52: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
enqueue_mldts_split_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘enqueue_mldts_split_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4304:14: error: dereferencing pointer to incomplete type ‘struct rte_bbdev_mldts_op’
input_q = op->mldts.qhy_input.data;
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4304:14: error: request for member ‘mldts’ in something not a structure or union
../drivers/baseband/acc/rte_vrb_pmd.c:4304:21: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
input_q = op->mldts.qhy_input.data;
^
->
../drivers/baseband/acc/rte_vrb_pmd.c:4304:31: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
input_q = op->mldts.qhy_input.data;
^
->
../drivers/baseband/acc/rte_vrb_pmd.c:4304:10: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]
input_q = op->mldts.qhy_input.data;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4305:14: error: request for member ‘mldts’ in something not a structure or union
input_r = op->mldts.r_input.data;
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4305:21: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
input_r = op->mldts.r_input.data;
^
->
../drivers/baseband/acc/rte_vrb_pmd.c:4305:29: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
input_r = op->mldts.r_input.data;
^
->
../drivers/baseband/acc/rte_vrb_pmd.c:4305:10: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]
input_r = op->mldts.r_input.data;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4306:13: error: request for member ‘mldts’ in something not a structure or union
output = op->mldts.output.data;
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4306:20: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
output = op->mldts.output.data;
^
->
../drivers/baseband/acc/rte_vrb_pmd.c:4306:27: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
output = op->mldts.output.data;
^
->
../drivers/baseband/acc/rte_vrb_pmd.c:4306:9: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]
output = op->mldts.output.data;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4307:16: error: request for member ‘mldts’ in something not a structure or union
in_offset = op->mldts.qhy_input.offset;
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4307:23: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
in_offset = op->mldts.qhy_input.offset;
^
->
../drivers/baseband/acc/rte_vrb_pmd.c:4307:33: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
in_offset = op->mldts.qhy_input.offset;
^
->
../drivers/baseband/acc/rte_vrb_pmd.c:4307:12: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
in_offset = op->mldts.qhy_input.offset;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4308:17: error: request for member ‘mldts’ in something not a structure or union
out_offset = op->mldts.output.offset;
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4308:24: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
out_offset = op->mldts.output.offset;
^
->
../drivers/baseband/acc/rte_vrb_pmd.c:4308:31: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
out_offset = op->mldts.output.offset;
^
->
../drivers/baseband/acc/rte_vrb_pmd.c:4308:13: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
out_offset = op->mldts.output.offset;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4309:15: error: request for member ‘mldts’ in something not a structure or union
num_syms = op->mldts.c_rep + 1;
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4309:22: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
num_syms = op->mldts.c_rep + 1;
^
->
../drivers/baseband/acc/rte_vrb_pmd.c:4309:11: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
num_syms = op->mldts.c_rep + 1;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4311:22: error: passing argument 1 of ‘vrb2_fcw_mldts_fill’ from incompatible pointer type [-Werror=incompatible-pointer-types]
vrb2_fcw_mldts_fill(op, fcw);
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4192:1: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
vrb2_fcw_mldts_fill(struct rte_bbdev_mldts_op *op, struct acc_fcw_mldts *fcw)
^~~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4315:8: error: request for member ‘mldts’ in something not a structure or union
if (op->mldts.r_rep > 5)
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4315:15: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
if (op->mldts.r_rep > 5)
^
->
../drivers/baseband/acc/rte_vrb_pmd.c:4315:22: error: comparison between pointer and integer [-Werror]
if (op->mldts.r_rep > 5)
^
../drivers/baseband/acc/rte_vrb_pmd.c:4316:5: error: request for member ‘mldts’ in something not a structure or union
op->mldts.r_rep = 5;
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4316:12: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
op->mldts.r_rep = 5;
^
->
../drivers/baseband/acc/rte_vrb_pmd.c:4316:3: error: statement with no effect [-Werror=unused-value]
op->mldts.r_rep = 5;
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4317:8: error: request for member ‘mldts’ in something not a structure or union
if (op->mldts.num_layers < 2)
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4317:15: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
if (op->mldts.num_layers < 2)
^
->
../drivers/baseband/acc/rte_vrb_pmd.c:4317:27: error: comparison between pointer and integer [-Werror]
if (op->mldts.num_layers < 2)
^
../drivers/baseband/acc/rte_vrb_pmd.c:4318:5: error: request for member ‘mldts’ in something not a structure or union
op->mldts.num_layers = 2;
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4318:12: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
op->mldts.num_layers = 2;
^
->
../drivers/baseband/acc/rte_vrb_pmd.c:4318:3: error: statement with no effect [-Werror=unused-value]
op->mldts.num_layers = 2;
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4319:8: error: request for member ‘mldts’ in something not a structure or union
if (op->mldts.num_layers > 4)
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4319:15: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
if (op->mldts.num_layers > 4)
^
->
../drivers/baseband/acc/rte_vrb_pmd.c:4319:27: error: comparison between pointer and integer [-Werror]
if (op->mldts.num_layers > 4)
^
../drivers/baseband/acc/rte_vrb_pmd.c:4320:5: error: request for member ‘mldts’ in something not a structure or union
op->mldts.num_layers = 4;
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4320:12: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
op->mldts.num_layers = 4;
^
->
../drivers/baseband/acc/rte_vrb_pmd.c:4320:3: error: statement with no effect [-Werror=unused-value]
op->mldts.num_layers = 4;
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4322:20: error: request for member ‘mldts’ in something not a structure or union
for (i = 0; i < op->mldts.num_layers; i++)
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4322:27: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
for (i = 0; i < op->mldts.num_layers; i++)
^
->
../drivers/baseband/acc/rte_vrb_pmd.c:4322:16: error: comparison between pointer and integer [-Werror]
for (i = 0; i < op->mldts.num_layers; i++)
^
../drivers/baseband/acc/rte_vrb_pmd.c:4323:23: error: request for member ‘mldts’ in something not a structure or union
outsize_per_re += op->mldts.q_m[i];
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4323:30: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
outsize_per_re += op->mldts.q_m[i];
^
->
../drivers/baseband/acc/rte_vrb_pmd.c:4323:18: error: invalid operands to binary + (have ‘uint32_t {aka unsigned int}’ and ‘const struct rte_bbdev_op_cap’)
outsize_per_re += op->mldts.q_m[i];
^~ ~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4323:3: error: statement with no effect [-Werror=unused-value]
outsize_per_re += op->mldts.q_m[i];
^~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4324:13: error: request for member ‘mldts’ in something not a structure or union
sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB; /* C rep forced to zero. */
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4324:20: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB; /* C rep forced to zero. */
^
->
../drivers/baseband/acc/rte_vrb_pmd.c:4324:31: error: ‘RTE_BBDEV_SCPERRB’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_CRC_ERROR’?
sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB; /* C rep forced to zero. */
^~~~~~~~~~~~~~~~~
RTE_BBDEV_CRC_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c:4324:29: error: invalid operands to binary * (have ‘const struct rte_bbdev_op_cap *’ and ‘const struct rte_bbdev_op_cap *’)
sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB; /* C rep forced to zero. */
~~ ^
../drivers/baseband/acc/rte_vrb_pmd.c:4324:9: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB; /* C rep forced to zero. */
^
../drivers/baseband/acc/rte_vrb_pmd.c:4325:12: error: request for member ‘mldts’ in something not a structure or union
r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4325:19: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
^
->
../drivers/baseband/acc/rte_vrb_pmd.c:4325:51: error: request for member ‘mldts’ in something not a structure or union
r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4325:58: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
^
->
../drivers/baseband/acc/rte_vrb_pmd.c:4325:48: error: array subscript is not an integer
r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
^
../drivers/baseband/acc/rte_vrb_pmd.c:4325:28: error: invalid operands to binary * (have ‘const struct rte_bbdev_op_cap *’ and ‘const struct rte_bbdev_op_cap *’)
r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
~~ ^
../drivers/baseband/acc/rte_vrb_pmd.c:4325:8: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
^
../drivers/baseband/acc/rte_vrb_pmd.c:4326:26: error: request for member ‘mldts’ in something not a structure or union
q_size = qsize_per_re[op->mldts.num_layers - 2] * sc_num;
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4326:33: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
q_size = qsize_per_re[op->mldts.num_layers - 2] * sc_num;
^
->
../drivers/baseband/acc/rte_vrb_pmd.c:4326:23: error: array subscript is not an integer
q_size = qsize_per_re[op->mldts.num_layers - 2] * sc_num;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4326:50: error: invalid operands to binary * (have ‘const struct rte_bbdev_op_cap *’ and ‘uint32_t {aka unsigned int}’)
q_size = qsize_per_re[op->mldts.num_layers - 2] * sc_num;
~~~~~~~~~~~~ ^
../drivers/baseband/acc/rte_vrb_pmd.c:4326:9: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
q_size = qsize_per_re[op->mldts.num_layers - 2] * sc_num;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4327:26: error: request for member ‘mldts’ in something not a structure or union
r_size = rsize_per_re[op->mldts.num_layers - 2] * r_num;
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4327:33: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
r_size = rsize_per_re[op->mldts.num_layers - 2] * r_num;
^
->
../drivers/baseband/acc/rte_vrb_pmd.c:4327:23: error: array subscript is not an integer
r_size = rsize_per_re[op->mldts.num_layers - 2] * r_num;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4327:50: error: invalid operands to binary * (have ‘const struct rte_bbdev_op_cap *’ and ‘uint32_t {aka unsigned int}’)
r_size = rsize_per_re[op->mldts.num_layers - 2] * r_num;
~~~~~~~~~~~~ ^
../drivers/baseband/acc/rte_vrb_pmd.c:4327:9: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
r_size = rsize_per_re[op->mldts.num_layers - 2] * r_num;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4294:11: error: variable ‘sc_factor_per_rrep’ set but not used [-Werror=unused-but-set-variable]
uint16_t sc_factor_per_rrep[VRB2_MLD_RREP_SIZE] = {12, 6, 4, 3, 0, 2};
^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4293:11: error: variable ‘rsize_per_re’ set but not used [-Werror=unused-but-set-variable]
uint16_t rsize_per_re[VRB2_MLD_LAY_SIZE] = {14, 26, 42};
^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4292:11: error: variable ‘qsize_per_re’ set but not used [-Werror=unused-but-set-variable]
uint16_t qsize_per_re[VRB2_MLD_LAY_SIZE] = {8, 12, 16}; /* Layer 2 to 4. */
^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4371:50: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
enqueue_mldts_one_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘enqueue_mldts_one_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4382:14: error: dereferencing pointer to incomplete type ‘struct rte_bbdev_mldts_op’
input_q = op->mldts.qhy_input.data;
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4382:14: error: request for member ‘mldts’ in something not a structure or union
../drivers/baseband/acc/rte_vrb_pmd.c:4382:21: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
input_q = op->mldts.qhy_input.data;
^
->
../drivers/baseband/acc/rte_vrb_pmd.c:4382:31: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
input_q = op->mldts.qhy_input.data;
^
->
../drivers/baseband/acc/rte_vrb_pmd.c:4382:10: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]
input_q = op->mldts.qhy_input.data;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4383:14: error: request for member ‘mldts’ in something not a structure or union
input_r = op->mldts.r_input.data;
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4383:21: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
input_r = op->mldts.r_input.data;
^
->
../drivers/baseband/acc/rte_vrb_pmd.c:4383:29: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
input_r = op->mldts.r_input.data;
^
->
../drivers/baseband/acc/rte_vrb_pmd.c:4383:10: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]
input_r = op->mldts.r_input.data;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4384:13: error: request for member ‘mldts’ in something not a structure or union
output = op->mldts.output.data;
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4384:20: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
output = op->mldts.output.data;
^
->
../drivers/baseband/acc/rte_vrb_pmd.c:4384:27: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
output = op->mldts.output.data;
^
->
../drivers/baseband/acc/rte_vrb_pmd.c:4384:9: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]
output = op->mldts.output.data;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4385:16: error: request for member ‘mldts’ in something not a structure or union
in_offset = op->mldts.qhy_input.offset;
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4385:23: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
in_offset = op->mldts.qhy_input.offset;
^
->
../drivers/baseband/acc/rte_vrb_pmd.c:4385:33: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
in_offset = op->mldts.qhy_input.offset;
^
->
../drivers/baseband/acc/rte_vrb_pmd.c:4385:12: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
in_offset = op->mldts.qhy_input.offset;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4386:17: error: request for member ‘mldts’ in something not a structure or union
out_offset = op->mldts.output.offset;
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4386:24: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
out_offset = op->mldts.output.offset;
^
->
../drivers/baseband/acc/rte_vrb_pmd.c:4386:31: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
out_offset = op->mldts.output.offset;
^
->
../drivers/baseband/acc/rte_vrb_pmd.c:4386:13: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
out_offset = op->mldts.output.offset;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4388:22: error: passing argument 1 of ‘vrb2_fcw_mldts_fill’ from incompatible pointer type [-Werror=incompatible-pointer-types]
vrb2_fcw_mldts_fill(op, fcw);
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4192:1: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
vrb2_fcw_mldts_fill(struct rte_bbdev_mldts_op *op, struct acc_fcw_mldts *fcw)
^~~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4389:27: error: passing argument 1 of ‘vrb2_dma_desc_mldts_fill’ from incompatible pointer type [-Werror=incompatible-pointer-types]
vrb2_dma_desc_mldts_fill(op, &desc->req, input_q, input_r, output,
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4213:1: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
vrb2_dma_desc_mldts_fill(struct rte_bbdev_mldts_op *op,
^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4401:10: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_bbdev_mldts_op **ops, uint16_t num)
^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_enqueue_mldts’:
../drivers/baseband/acc/rte_vrb_pmd.c:4415:43: error: passing argument 1 of ‘vrb2_check_mld_r_constraint’ from incompatible pointer type [-Werror=incompatible-pointer-types]
as_one_op = vrb2_check_mld_r_constraint(ops[i]);
^~~
../drivers/baseband/acc/rte_vrb_pmd.c:4268:1: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
vrb2_check_mld_r_constraint(struct rte_bbdev_mldts_op *op) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4416:39: error: dereferencing pointer to incomplete type ‘struct rte_bbdev_mldts_op’
descs_in_op = as_one_op ? 1 : ops[i]->mldts.c_rep + 1;
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4416:39: error: request for member ‘mldts’ in something not a structure or union
../drivers/baseband/acc/rte_vrb_pmd.c:4416:46: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
descs_in_op = as_one_op ? 1 : ops[i]->mldts.c_rep + 1;
^
->
../drivers/baseband/acc/rte_vrb_pmd.c:4416:31: error: pointer/integer type mismatch in conditional expression [-Werror]
descs_in_op = as_one_op ? 1 : ops[i]->mldts.c_rep + 1;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4416:15: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
descs_in_op = as_one_op ? 1 : ops[i]->mldts.c_rep + 1;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4426:34: error: passing argument 2 of ‘enqueue_mldts_one_op’ from incompatible pointer type [-Werror=incompatible-pointer-types]
ret = enqueue_mldts_one_op(q, ops[i], enqueued_descs);
^~~
../drivers/baseband/acc/rte_vrb_pmd.c:4371:1: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
enqueue_mldts_one_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
^~~~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4428:36: error: passing argument 2 of ‘enqueue_mldts_split_op’ from incompatible pointer type [-Werror=incompatible-pointer-types]
ret = enqueue_mldts_split_op(q, ops[i], enqueued_descs);
^~~
../drivers/baseband/acc/rte_vrb_pmd.c:4289:1: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
enqueue_mldts_split_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
^~~~~~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4455:31: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct acc_queue *q, struct rte_bbdev_mldts_op **ref_op,
^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘dequeue_mldts_one_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4499:4: error: dereferencing pointer to incomplete type ‘struct rte_bbdev_mldts_op’
op->status = 0;
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4499:4: error: request for member ‘status’ in something not a structure or union
../drivers/baseband/acc/rte_vrb_pmd.c:4499:2: error: statement with no effect [-Werror=unused-value]
op->status = 0;
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4505:5: error: request for member ‘status’ in something not a structure or union
op->status |= rsp.input_err << RTE_BBDEV_DATA_ERROR;
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4505:3: error: statement with no effect [-Werror=unused-value]
op->status |= rsp.input_err << RTE_BBDEV_DATA_ERROR;
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4506:5: error: request for member ‘status’ in something not a structure or union
op->status |= rsp.dma_err << RTE_BBDEV_DRV_ERROR;
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4506:3: error: statement with no effect [-Werror=unused-value]
op->status |= rsp.dma_err << RTE_BBDEV_DRV_ERROR;
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4507:5: error: request for member ‘status’ in something not a structure or union
op->status |= rsp.fcw_err << RTE_BBDEV_DRV_ERROR;
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4507:3: error: statement with no effect [-Werror=unused-value]
op->status |= rsp.fcw_err << RTE_BBDEV_DRV_ERROR;
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4508:5: error: request for member ‘status’ in something not a structure or union
op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4508:36: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
^~~~~~~~~~~~~~~~~~~~~~
RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c:4508:33: error: invalid operands to binary << (have ‘int’ and ‘const struct rte_bbdev_op_cap *’)
op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
~~~~~~~~~~~~~~~ ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4508:3: error: statement with no effect [-Werror=unused-value]
op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4511:8: error: request for member ‘status’ in something not a structure or union
if (op->status != 0)
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4513:8: error: request for member ‘status’ in something not a structure or union
if (op->status & (1 << RTE_BBDEV_DRV_ERROR))
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4513:17: error: invalid operands to binary & (have ‘const struct rte_bbdev_op_cap *’ and ‘int’)
if (op->status & (1 << RTE_BBDEV_DRV_ERROR))
~~ ^
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4531:10: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_bbdev_mldts_op **ops, uint16_t num)
^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_dequeue_mldts’:
../drivers/baseband/acc/rte_vrb_pmd.c:4542:41: error: passing argument 3 of ‘dequeue_mldts_one_op’ from incompatible pointer type [-Werror=incompatible-pointer-types]
ret = dequeue_mldts_one_op(q_data, q, &ops[i], dequeued_cbs, &aq_dequeued);
^
../drivers/baseband/acc/rte_vrb_pmd.c:4454:1: note: expected ‘struct rte_bbdev_mldts_op **’ but argument is of type ‘struct rte_bbdev_mldts_op **’
dequeue_mldts_one_op(struct rte_bbdev_queue_data *q_data,
^~~~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_bbdev_init’:
../drivers/baseband/acc/rte_vrb_pmd.c:4573:7: error: ‘struct rte_bbdev’ has no member named ‘enqueue_mldts_ops’; did you mean ‘enqueue_dec_ops’?
dev->enqueue_mldts_ops = vrb2_enqueue_mldts;
^~~~~~~~~~~~~~~~~
enqueue_dec_ops
../drivers/baseband/acc/rte_vrb_pmd.c:4573:2: error: statement with no effect [-Werror=unused-value]
dev->enqueue_mldts_ops = vrb2_enqueue_mldts;
^~~
../drivers/baseband/acc/rte_vrb_pmd.c:4574:7: error: ‘struct rte_bbdev’ has no member named ‘dequeue_mldts_ops’; did you mean ‘dequeue_dec_ops’?
dev->dequeue_mldts_ops = vrb2_dequeue_mldts;
^~~~~~~~~~~~~~~~~
dequeue_dec_ops
../drivers/baseband/acc/rte_vrb_pmd.c:4574:2: error: statement with no effect [-Werror=unused-value]
dev->dequeue_mldts_ops = vrb2_dequeue_mldts;
^~~
cc1: all warnings being treated as errors
[2251/2782] Compiling C object drivers/libtmp_rte_event_octeontx.a.p/event_octeontx_ssovf_worker.c.o
[2252/2782] Compiling C object drivers/libtmp_rte_baseband_la12xx.a.p/baseband_la12xx_bbdev_la12xx.c.o
[2253/2782] Compiling C object drivers/libtmp_rte_event_octeontx.a.p/event_octeontx_ssovf_evdev_selftest.c.o
[2254/2782] Compiling C object drivers/libtmp_rte_baseband_fpga_lte_fec.a.p/baseband_fpga_lte_fec_fpga_lte_fec.c.o
[2255/2782] Compiling C object drivers/libtmp_rte_baseband_fpga_5gnr_fec.a.p/baseband_fpga_5gnr_fec_rte_fpga_5gnr_fec.c.o
[2256/2782] Compiling C object drivers/libtmp_rte_crypto_octeontx.a.p/crypto_octeontx_otx_cryptodev_ops.c.o
[2257/2782] Compiling C object drivers/libtmp_rte_crypto_cnxk.a.p/crypto_cnxk_cn10k_cryptodev_ops.c.o
[2258/2782] Compiling C object drivers/libtmp_rte_baseband_null.a.p/baseband_null_bbdev_null.c.o
[2259/2782] Compiling C object drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_acc100_pmd.c.o
ninja: build stopped
*Build Failed #12:
OS: CBL-Mariner2.0-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o
gcc -Idrivers/libtmp_rte_baseband_acc.a.p -Idrivers -I../drivers -Idrivers/baseband/acc -I../drivers/baseband/acc -Ilib/bbdev -I../lib/bbdev -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/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -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-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.bb.acc -MD -MQ drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o -MF drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o.d -o drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o -c ../drivers/baseband/acc/rte_vrb_pmd.c
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb_queue_setup':
../drivers/baseband/acc/rte_vrb_pmd.c:1037:36: error: 'RTE_BBDEV_OP_MLDTS' undeclared (first use in this function); did you mean 'RTE_BBDEV_OP_FFT'?
1037 | else if (conf->op_type == RTE_BBDEV_OP_MLDTS)
| ^~~~~~~~~~~~~~~~~~
| RTE_BBDEV_OP_FFT
../drivers/baseband/acc/rte_vrb_pmd.c:1037:36: note: each undeclared identifier is reported only once for each function it appears in
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb_print_op':
../drivers/baseband/acc/rte_vrb_pmd.c:1095:31: error: 'RTE_BBDEV_OP_MLDTS' undeclared (first use in this function); did you mean 'RTE_BBDEV_OP_FFT'?
1095 | } else if (op_type == RTE_BBDEV_OP_MLDTS) {
| ^~~~~~~~~~~~~~~~~~
| RTE_BBDEV_OP_FFT
In file included from ../drivers/baseband/acc/rte_vrb_pmd.c:22:
../drivers/baseband/acc/rte_vrb_pmd.c:1099:41: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
1099 | op_mldts->mldts.num_rbs, op_mldts->mldts.num_layers,
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro 'rte_bbdev_log'
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1099:66: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
1099 | op_mldts->mldts.num_rbs, op_mldts->mldts.num_layers,
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro 'rte_bbdev_log'
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1100:41: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
1100 | op_mldts->mldts.r_rep,
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro 'rte_bbdev_log'
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1101:41: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
1101 | op_mldts->mldts.c_rep, op_mldts->mldts.op_flags);
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro 'rte_bbdev_log'
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1101:64: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
1101 | op_mldts->mldts.c_rep, op_mldts->mldts.op_flags);
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro 'rte_bbdev_log'
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb_dev_info_get':
../drivers/baseband/acc/rte_vrb_pmd.c:1332:33: error: 'RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION' undeclared (first use in this function); did you mean 'RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION'?
1332 | RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION
../drivers/baseband/acc/rte_vrb_pmd.c:1366:35: error: 'RTE_BBDEV_OP_MLDTS' undeclared (first use in this function); did you mean 'RTE_BBDEV_OP_FFT'?
1366 | .type = RTE_BBDEV_OP_MLDTS,
| ^~~~~~~~~~~~~~~~~~
| RTE_BBDEV_OP_FFT
../drivers/baseband/acc/rte_vrb_pmd.c:1369:49: error: 'RTE_BBDEV_MLDTS_REP' undeclared (first use in this function)
1369 | RTE_BBDEV_MLDTS_REP,
| ^~~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb2_fcw_ld_fill':
../drivers/baseband/acc/rte_vrb_pmd.c:1972:53: error: 'RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION' undeclared (first use in this function); did you mean 'RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION'?
1972 | } else if (check_bit(op->ldpc_dec.op_flags, RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION)) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb_dequeue_enc_one_op_cb':
../drivers/baseband/acc/rte_vrb_pmd.c:3373:50: error: 'RTE_BBDEV_ENGINE_ERROR' undeclared (first use in this function); did you mean 'RTE_BBDEV_EVENT_ERROR'?
3373 | op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb2_dequeue_ldpc_enc_one_op_tb':
../drivers/baseband/acc/rte_vrb_pmd.c:3425:42: error: 'RTE_BBDEV_ENGINE_ERROR' undeclared (first use in this function); did you mean 'RTE_BBDEV_EVENT_ERROR'?
3425 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb_dequeue_enc_one_op_tb':
../drivers/baseband/acc/rte_vrb_pmd.c:3493:58: error: 'RTE_BBDEV_ENGINE_ERROR' undeclared (first use in this function); did you mean 'RTE_BBDEV_EVENT_ERROR'?
3493 | op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb_dequeue_dec_one_op_cb':
../drivers/baseband/acc/rte_vrb_pmd.c:3540:42: error: 'RTE_BBDEV_ENGINE_ERROR' undeclared (first use in this function); did you mean 'RTE_BBDEV_EVENT_ERROR'?
3540 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb_dequeue_ldpc_dec_one_op_cb':
../drivers/baseband/acc/rte_vrb_pmd.c:3595:42: error: 'RTE_BBDEV_ENGINE_ERROR' undeclared (first use in this function); did you mean 'RTE_BBDEV_EVENT_ERROR'?
3595 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb_dequeue_dec_one_op_tb':
../drivers/baseband/acc/rte_vrb_pmd.c:3677:58: error: 'RTE_BBDEV_ENGINE_ERROR' undeclared (first use in this function); did you mean 'RTE_BBDEV_EVENT_ERROR'?
3677 | op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb2_dma_desc_fft_fill':
../drivers/baseband/acc/rte_vrb_pmd.c:3990:51: error: 'RTE_BBDEV_FFT_DEWINDOWING' undeclared (first use in this function); did you mean 'RTE_BBDEV_FFT_WINDOWING'?
3990 | bool win_en = check_bit(op->fft.op_flags, RTE_BBDEV_FFT_DEWINDOWING);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_FFT_WINDOWING
../drivers/baseband/acc/rte_vrb_pmd.c:4016:25: error: 'RTE_BBDEV_MAX_CS' undeclared (first use in this function); did you mean 'RTE_BBDEV_MAX_CS_2'?
4016 | for (i = 0; i < RTE_BBDEV_MAX_CS; i++)
| ^~~~~~~~~~~~~~~~
| RTE_BBDEV_MAX_CS_2
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb_enqueue_fft_one_op':
../drivers/baseband/acc/rte_vrb_pmd.c:4049:22: error: 'struct rte_bbdev_op_fft' has no member named 'dewindowing_input'
4049 | win = op->fft.dewindowing_input.data;
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4053:29: error: 'struct rte_bbdev_op_fft' has no member named 'dewindowing_input'
4053 | win_offset = op->fft.dewindowing_input.offset;
| ^
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb_dequeue_fft_one_op':
../drivers/baseband/acc/rte_vrb_pmd.c:4142:42: error: 'RTE_BBDEV_ENGINE_ERROR' undeclared (first use in this function); did you mean 'RTE_BBDEV_EVENT_ERROR'?
4142 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4192:28: error: 'struct rte_bbdev_mldts_op' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4192 | vrb2_fcw_mldts_fill(struct rte_bbdev_mldts_op *op, struct acc_fcw_mldts *fcw)
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb2_fcw_mldts_fill':
../drivers/baseband/acc/rte_vrb_pmd.c:4194:22: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4194 | fcw->nrb = op->mldts.num_rbs;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4195:26: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4195 | fcw->NLayers = op->mldts.num_layers - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4196:25: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4196 | fcw->Qmod0 = (op->mldts.q_m[0] >> 1) - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4197:25: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4197 | fcw->Qmod1 = (op->mldts.q_m[1] >> 1) - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4198:25: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4198 | fcw->Qmod2 = (op->mldts.q_m[2] >> 1) - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4199:25: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4199 | fcw->Qmod3 = (op->mldts.q_m[3] >> 1) - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4201:15: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4201 | if (op->mldts.num_layers == 2) {
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4205:15: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4205 | if (op->mldts.num_layers == 3)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4207:23: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4207 | fcw->Rrep = op->mldts.r_rep;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4208:23: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4208 | fcw->Crep = op->mldts.c_rep;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4213:33: error: 'struct rte_bbdev_mldts_op' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4213 | vrb2_dma_desc_mldts_fill(struct rte_bbdev_mldts_op *op,
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb2_dma_desc_mldts_fill':
../drivers/baseband/acc/rte_vrb_pmd.c:4226:15: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4226 | if (op->mldts.r_rep > 5)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4227:19: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4227 | op->mldts.r_rep = 5;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4228:15: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4228 | if (op->mldts.num_layers < 2)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4229:19: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4229 | op->mldts.num_layers = 2;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4230:15: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4230 | if (op->mldts.num_layers > 4)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4231:19: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4231 | op->mldts.num_layers = 4;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4232:27: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4232 | for (i = 0; i < op->mldts.num_layers; i++)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4233:37: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4233 | outsize_per_re += op->mldts.q_m[i];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4234:20: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4234 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB * (op->mldts.c_rep + 1);
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4234:38: error: 'RTE_BBDEV_SCPERRB' undeclared (first use in this function); did you mean 'RTE_BBDEV_CRC_ERROR'?
4234 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB * (op->mldts.c_rep + 1);
| ^~~~~~~~~~~~~~~~~
| RTE_BBDEV_CRC_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c:4234:61: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4234 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB * (op->mldts.c_rep + 1);
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4235:19: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4235 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4235:58: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4235 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4236:33: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4236 | q_size = qsize_per_re[op->mldts.num_layers - 2] * sc_num;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4237:33: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4237 | r_size = rsize_per_re[op->mldts.num_layers - 2] * r_num;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4221:18: error: variable 'sc_factor_per_rrep' set but not used [-Werror=unused-but-set-variable]
4221 | uint16_t sc_factor_per_rrep[VRB2_MLD_RREP_SIZE] = {12, 6, 4, 3, 0, 2};
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4220:18: error: variable 'rsize_per_re' set but not used [-Werror=unused-but-set-variable]
4220 | uint16_t rsize_per_re[VRB2_MLD_LAY_SIZE] = {14, 26, 42};
| ^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4219:18: error: variable 'qsize_per_re' set but not used [-Werror=unused-but-set-variable]
4219 | uint16_t qsize_per_re[VRB2_MLD_LAY_SIZE] = {8, 12, 16}; /* Layer 2 to 4. */
| ^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4268:36: error: 'struct rte_bbdev_mldts_op' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4268 | vrb2_check_mld_r_constraint(struct rte_bbdev_mldts_op *op) {
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb2_check_mld_r_constraint':
../drivers/baseband/acc/rte_vrb_pmd.c:4275:15: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4275 | if (op->mldts.c_rep == 0)
| ^~
In file included from ../drivers/baseband/acc/rte_vrb_pmd.c:7:
../drivers/baseband/acc/rte_vrb_pmd.c:4278:31: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4278 | layer_idx = RTE_MIN(op->mldts.num_layers - VRB2_MLD_MIN_LAYER,
| ^~
../lib/eal/include/rte_common.h:615:25: note: in definition of macro 'RTE_MIN'
615 | typeof (a) _a = (a); \
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4278:31: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4278 | layer_idx = RTE_MIN(op->mldts.num_layers - VRB2_MLD_MIN_LAYER,
| ^~
../lib/eal/include/rte_common.h:615:34: note: in definition of macro 'RTE_MIN'
615 | typeof (a) _a = (a); \
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4280:30: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4280 | rrep_idx = RTE_MIN(op->mldts.r_rep, VRB2_MLD_MAX_RREP);
| ^~
../lib/eal/include/rte_common.h:615:25: note: in definition of macro 'RTE_MIN'
615 | typeof (a) _a = (a); \
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4280:30: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4280 | rrep_idx = RTE_MIN(op->mldts.r_rep, VRB2_MLD_MAX_RREP);
| ^~
../lib/eal/include/rte_common.h:615:34: note: in definition of macro 'RTE_MIN'
615 | typeof (a) _a = (a); \
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4284:19: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4284 | return (op->mldts.num_rbs <= max_rb[layer_idx][rrep_idx]);
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4289:52: error: 'struct rte_bbdev_mldts_op' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4289 | enqueue_mldts_split_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'enqueue_mldts_split_op':
../drivers/baseband/acc/rte_vrb_pmd.c:4304:21: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4304 | input_q = op->mldts.qhy_input.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4305:21: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4305 | input_r = op->mldts.r_input.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4306:20: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4306 | output = op->mldts.output.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4307:23: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4307 | in_offset = op->mldts.qhy_input.offset;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4308:24: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4308 | out_offset = op->mldts.output.offset;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4309:22: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4309 | num_syms = op->mldts.c_rep + 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4311:29: error: passing argument 1 of 'vrb2_fcw_mldts_fill' from incompatible pointer type [-Werror=incompatible-pointer-types]
4311 | vrb2_fcw_mldts_fill(op, fcw);
| ^~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4192:48: note: expected 'struct rte_bbdev_mldts_op *' but argument is of type 'struct rte_bbdev_mldts_op *'
4192 | vrb2_fcw_mldts_fill(struct rte_bbdev_mldts_op *op, struct acc_fcw_mldts *fcw)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c:4315:15: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4315 | if (op->mldts.r_rep > 5)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4316:19: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4316 | op->mldts.r_rep = 5;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4317:15: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4317 | if (op->mldts.num_layers < 2)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4318:19: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4318 | op->mldts.num_layers = 2;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4319:15: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4319 | if (op->mldts.num_layers > 4)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4320:19: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4320 | op->mldts.num_layers = 4;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4322:27: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4322 | for (i = 0; i < op->mldts.num_layers; i++)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4323:37: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4323 | outsize_per_re += op->mldts.q_m[i];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4324:20: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4324 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB; /* C rep forced to zero. */
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4324:38: error: 'RTE_BBDEV_SCPERRB' undeclared (first use in this function); did you mean 'RTE_BBDEV_CRC_ERROR'?
4324 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB; /* C rep forced to zero. */
| ^~~~~~~~~~~~~~~~~
| RTE_BBDEV_CRC_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c:4325:19: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4325 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4325:58: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4325 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4326:33: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4326 | q_size = qsize_per_re[op->mldts.num_layers - 2] * sc_num;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4327:33: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4327 | r_size = rsize_per_re[op->mldts.num_layers - 2] * r_num;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4294:18: error: variable 'sc_factor_per_rrep' set but not used [-Werror=unused-but-set-variable]
4294 | uint16_t sc_factor_per_rrep[VRB2_MLD_RREP_SIZE] = {12, 6, 4, 3, 0, 2};
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4293:18: error: variable 'rsize_per_re' set but not used [-Werror=unused-but-set-variable]
4293 | uint16_t rsize_per_re[VRB2_MLD_LAY_SIZE] = {14, 26, 42};
| ^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4292:18: error: variable 'qsize_per_re' set but not used [-Werror=unused-but-set-variable]
4292 | uint16_t qsize_per_re[VRB2_MLD_LAY_SIZE] = {8, 12, 16}; /* Layer 2 to 4. */
| ^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4371:50: error: 'struct rte_bbdev_mldts_op' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4371 | enqueue_mldts_one_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'enqueue_mldts_one_op':
../drivers/baseband/acc/rte_vrb_pmd.c:4382:21: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4382 | input_q = op->mldts.qhy_input.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4383:21: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4383 | input_r = op->mldts.r_input.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4384:20: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4384 | output = op->mldts.output.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4385:23: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4385 | in_offset = op->mldts.qhy_input.offset;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4386:24: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4386 | out_offset = op->mldts.output.offset;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4388:29: error: passing argument 1 of 'vrb2_fcw_mldts_fill' from incompatible pointer type [-Werror=incompatible-pointer-types]
4388 | vrb2_fcw_mldts_fill(op, fcw);
| ^~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4192:48: note: expected 'struct rte_bbdev_mldts_op *' but argument is of type 'struct rte_bbdev_mldts_op *'
4192 | vrb2_fcw_mldts_fill(struct rte_bbdev_mldts_op *op, struct acc_fcw_mldts *fcw)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c:4389:34: error: passing argument 1 of 'vrb2_dma_desc_mldts_fill' from incompatible pointer type [-Werror=incompatible-pointer-types]
4389 | vrb2_dma_desc_mldts_fill(op, &desc->req, input_q, input_r, output,
| ^~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4213:53: note: expected 'struct rte_bbdev_mldts_op *' but argument is of type 'struct rte_bbdev_mldts_op *'
4213 | vrb2_dma_desc_mldts_fill(struct rte_bbdev_mldts_op *op,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4401:24: error: 'struct rte_bbdev_mldts_op' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4401 | struct rte_bbdev_mldts_op **ops, uint16_t num)
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb2_enqueue_mldts':
../drivers/baseband/acc/rte_vrb_pmd.c:4415:60: error: passing argument 1 of 'vrb2_check_mld_r_constraint' from incompatible pointer type [-Werror=incompatible-pointer-types]
4415 | as_one_op = vrb2_check_mld_r_constraint(ops[i]);
| ~~~^~~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4268:56: note: expected 'struct rte_bbdev_mldts_op *' but argument is of type 'struct rte_bbdev_mldts_op *'
4268 | vrb2_check_mld_r_constraint(struct rte_bbdev_mldts_op *op) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c:4416:53: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4416 | descs_in_op = as_one_op ? 1 : ops[i]->mldts.c_rep + 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4426:58: error: passing argument 2 of 'enqueue_mldts_one_op' from incompatible pointer type [-Werror=incompatible-pointer-types]
4426 | ret = enqueue_mldts_one_op(q, ops[i], enqueued_descs);
| ~~~^~~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4371:70: note: expected 'struct rte_bbdev_mldts_op *' but argument is of type 'struct rte_bbdev_mldts_op *'
4371 | enqueue_mldts_one_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c:4428:60: error: passing argument 2 of 'enqueue_mldts_split_op' from incompatible pointer type [-Werror=incompatible-pointer-types]
4428 | ret = enqueue_mldts_split_op(q, ops[i], enqueued_descs);
| ~~~^~~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4289:72: note: expected 'struct rte_bbdev_mldts_op *' but argument is of type 'struct rte_bbdev_mldts_op *'
4289 | enqueue_mldts_split_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4455:45: error: 'struct rte_bbdev_mldts_op' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4455 | struct acc_queue *q, struct rte_bbdev_mldts_op **ref_op,
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'dequeue_mldts_one_op':
../drivers/baseband/acc/rte_vrb_pmd.c:4499:11: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4499 | op->status = 0;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4505:19: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4505 | op->status |= rsp.input_err << RTE_BBDEV_DATA_ERROR;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4506:19: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4506 | op->status |= rsp.dma_err << RTE_BBDEV_DRV_ERROR;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4507:19: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4507 | op->status |= rsp.fcw_err << RTE_BBDEV_DRV_ERROR;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4508:19: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4508 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4508:50: error: 'RTE_BBDEV_ENGINE_ERROR' undeclared (first use in this function); did you mean 'RTE_BBDEV_EVENT_ERROR'?
4508 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c:4511:15: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4511 | if (op->status != 0)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4513:15: error: invalid use of undefined type 'struct rte_bbdev_mldts_op'
4513 | if (op->status & (1 << RTE_BBDEV_DRV_ERROR))
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4531:24: error: 'struct rte_bbdev_mldts_op' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4531 | struct rte_bbdev_mldts_op **ops, uint16_t num)
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb2_dequeue_mldts':
../drivers/baseband/acc/rte_vrb_pmd.c:4542:55: error: passing argument 3 of 'dequeue_mldts_one_op' from incompatible pointer type [-Werror=incompatible-pointer-types]
4542 | ret = dequeue_mldts_one_op(q_data, q, &ops[i], dequeued_cbs, &aq_dequeued);
| ^~~~~~~
| |
| struct rte_bbdev_mldts_op **
../drivers/baseband/acc/rte_vrb_pmd.c:4455:66: note: expected 'struct rte_bbdev_mldts_op **' but argument is of type 'struct rte_bbdev_mldts_op **'
4455 | struct acc_queue *q, struct rte_bbdev_mldts_op **ref_op,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb_bbdev_init':
../drivers/baseband/acc/rte_vrb_pmd.c:4573:14: error: 'struct rte_bbdev' has no member named 'enqueue_mldts_ops'; did you mean 'enqueue_dec_ops'?
4573 | dev->enqueue_mldts_ops = vrb2_enqueue_mldts;
| ^~~~~~~~~~~~~~~~~
| enqueue_dec_ops
../drivers/baseband/acc/rte_vrb_pmd.c:4574:14: error: 'struct rte_bbdev' has no member named 'dequeue_mldts_ops'; did you mean 'dequeue_dec_ops'?
4574 | dev->dequeue_mldts_ops = vrb2_dequeue_mldts;
| ^~~~~~~~~~~~~~~~~
| dequeue_dec_ops
cc1: all warnings being treated as errors
[2247/2763] Linking target drivers/librte_event_sw.so.23.2
[2248/2763] Generating drivers/rte_crypto_octeontx.sym_chk with a custom command (wrapped by meson to capture output)
[2249/2763] Compiling C object drivers/libtmp_rte_event_octeontx.a.p/event_octeontx_ssovf_evdev_selftest.c.o
[2250/2763] Compiling C object drivers/libtmp_rte_baseband_la12xx.a.p/baseband_la12xx_bbdev_la12xx.c.o
[2251/2763] Compiling C object drivers/libtmp_rte_event_octeontx.a.p/event_octeontx_ssovf_worker.c.o
[2252/2763] Compiling C object drivers/libtmp_rte_baseband_fpga_lte_fec.a.p/baseband_fpga_lte_fec_fpga_lte_fec.c.o
[2253/2763] Compiling C object drivers/libtmp_rte_baseband_null.a.p/baseband_null_bbdev_null.c.o
[2254/2763] Compiling C object drivers/libtmp_rte_baseband_fpga_5gnr_fec.a.p/baseband_fpga_5gnr_fec_rte_fpga_5gnr_fec.c.o
[2255/2763] Compiling C object drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_acc100_pmd.c.o
ninja: build stopped
*Build Failed #13:
OS: UB2004-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o
gcc -Idrivers/libtmp_rte_baseband_acc.a.p -Idrivers -I../drivers -Idrivers/baseband/acc -I../drivers/baseband/acc -Ilib/bbdev -I../lib/bbdev -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/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -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-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.bb.acc -MD -MQ drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o -MF drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o.d -o drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o -c ../drivers/baseband/acc/rte_vrb_pmd.c
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_queue_setup’:
../drivers/baseband/acc/rte_vrb_pmd.c:1037:29: error: ‘RTE_BBDEV_OP_MLDTS’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_OP_FFT’?
1037 | else if (conf->op_type == RTE_BBDEV_OP_MLDTS)
| ^~~~~~~~~~~~~~~~~~
| RTE_BBDEV_OP_FFT
../drivers/baseband/acc/rte_vrb_pmd.c:1037:29: note: each undeclared identifier is reported only once for each function it appears in
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_print_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:1095:24: error: ‘RTE_BBDEV_OP_MLDTS’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_OP_FFT’?
1095 | } else if (op_type == RTE_BBDEV_OP_MLDTS) {
| ^~~~~~~~~~~~~~~~~~
| RTE_BBDEV_OP_FFT
In file included from ../drivers/baseband/acc/rte_vrb_pmd.c:22:
../drivers/baseband/acc/rte_vrb_pmd.c:1099:13: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
1099 | op_mldts->mldts.num_rbs, op_mldts->mldts.num_layers,
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:5: note: in definition of macro ‘rte_bbdev_log’
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1099:38: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
1099 | op_mldts->mldts.num_rbs, op_mldts->mldts.num_layers,
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:5: note: in definition of macro ‘rte_bbdev_log’
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1100:13: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
1100 | op_mldts->mldts.r_rep,
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:5: note: in definition of macro ‘rte_bbdev_log’
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1101:13: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
1101 | op_mldts->mldts.c_rep, op_mldts->mldts.op_flags);
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:5: note: in definition of macro ‘rte_bbdev_log’
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1101:36: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
1101 | op_mldts->mldts.c_rep, op_mldts->mldts.op_flags);
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:5: note: in definition of macro ‘rte_bbdev_log’
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dev_info_get’:
../drivers/baseband/acc/rte_vrb_pmd.c:1332:5: error: ‘RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION’?
1332 | RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION
../drivers/baseband/acc/rte_vrb_pmd.c:1366:12: error: ‘RTE_BBDEV_OP_MLDTS’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_OP_FFT’?
1366 | .type = RTE_BBDEV_OP_MLDTS,
| ^~~~~~~~~~~~~~~~~~
| RTE_BBDEV_OP_FFT
../drivers/baseband/acc/rte_vrb_pmd.c:1369:7: error: ‘RTE_BBDEV_MLDTS_REP’ undeclared (first use in this function)
1369 | RTE_BBDEV_MLDTS_REP,
| ^~~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1403:22: error: array subscript is not an integer
1403 | dev_info->num_queues[RTE_BBDEV_OP_MLDTS] = d->acc_conf.q_mld.num_aqs_per_groups *
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:1403:2: error: statement with no effect [-Werror=unused-value]
1403 | dev_info->num_queues[RTE_BBDEV_OP_MLDTS] = d->acc_conf.q_mld.num_aqs_per_groups *
| ^~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1410:26: error: array subscript is not an integer
1410 | dev_info->queue_priority[RTE_BBDEV_OP_MLDTS] = d->acc_conf.q_mld.num_qgroups;
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:1410:2: error: statement with no effect [-Werror=unused-value]
1410 | dev_info->queue_priority[RTE_BBDEV_OP_MLDTS] = d->acc_conf.q_mld.num_qgroups;
| ^~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1412:32: error: comparison between pointer and integer [-Werror]
1412 | for (i = RTE_BBDEV_OP_NONE; i <= RTE_BBDEV_OP_MLDTS; i++)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_fcw_ld_fill’:
../drivers/baseband/acc/rte_vrb_pmd.c:1972:46: error: ‘RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION’?
1972 | } else if (check_bit(op->ldpc_dec.op_flags, RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION)) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION
../drivers/baseband/acc/rte_vrb_pmd.c:1972:46: error: passing argument 2 of ‘check_bit’ makes integer from pointer without a cast [-Werror=int-conversion]
In file included from ../drivers/baseband/acc/vrb_pmd.h:8,
from ../drivers/baseband/acc/rte_vrb_pmd.c:22:
../drivers/baseband/acc/acc_common.h:691:37: note: expected ‘uint32_t’ {aka ‘unsigned int’} but argument is of type ‘const struct rte_bbdev_op_cap *’
691 | check_bit(uint32_t bitmap, uint32_t bitmask)
| ~~~~~~~~~^~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_enc_one_op_cb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3373:43: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
3373 | op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c:3373:40: error: invalid operands to binary << (have ‘int’ and ‘const struct rte_bbdev_op_cap *’)
3373 | op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
| ^~
| |
| const struct rte_bbdev_op_cap *
../drivers/baseband/acc/rte_vrb_pmd.c:3373:13: error: invalid operands to binary | (have ‘int’ and ‘const struct rte_bbdev_op_cap *’)
3373 | op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
| ^~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| const struct rte_bbdev_op_cap *
../drivers/baseband/acc/rte_vrb_pmd.c:3373:2: error: statement with no effect [-Werror=unused-value]
3373 | op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_dequeue_ldpc_enc_one_op_tb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3425:35: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
3425 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c:3425:32: error: invalid operands to binary << (have ‘int’ and ‘const struct rte_bbdev_op_cap *’)
3425 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ~~~~~~~~~~~~~~~ ^~
| | |
| | const struct rte_bbdev_op_cap *
| unsigned char:1
../drivers/baseband/acc/rte_vrb_pmd.c:3425:13: error: invalid operands to binary | (have ‘int’ and ‘const struct rte_bbdev_op_cap *’)
3425 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~ ~~~
| |
| const struct rte_bbdev_op_cap *
../drivers/baseband/acc/rte_vrb_pmd.c:3425:2: error: statement with no effect [-Werror=unused-value]
3425 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_enc_one_op_tb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3493:44: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
3493 | op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c:3493:41: error: invalid operands to binary << (have ‘int’ and ‘const struct rte_bbdev_op_cap *’)
3493 | op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
| ^~
| |
| const struct rte_bbdev_op_cap *
../drivers/baseband/acc/rte_vrb_pmd.c:3493:14: error: invalid operands to binary | (have ‘int’ and ‘const struct rte_bbdev_op_cap *’)
3493 | op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
| ^~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| const struct rte_bbdev_op_cap *
../drivers/baseband/acc/rte_vrb_pmd.c:3493:3: error: statement with no effect [-Werror=unused-value]
3493 | op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_dec_one_op_cb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3540:35: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
3540 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c:3540:32: error: invalid operands to binary << (have ‘int’ and ‘const struct rte_bbdev_op_cap *’)
3540 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ~~~~~~~~~~~~~~~ ^~
| | |
| | const struct rte_bbdev_op_cap *
| unsigned char:1
../drivers/baseband/acc/rte_vrb_pmd.c:3540:13: error: invalid operands to binary | (have ‘int’ and ‘const struct rte_bbdev_op_cap *’)
3540 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~ ~~~
| |
| const struct rte_bbdev_op_cap *
../drivers/baseband/acc/rte_vrb_pmd.c:3540:2: error: statement with no effect [-Werror=unused-value]
3540 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_ldpc_dec_one_op_cb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3595:35: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
3595 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c:3595:32: error: invalid operands to binary << (have ‘int’ and ‘const struct rte_bbdev_op_cap *’)
3595 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ~~~~~~~~~~~~~~~ ^~
| | |
| | const struct rte_bbdev_op_cap *
| unsigned char:1
../drivers/baseband/acc/rte_vrb_pmd.c:3595:13: error: invalid operands to binary | (have ‘int’ and ‘const struct rte_bbdev_op_cap *’)
3595 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~ ~~~
| |
| const struct rte_bbdev_op_cap *
../drivers/baseband/acc/rte_vrb_pmd.c:3595:2: error: statement with no effect [-Werror=unused-value]
3595 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_dec_one_op_tb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3677:44: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
3677 | op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c:3677:41: error: invalid operands to binary << (have ‘int’ and ‘const struct rte_bbdev_op_cap *’)
3677 | op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
| ^~
| |
| const struct rte_bbdev_op_cap *
../drivers/baseband/acc/rte_vrb_pmd.c:3677:14: error: invalid operands to binary | (have ‘int’ and ‘const struct rte_bbdev_op_cap *’)
3677 | op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
| ^~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| const struct rte_bbdev_op_cap *
../drivers/baseband/acc/rte_vrb_pmd.c:3677:3: error: statement with no effect [-Werror=unused-value]
3677 | op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_dma_desc_fft_fill’:
../drivers/baseband/acc/rte_vrb_pmd.c:3990:44: error: ‘RTE_BBDEV_FFT_DEWINDOWING’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_FFT_WINDOWING’?
3990 | bool win_en = check_bit(op->fft.op_flags, RTE_BBDEV_FFT_DEWINDOWING);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_FFT_WINDOWING
../drivers/baseband/acc/rte_vrb_pmd.c:3990:44: error: passing argument 2 of ‘check_bit’ makes integer from pointer without a cast [-Werror=int-conversion]
In file included from ../drivers/baseband/acc/vrb_pmd.h:8,
from ../drivers/baseband/acc/rte_vrb_pmd.c:22:
../drivers/baseband/acc/acc_common.h:691:37: note: expected ‘uint32_t’ {aka ‘unsigned int’} but argument is of type ‘const struct rte_bbdev_op_cap *’
691 | check_bit(uint32_t bitmap, uint32_t bitmask)
| ~~~~~~~~~^~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4016:18: error: ‘RTE_BBDEV_MAX_CS’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_MAX_CS_2’?
4016 | for (i = 0; i < RTE_BBDEV_MAX_CS; i++)
| ^~~~~~~~~~~~~~~~
| RTE_BBDEV_MAX_CS_2
../drivers/baseband/acc/rte_vrb_pmd.c:4016:16: error: comparison between pointer and integer [-Werror]
4016 | for (i = 0; i < RTE_BBDEV_MAX_CS; i++)
| ^
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_enqueue_fft_one_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4049:15: error: ‘struct rte_bbdev_op_fft’ has no member named ‘dewindowing_input’
4049 | win = op->fft.dewindowing_input.data;
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4049:33: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
4049 | win = op->fft.dewindowing_input.data;
| ^
| ->
../drivers/baseband/acc/rte_vrb_pmd.c:4049:6: error: assignment to ‘struct rte_mbuf *’ from incompatible pointer type ‘const struct rte_bbdev_op_cap *’ [-Werror=incompatible-pointer-types]
4049 | win = op->fft.dewindowing_input.data;
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4053:22: error: ‘struct rte_bbdev_op_fft’ has no member named ‘dewindowing_input’
4053 | win_offset = op->fft.dewindowing_input.offset;
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4053:40: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
4053 | win_offset = op->fft.dewindowing_input.offset;
| ^
| ->
../drivers/baseband/acc/rte_vrb_pmd.c:4053:13: error: assignment to ‘uint32_t’ {aka ‘unsigned int’} from ‘const struct rte_bbdev_op_cap *’ makes integer from pointer without a cast [-Werror=int-conversion]
4053 | win_offset = op->fft.dewindowing_input.offset;
| ^
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_fft_one_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4142:35: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
4142 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c:4142:32: error: invalid operands to binary << (have ‘int’ and ‘const struct rte_bbdev_op_cap *’)
4142 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ~~~~~~~~~~~~~~~ ^~
| | |
| | const struct rte_bbdev_op_cap *
| unsigned char:1
../drivers/baseband/acc/rte_vrb_pmd.c:4142:13: error: invalid operands to binary | (have ‘int’ and ‘const struct rte_bbdev_op_cap *’)
4142 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~ ~~~
| |
| const struct rte_bbdev_op_cap *
../drivers/baseband/acc/rte_vrb_pmd.c:4142:2: error: statement with no effect [-Werror=unused-value]
4142 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4192:28: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4192 | vrb2_fcw_mldts_fill(struct rte_bbdev_mldts_op *op, struct acc_fcw_mldts *fcw)
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_fcw_mldts_fill’:
../drivers/baseband/acc/rte_vrb_pmd.c:4194:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4194 | fcw->nrb = op->mldts.num_rbs;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4194:22: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
4194 | fcw->nrb = op->mldts.num_rbs;
| ^
| ->
../drivers/baseband/acc/rte_vrb_pmd.c:4194:11: error: assignment to ‘short unsigned int:13’ from ‘const struct rte_bbdev_op_cap *’ makes integer from pointer without a cast [-Werror=int-conversion]
4194 | fcw->nrb = op->mldts.num_rbs;
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4195:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4195 | fcw->NLayers = op->mldts.num_layers - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4195:26: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
4195 | fcw->NLayers = op->mldts.num_layers - 1;
| ^
| ->
../drivers/baseband/acc/rte_vrb_pmd.c:4195:15: error: assignment to ‘unsigned char:2’ from ‘const struct rte_bbdev_op_cap *’ makes integer from pointer without a cast [-Werror=int-conversion]
4195 | fcw->NLayers = op->mldts.num_layers - 1;
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4196:18: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4196 | fcw->Qmod0 = (op->mldts.q_m[0] >> 1) - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4196:25: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
4196 | fcw->Qmod0 = (op->mldts.q_m[0] >> 1) - 1;
| ^
| ->
../drivers/baseband/acc/rte_vrb_pmd.c:4196:33: error: invalid operands to binary >> (have ‘const struct rte_bbdev_op_cap’ and ‘int’)
4196 | fcw->Qmod0 = (op->mldts.q_m[0] >> 1) - 1;
| ~~~~~~~~~~~~~~~~ ^~
| |
| const struct rte_bbdev_op_cap
../drivers/baseband/acc/rte_vrb_pmd.c:4196:13: error: assignment to ‘unsigned char:2’ from ‘const struct rte_bbdev_op_cap *’ makes integer from pointer without a cast [-Werror=int-conversion]
4196 | fcw->Qmod0 = (op->mldts.q_m[0] >> 1) - 1;
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4197:18: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4197 | fcw->Qmod1 = (op->mldts.q_m[1] >> 1) - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4197:25: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
4197 | fcw->Qmod1 = (op->mldts.q_m[1] >> 1) - 1;
| ^
| ->
../drivers/baseband/acc/rte_vrb_pmd.c:4197:33: error: invalid operands to binary >> (have ‘const struct rte_bbdev_op_cap’ and ‘int’)
4197 | fcw->Qmod1 = (op->mldts.q_m[1] >> 1) - 1;
| ~~~~~~~~~~~~~~~~ ^~
| |
| const struct rte_bbdev_op_cap
../drivers/baseband/acc/rte_vrb_pmd.c:4197:13: error: assignment to ‘unsigned char:2’ from ‘const struct rte_bbdev_op_cap *’ makes integer from pointer without a cast [-Werror=int-conversion]
4197 | fcw->Qmod1 = (op->mldts.q_m[1] >> 1) - 1;
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4198:18: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4198 | fcw->Qmod2 = (op->mldts.q_m[2] >> 1) - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4198:25: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
4198 | fcw->Qmod2 = (op->mldts.q_m[2] >> 1) - 1;
| ^
| ->
../drivers/baseband/acc/rte_vrb_pmd.c:4198:33: error: invalid operands to binary >> (have ‘const struct rte_bbdev_op_cap’ and ‘int’)
4198 | fcw->Qmod2 = (op->mldts.q_m[2] >> 1) - 1;
| ~~~~~~~~~~~~~~~~ ^~
| |
| const struct rte_bbdev_op_cap
../drivers/baseband/acc/rte_vrb_pmd.c:4198:13: error: assignment to ‘unsigned char:2’ from ‘const struct rte_bbdev_op_cap *’ makes integer from pointer without a cast [-Werror=int-conversion]
4198 | fcw->Qmod2 = (op->mldts.q_m[2] >> 1) - 1;
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4199:18: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4199 | fcw->Qmod3 = (op->mldts.q_m[3] >> 1) - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4199:25: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
4199 | fcw->Qmod3 = (op->mldts.q_m[3] >> 1) - 1;
| ^
| ->
../drivers/baseband/acc/rte_vrb_pmd.c:4199:33: error: invalid operands to binary >> (have ‘const struct rte_bbdev_op_cap’ and ‘int’)
4199 | fcw->Qmod3 = (op->mldts.q_m[3] >> 1) - 1;
| ~~~~~~~~~~~~~~~~ ^~
| |
| const struct rte_bbdev_op_cap
../drivers/baseband/acc/rte_vrb_pmd.c:4199:13: error: assignment to ‘unsigned char:2’ from ‘const struct rte_bbdev_op_cap *’ makes integer from pointer without a cast [-Werror=int-conversion]
4199 | fcw->Qmod3 = (op->mldts.q_m[3] >> 1) - 1;
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4201:8: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4201 | if (op->mldts.num_layers == 2) {
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4201:15: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
4201 | if (op->mldts.num_layers == 2) {
| ^
| ->
../drivers/baseband/acc/rte_vrb_pmd.c:4201:27: error: comparison between pointer and integer [-Werror]
4201 | if (op->mldts.num_layers == 2) {
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4205:8: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4205 | if (op->mldts.num_layers == 3)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4205:15: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
4205 | if (op->mldts.num_layers == 3)
| ^
| ->
../drivers/baseband/acc/rte_vrb_pmd.c:4205:27: error: comparison between pointer and integer [-Werror]
4205 | if (op->mldts.num_layers == 3)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4207:16: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4207 | fcw->Rrep = op->mldts.r_rep;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4207:23: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
4207 | fcw->Rrep = op->mldts.r_rep;
| ^
| ->
../drivers/baseband/acc/rte_vrb_pmd.c:4207:12: error: assignment to ‘unsigned char:3’ from ‘const struct rte_bbdev_op_cap *’ makes integer from pointer without a cast [-Werror=int-conversion]
4207 | fcw->Rrep = op->mldts.r_rep;
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4208:16: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4208 | fcw->Crep = op->mldts.c_rep;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4208:23: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
4208 | fcw->Crep = op->mldts.c_rep;
| ^
| ->
../drivers/baseband/acc/rte_vrb_pmd.c:4208:12: error: assignment to ‘unsigned char:3’ from ‘const struct rte_bbdev_op_cap *’ makes integer from pointer without a cast [-Werror=int-conversion]
4208 | fcw->Crep = op->mldts.c_rep;
| ^
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4213:33: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4213 | vrb2_dma_desc_mldts_fill(struct rte_bbdev_mldts_op *op,
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_dma_desc_mldts_fill’:
../drivers/baseband/acc/rte_vrb_pmd.c:4226:8: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4226 | if (op->mldts.r_rep > 5)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4226:15: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
4226 | if (op->mldts.r_rep > 5)
| ^
| ->
../drivers/baseband/acc/rte_vrb_pmd.c:4226:22: error: comparison between pointer and integer [-Werror]
4226 | if (op->mldts.r_rep > 5)
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4227:5: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4227 | op->mldts.r_rep = 5;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4227:12: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
4227 | op->mldts.r_rep = 5;
| ^
| ->
../drivers/baseband/acc/rte_vrb_pmd.c:4227:3: error: statement with no effect [-Werror=unused-value]
4227 | op->mldts.r_rep = 5;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4228:8: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4228 | if (op->mldts.num_layers < 2)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4228:15: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
4228 | if (op->mldts.num_layers < 2)
| ^
| ->
../drivers/baseband/acc/rte_vrb_pmd.c:4228:27: error: comparison between pointer and integer [-Werror]
4228 | if (op->mldts.num_layers < 2)
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4229:5: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4229 | op->mldts.num_layers = 2;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4229:12: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
4229 | op->mldts.num_layers = 2;
| ^
| ->
../drivers/baseband/acc/rte_vrb_pmd.c:4229:3: error: statement with no effect [-Werror=unused-value]
4229 | op->mldts.num_layers = 2;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4230:8: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4230 | if (op->mldts.num_layers > 4)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4230:15: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
4230 | if (op->mldts.num_layers > 4)
| ^
| ->
../drivers/baseband/acc/rte_vrb_pmd.c:4230:27: error: comparison between pointer and integer [-Werror]
4230 | if (op->mldts.num_layers > 4)
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4231:5: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4231 | op->mldts.num_layers = 4;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4231:12: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
4231 | op->mldts.num_layers = 4;
| ^
| ->
../drivers/baseband/acc/rte_vrb_pmd.c:4231:3: error: statement with no effect [-Werror=unused-value]
4231 | op->mldts.num_layers = 4;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4232:20: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4232 | for (i = 0; i < op->mldts.num_layers; i++)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4232:27: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
4232 | for (i = 0; i < op->mldts.num_layers; i++)
| ^
| ->
../drivers/baseband/acc/rte_vrb_pmd.c:4232:16: error: comparison between pointer and integer [-Werror]
4232 | for (i = 0; i < op->mldts.num_layers; i++)
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4233:23: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4233 | outsize_per_re += op->mldts.q_m[i];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4233:30: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
4233 | outsize_per_re += op->mldts.q_m[i];
| ^
| ->
../drivers/baseband/acc/rte_vrb_pmd.c:4233:18: error: invalid operands to binary + (have ‘int’ and ‘const struct rte_bbdev_op_cap’)
4233 | outsize_per_re += op->mldts.q_m[i];
| ^~ ~~~~~~~~~~~~~~~~
| |
| const struct rte_bbdev_op_cap
../drivers/baseband/acc/rte_vrb_pmd.c:4233:3: error: statement with no effect [-Werror=unused-value]
4233 | outsize_per_re += op->mldts.q_m[i];
| ^~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4234:13: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4234 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB * (op->mldts.c_rep + 1);
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4234:20: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
4234 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB * (op->mldts.c_rep + 1);
| ^
| ->
../drivers/baseband/acc/rte_vrb_pmd.c:4234:31: error: ‘RTE_BBDEV_SCPERRB’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_CRC_ERROR’?
4234 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB * (op->mldts.c_rep + 1);
| ^~~~~~~~~~~~~~~~~
| RTE_BBDEV_CRC_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c:4234:29: error: invalid operands to binary * (have ‘const struct rte_bbdev_op_cap *’ and ‘const struct rte_bbdev_op_cap *’)
4234 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB * (op->mldts.c_rep + 1);
| ~~ ^
| | |
| | const struct rte_bbdev_op_cap *
| const struct rte_bbdev_op_cap *
../drivers/baseband/acc/rte_vrb_pmd.c:4234:54: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4234 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB * (op->mldts.c_rep + 1);
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4234:61: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
4234 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB * (op->mldts.c_rep + 1);
| ^
| ->
../drivers/baseband/acc/rte_vrb_pmd.c:4234:49: error: invalid operands to binary * (have ‘const struct rte_bbdev_op_cap *’ and ‘const struct rte_bbdev_op_cap *’)
4234 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB * (op->mldts.c_rep + 1);
| ~~ ^ ~~~~~~~~~~~~~~~~~~~~~
| | |
| const struct rte_bbdev_op_cap * const struct rte_bbdev_op_cap *
../drivers/baseband/acc/rte_vrb_pmd.c:4234:9: error: assignment to ‘uint32_t’ {aka ‘unsigned int’} from ‘const struct rte_bbdev_op_cap *’ makes integer from pointer without a cast [-Werror=int-conversion]
4234 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB * (op->mldts.c_rep + 1);
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4235:12: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4235 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4235:19: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
4235 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ^
| ->
../drivers/baseband/acc/rte_vrb_pmd.c:4235:51: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4235 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4235:58: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
4235 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ^
| ->
../drivers/baseband/acc/rte_vrb_pmd.c:4235:48: error: array subscript is not an integer
4235 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4235:28: error: invalid operands to binary * (have ‘const struct rte_bbdev_op_cap *’ and ‘const struct rte_bbdev_op_cap *’)
4235 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ~~ ^
| | |
| | const struct rte_bbdev_op_cap *
| const struct rte_bbdev_op_cap *
../drivers/baseband/acc/rte_vrb_pmd.c:4235:8: error: assignment to ‘uint32_t’ {aka ‘unsigned int’} from ‘const struct rte_bbdev_op_cap *’ makes integer from pointer without a cast [-Werror=int-conversion]
4235 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4236:26: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4236 | q_size = qsize_per_re[op->mldts.num_layers - 2] * sc_num;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4236:33: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
4236 | q_size = qsize_per_re[op->mldts.num_layers - 2] * sc_num;
| ^
| ->
../drivers/baseband/acc/rte_vrb_pmd.c:4236:23: error: array subscript is not an integer
4236 | q_size = qsize_per_re[op->mldts.num_layers - 2] * sc_num;
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4236:50: error: invalid operands to binary * (have ‘const struct rte_bbdev_op_cap *’ and ‘uint32_t’ {aka ‘unsigned int’})
4236 | q_size = qsize_per_re[op->mldts.num_layers - 2] * sc_num;
| ~~~~~~~~~~~~ ^
| |
| const struct rte_bbdev_op_cap *
../drivers/baseband/acc/rte_vrb_pmd.c:4236:9: error: assignment to ‘uint32_t’ {aka ‘unsigned int’} from ‘const struct rte_bbdev_op_cap *’ makes integer from pointer without a cast [-Werror=int-conversion]
4236 | q_size = qsize_per_re[op->mldts.num_layers - 2] * sc_num;
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4237:26: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4237 | r_size = rsize_per_re[op->mldts.num_layers - 2] * r_num;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4237:33: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
4237 | r_size = rsize_per_re[op->mldts.num_layers - 2] * r_num;
| ^
| ->
../drivers/baseband/acc/rte_vrb_pmd.c:4237:23: error: array subscript is not an integer
4237 | r_size = rsize_per_re[op->mldts.num_layers - 2] * r_num;
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4237:50: error: invalid operands to binary * (have ‘const struct rte_bbdev_op_cap *’ and ‘uint32_t’ {aka ‘unsigned int’})
4237 | r_size = rsize_per_re[op->mldts.num_layers - 2] * r_num;
| ~~~~~~~~~~~~ ^
| |
| const struct rte_bbdev_op_cap *
../drivers/baseband/acc/rte_vrb_pmd.c:4237:9: error: assignment to ‘uint32_t’ {aka ‘unsigned int’} from ‘const struct rte_bbdev_op_cap *’ makes integer from pointer without a cast [-Werror=int-conversion]
4237 | r_size = rsize_per_re[op->mldts.num_layers - 2] * r_num;
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4221:11: error: variable ‘sc_factor_per_rrep’ set but not used [-Werror=unused-but-set-variable]
4221 | uint16_t sc_factor_per_rrep[VRB2_MLD_RREP_SIZE] = {12, 6, 4, 3, 0, 2};
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4220:11: error: variable ‘rsize_per_re’ set but not used [-Werror=unused-but-set-variable]
4220 | uint16_t rsize_per_re[VRB2_MLD_LAY_SIZE] = {14, 26, 42};
| ^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4219:11: error: variable ‘qsize_per_re’ set but not used [-Werror=unused-but-set-variable]
4219 | uint16_t qsize_per_re[VRB2_MLD_LAY_SIZE] = {8, 12, 16}; /* Layer 2 to 4. */
| ^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4268:36: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4268 | vrb2_check_mld_r_constraint(struct rte_bbdev_mldts_op *op) {
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_check_mld_r_constraint’:
../drivers/baseband/acc/rte_vrb_pmd.c:4275:8: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4275 | if (op->mldts.c_rep == 0)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4275:15: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
4275 | if (op->mldts.c_rep == 0)
| ^
| ->
In file included from ../drivers/baseband/acc/rte_vrb_pmd.c:7:
../drivers/baseband/acc/rte_vrb_pmd.c:4278:24: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4278 | layer_idx = RTE_MIN(op->mldts.num_layers - VRB2_MLD_MIN_LAYER,
| ^~
../lib/eal/include/rte_common.h:615:11: note: in definition of macro ‘RTE_MIN’
615 | typeof (a) _a = (a); \
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4278:31: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
4278 | layer_idx = RTE_MIN(op->mldts.num_layers - VRB2_MLD_MIN_LAYER,
| ^
../lib/eal/include/rte_common.h:615:11: note: in definition of macro ‘RTE_MIN’
615 | typeof (a) _a = (a); \
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4278:24: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4278 | layer_idx = RTE_MIN(op->mldts.num_layers - VRB2_MLD_MIN_LAYER,
| ^~
../lib/eal/include/rte_common.h:615:20: note: in definition of macro ‘RTE_MIN’
615 | typeof (a) _a = (a); \
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4278:31: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
4278 | layer_idx = RTE_MIN(op->mldts.num_layers - VRB2_MLD_MIN_LAYER,
| ^
../lib/eal/include/rte_common.h:615:20: note: in definition of macro ‘RTE_MIN’
615 | typeof (a) _a = (a); \
| ^
../lib/eal/include/rte_common.h:617:6: error: comparison between pointer and integer [-Werror]
617 | _a < _b ? _a : _b; \
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4278:14: note: in expansion of macro ‘RTE_MIN’
4278 | layer_idx = RTE_MIN(op->mldts.num_layers - VRB2_MLD_MIN_LAYER,
| ^~~~~~~
../lib/eal/include/rte_common.h:617:16: error: pointer/integer type mismatch in conditional expression [-Werror]
617 | _a < _b ? _a : _b; \
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4278:14: note: in expansion of macro ‘RTE_MIN’
4278 | layer_idx = RTE_MIN(op->mldts.num_layers - VRB2_MLD_MIN_LAYER,
| ^~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4278:12: error: assignment to ‘uint8_t’ {aka ‘unsigned char’} from ‘const struct rte_bbdev_op_cap *’ makes integer from pointer without a cast [-Werror=int-conversion]
4278 | layer_idx = RTE_MIN(op->mldts.num_layers - VRB2_MLD_MIN_LAYER,
| ^
In file included from ../drivers/baseband/acc/rte_vrb_pmd.c:7:
../drivers/baseband/acc/rte_vrb_pmd.c:4280:23: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4280 | rrep_idx = RTE_MIN(op->mldts.r_rep, VRB2_MLD_MAX_RREP);
| ^~
../lib/eal/include/rte_common.h:615:11: note: in definition of macro ‘RTE_MIN’
615 | typeof (a) _a = (a); \
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4280:30: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
4280 | rrep_idx = RTE_MIN(op->mldts.r_rep, VRB2_MLD_MAX_RREP);
| ^
../lib/eal/include/rte_common.h:615:11: note: in definition of macro ‘RTE_MIN’
615 | typeof (a) _a = (a); \
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4280:23: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4280 | rrep_idx = RTE_MIN(op->mldts.r_rep, VRB2_MLD_MAX_RREP);
| ^~
../lib/eal/include/rte_common.h:615:20: note: in definition of macro ‘RTE_MIN’
615 | typeof (a) _a = (a); \
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4280:30: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
4280 | rrep_idx = RTE_MIN(op->mldts.r_rep, VRB2_MLD_MAX_RREP);
| ^
../lib/eal/include/rte_common.h:615:20: note: in definition of macro ‘RTE_MIN’
615 | typeof (a) _a = (a); \
| ^
../lib/eal/include/rte_common.h:615:19: error: invalid initializer
615 | typeof (a) _a = (a); \
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4280:13: note: in expansion of macro ‘RTE_MIN’
4280 | rrep_idx = RTE_MIN(op->mldts.r_rep, VRB2_MLD_MAX_RREP);
| ^~~~~~~
../lib/eal/include/rte_common.h:617:6: error: comparison between pointer and integer [-Werror]
617 | _a < _b ? _a : _b; \
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4280:13: note: in expansion of macro ‘RTE_MIN’
4280 | rrep_idx = RTE_MIN(op->mldts.r_rep, VRB2_MLD_MAX_RREP);
| ^~~~~~~
../lib/eal/include/rte_common.h:617:16: error: pointer/integer type mismatch in conditional expression [-Werror]
617 | _a < _b ? _a : _b; \
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4280:13: note: in expansion of macro ‘RTE_MIN’
4280 | rrep_idx = RTE_MIN(op->mldts.r_rep, VRB2_MLD_MAX_RREP);
| ^~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4280:11: error: assignment to ‘uint8_t’ {aka ‘unsigned char’} from ‘const struct rte_bbdev_op_cap *’ makes integer from pointer without a cast [-Werror=int-conversion]
4280 | rrep_idx = RTE_MIN(op->mldts.r_rep, VRB2_MLD_MAX_RREP);
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4284:12: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4284 | return (op->mldts.num_rbs <= max_rb[layer_idx][rrep_idx]);
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4284:19: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
4284 | return (op->mldts.num_rbs <= max_rb[layer_idx][rrep_idx]);
| ^
| ->
../drivers/baseband/acc/rte_vrb_pmd.c:4284:28: error: comparison between pointer and integer [-Werror]
4284 | return (op->mldts.num_rbs <= max_rb[layer_idx][rrep_idx]);
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4289:52: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4289 | enqueue_mldts_split_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘enqueue_mldts_split_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4304:14: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4304 | input_q = op->mldts.qhy_input.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4304:21: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
4304 | input_q = op->mldts.qhy_input.data;
| ^
| ->
../drivers/baseband/acc/rte_vrb_pmd.c:4304:31: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
4304 | input_q = op->mldts.qhy_input.data;
| ^
| ->
../drivers/baseband/acc/rte_vrb_pmd.c:4304:10: error: assignment to ‘struct rte_mbuf *’ from incompatible pointer type ‘const struct rte_bbdev_op_cap *’ [-Werror=incompatible-pointer-types]
4304 | input_q = op->mldts.qhy_input.data;
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4305:14: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4305 | input_r = op->mldts.r_input.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4305:21: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
4305 | input_r = op->mldts.r_input.data;
| ^
| ->
../drivers/baseband/acc/rte_vrb_pmd.c:4305:29: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
4305 | input_r = op->mldts.r_input.data;
| ^
| ->
../drivers/baseband/acc/rte_vrb_pmd.c:4305:10: error: assignment to ‘struct rte_mbuf *’ from incompatible pointer type ‘const struct rte_bbdev_op_cap *’ [-Werror=incompatible-pointer-types]
4305 | input_r = op->mldts.r_input.data;
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4306:13: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4306 | output = op->mldts.output.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4306:20: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
4306 | output = op->mldts.output.data;
| ^
| ->
../drivers/baseband/acc/rte_vrb_pmd.c:4306:27: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
4306 | output = op->mldts.output.data;
| ^
| ->
../drivers/baseband/acc/rte_vrb_pmd.c:4306:9: error: assignment to ‘struct rte_mbuf *’ from incompatible pointer type ‘const struct rte_bbdev_op_cap *’ [-Werror=incompatible-pointer-types]
4306 | output = op->mldts.output.data;
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4307:16: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4307 | in_offset = op->mldts.qhy_input.offset;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4307:23: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
4307 | in_offset = op->mldts.qhy_input.offset;
| ^
| ->
../drivers/baseband/acc/rte_vrb_pmd.c:4307:33: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
4307 | in_offset = op->mldts.qhy_input.offset;
| ^
| ->
../drivers/baseband/acc/rte_vrb_pmd.c:4307:12: error: assignment to ‘uint32_t’ {aka ‘unsigned int’} from ‘const struct rte_bbdev_op_cap *’ makes integer from pointer without a cast [-Werror=int-conversion]
4307 | in_offset = op->mldts.qhy_input.offset;
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4308:17: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4308 | out_offset = op->mldts.output.offset;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4308:24: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
4308 | out_offset = op->mldts.output.offset;
| ^
| ->
../drivers/baseband/acc/rte_vrb_pmd.c:4308:31: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
4308 | out_offset = op->mldts.output.offset;
| ^
| ->
../drivers/baseband/acc/rte_vrb_pmd.c:4308:13: error: assignment to ‘uint32_t’ {aka ‘unsigned int’} from ‘const struct rte_bbdev_op_cap *’ makes integer from pointer without a cast [-Werror=int-conversion]
4308 | out_offset = op->mldts.output.offset;
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4309:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4309 | num_syms = op->mldts.c_rep + 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4309:22: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
4309 | num_syms = op->mldts.c_rep + 1;
| ^
| ->
../drivers/baseband/acc/rte_vrb_pmd.c:4309:11: error: assignment to ‘uint32_t’ {aka ‘unsigned int’} from ‘const struct rte_bbdev_op_cap *’ makes integer from pointer without a cast [-Werror=int-conversion]
4309 | num_syms = op->mldts.c_rep + 1;
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4311:22: error: passing argument 1 of ‘vrb2_fcw_mldts_fill’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4311 | vrb2_fcw_mldts_fill(op, fcw);
| ^~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4192:48: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
4192 | vrb2_fcw_mldts_fill(struct rte_bbdev_mldts_op *op, struct acc_fcw_mldts *fcw)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c:4315:8: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4315 | if (op->mldts.r_rep > 5)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4315:15: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
4315 | if (op->mldts.r_rep > 5)
| ^
| ->
../drivers/baseband/acc/rte_vrb_pmd.c:4315:22: error: comparison between pointer and integer [-Werror]
4315 | if (op->mldts.r_rep > 5)
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4316:5: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4316 | op->mldts.r_rep = 5;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4316:12: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
4316 | op->mldts.r_rep = 5;
| ^
| ->
../drivers/baseband/acc/rte_vrb_pmd.c:4316:3: error: statement with no effect [-Werror=unused-value]
4316 | op->mldts.r_rep = 5;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4317:8: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4317 | if (op->mldts.num_layers < 2)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4317:15: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
4317 | if (op->mldts.num_layers < 2)
| ^
| ->
../drivers/baseband/acc/rte_vrb_pmd.c:4317:27: error: comparison between pointer and integer [-Werror]
4317 | if (op->mldts.num_layers < 2)
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4318:5: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4318 | op->mldts.num_layers = 2;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4318:12: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
4318 | op->mldts.num_layers = 2;
| ^
| ->
../drivers/baseband/acc/rte_vrb_pmd.c:4318:3: error: statement with no effect [-Werror=unused-value]
4318 | op->mldts.num_layers = 2;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4319:8: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4319 | if (op->mldts.num_layers > 4)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4319:15: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
4319 | if (op->mldts.num_layers > 4)
| ^
| ->
../drivers/baseband/acc/rte_vrb_pmd.c:4319:27: error: comparison between pointer and integer [-Werror]
4319 | if (op->mldts.num_layers > 4)
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4320:5: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4320 | op->mldts.num_layers = 4;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4320:12: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
4320 | op->mldts.num_layers = 4;
| ^
| ->
../drivers/baseband/acc/rte_vrb_pmd.c:4320:3: error: statement with no effect [-Werror=unused-value]
4320 | op->mldts.num_layers = 4;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4322:20: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4322 | for (i = 0; i < op->mldts.num_layers; i++)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4322:27: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
4322 | for (i = 0; i < op->mldts.num_layers; i++)
| ^
| ->
../drivers/baseband/acc/rte_vrb_pmd.c:4322:16: error: comparison between pointer and integer [-Werror]
4322 | for (i = 0; i < op->mldts.num_layers; i++)
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4323:23: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4323 | outsize_per_re += op->mldts.q_m[i];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4323:30: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
4323 | outsize_per_re += op->mldts.q_m[i];
| ^
| ->
../drivers/baseband/acc/rte_vrb_pmd.c:4323:18: error: invalid operands to binary + (have ‘uint32_t’ {aka ‘unsigned int’} and ‘const struct rte_bbdev_op_cap’)
4323 | outsize_per_re += op->mldts.q_m[i];
| ^~ ~~~~~~~~~~~~~~~~
| |
| const struct rte_bbdev_op_cap
../drivers/baseband/acc/rte_vrb_pmd.c:4323:3: error: statement with no effect [-Werror=unused-value]
4323 | outsize_per_re += op->mldts.q_m[i];
| ^~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4324:13: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4324 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB; /* C rep forced to zero. */
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4324:20: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
4324 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB; /* C rep forced to zero. */
| ^
| ->
../drivers/baseband/acc/rte_vrb_pmd.c:4324:31: error: ‘RTE_BBDEV_SCPERRB’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_CRC_ERROR’?
4324 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB; /* C rep forced to zero. */
| ^~~~~~~~~~~~~~~~~
| RTE_BBDEV_CRC_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c:4324:29: error: invalid operands to binary * (have ‘const struct rte_bbdev_op_cap *’ and ‘const struct rte_bbdev_op_cap *’)
4324 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB; /* C rep forced to zero. */
| ~~ ^
| | |
| | const struct rte_bbdev_op_cap *
| const struct rte_bbdev_op_cap *
../drivers/baseband/acc/rte_vrb_pmd.c:4324:9: error: assignment to ‘uint32_t’ {aka ‘unsigned int’} from ‘const struct rte_bbdev_op_cap *’ makes integer from pointer without a cast [-Werror=int-conversion]
4324 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB; /* C rep forced to zero. */
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4325:12: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4325 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4325:19: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
4325 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ^
| ->
../drivers/baseband/acc/rte_vrb_pmd.c:4325:51: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4325 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4325:58: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
4325 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ^
| ->
../drivers/baseband/acc/rte_vrb_pmd.c:4325:48: error: array subscript is not an integer
4325 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4325:28: error: invalid operands to binary * (have ‘const struct rte_bbdev_op_cap *’ and ‘const struct rte_bbdev_op_cap *’)
4325 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ~~ ^
| | |
| | const struct rte_bbdev_op_cap *
| const struct rte_bbdev_op_cap *
../drivers/baseband/acc/rte_vrb_pmd.c:4325:8: error: assignment to ‘uint32_t’ {aka ‘unsigned int’} from ‘const struct rte_bbdev_op_cap *’ makes integer from pointer without a cast [-Werror=int-conversion]
4325 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4326:26: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4326 | q_size = qsize_per_re[op->mldts.num_layers - 2] * sc_num;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4326:33: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
4326 | q_size = qsize_per_re[op->mldts.num_layers - 2] * sc_num;
| ^
| ->
../drivers/baseband/acc/rte_vrb_pmd.c:4326:23: error: array subscript is not an integer
4326 | q_size = qsize_per_re[op->mldts.num_layers - 2] * sc_num;
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4326:50: error: invalid operands to binary * (have ‘const struct rte_bbdev_op_cap *’ and ‘uint32_t’ {aka ‘unsigned int’})
4326 | q_size = qsize_per_re[op->mldts.num_layers - 2] * sc_num;
| ~~~~~~~~~~~~ ^
| |
| const struct rte_bbdev_op_cap *
../drivers/baseband/acc/rte_vrb_pmd.c:4326:9: error: assignment to ‘uint32_t’ {aka ‘unsigned int’} from ‘const struct rte_bbdev_op_cap *’ makes integer from pointer without a cast [-Werror=int-conversion]
4326 | q_size = qsize_per_re[op->mldts.num_layers - 2] * sc_num;
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4327:26: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4327 | r_size = rsize_per_re[op->mldts.num_layers - 2] * r_num;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4327:33: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
4327 | r_size = rsize_per_re[op->mldts.num_layers - 2] * r_num;
| ^
| ->
../drivers/baseband/acc/rte_vrb_pmd.c:4327:23: error: array subscript is not an integer
4327 | r_size = rsize_per_re[op->mldts.num_layers - 2] * r_num;
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4327:50: error: invalid operands to binary * (have ‘const struct rte_bbdev_op_cap *’ and ‘uint32_t’ {aka ‘unsigned int’})
4327 | r_size = rsize_per_re[op->mldts.num_layers - 2] * r_num;
| ~~~~~~~~~~~~ ^
| |
| const struct rte_bbdev_op_cap *
../drivers/baseband/acc/rte_vrb_pmd.c:4327:9: error: assignment to ‘uint32_t’ {aka ‘unsigned int’} from ‘const struct rte_bbdev_op_cap *’ makes integer from pointer without a cast [-Werror=int-conversion]
4327 | r_size = rsize_per_re[op->mldts.num_layers - 2] * r_num;
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4294:11: error: variable ‘sc_factor_per_rrep’ set but not used [-Werror=unused-but-set-variable]
4294 | uint16_t sc_factor_per_rrep[VRB2_MLD_RREP_SIZE] = {12, 6, 4, 3, 0, 2};
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4293:11: error: variable ‘rsize_per_re’ set but not used [-Werror=unused-but-set-variable]
4293 | uint16_t rsize_per_re[VRB2_MLD_LAY_SIZE] = {14, 26, 42};
| ^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4292:11: error: variable ‘qsize_per_re’ set but not used [-Werror=unused-but-set-variable]
4292 | uint16_t qsize_per_re[VRB2_MLD_LAY_SIZE] = {8, 12, 16}; /* Layer 2 to 4. */
| ^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4371:50: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4371 | enqueue_mldts_one_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘enqueue_mldts_one_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4382:14: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4382 | input_q = op->mldts.qhy_input.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4382:21: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
4382 | input_q = op->mldts.qhy_input.data;
| ^
| ->
../drivers/baseband/acc/rte_vrb_pmd.c:4382:31: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
4382 | input_q = op->mldts.qhy_input.data;
| ^
| ->
../drivers/baseband/acc/rte_vrb_pmd.c:4382:10: error: assignment to ‘struct rte_mbuf *’ from incompatible pointer type ‘const struct rte_bbdev_op_cap *’ [-Werror=incompatible-pointer-types]
4382 | input_q = op->mldts.qhy_input.data;
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4383:14: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4383 | input_r = op->mldts.r_input.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4383:21: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
4383 | input_r = op->mldts.r_input.data;
| ^
| ->
../drivers/baseband/acc/rte_vrb_pmd.c:4383:29: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
4383 | input_r = op->mldts.r_input.data;
| ^
| ->
../drivers/baseband/acc/rte_vrb_pmd.c:4383:10: error: assignment to ‘struct rte_mbuf *’ from incompatible pointer type ‘const struct rte_bbdev_op_cap *’ [-Werror=incompatible-pointer-types]
4383 | input_r = op->mldts.r_input.data;
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4384:13: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4384 | output = op->mldts.output.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4384:20: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
4384 | output = op->mldts.output.data;
| ^
| ->
../drivers/baseband/acc/rte_vrb_pmd.c:4384:27: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
4384 | output = op->mldts.output.data;
| ^
| ->
../drivers/baseband/acc/rte_vrb_pmd.c:4384:9: error: assignment to ‘struct rte_mbuf *’ from incompatible pointer type ‘const struct rte_bbdev_op_cap *’ [-Werror=incompatible-pointer-types]
4384 | output = op->mldts.output.data;
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4385:16: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4385 | in_offset = op->mldts.qhy_input.offset;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4385:23: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
4385 | in_offset = op->mldts.qhy_input.offset;
| ^
| ->
../drivers/baseband/acc/rte_vrb_pmd.c:4385:33: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
4385 | in_offset = op->mldts.qhy_input.offset;
| ^
| ->
../drivers/baseband/acc/rte_vrb_pmd.c:4385:12: error: assignment to ‘uint32_t’ {aka ‘unsigned int’} from ‘const struct rte_bbdev_op_cap *’ makes integer from pointer without a cast [-Werror=int-conversion]
4385 | in_offset = op->mldts.qhy_input.offset;
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4386:17: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4386 | out_offset = op->mldts.output.offset;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4386:24: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
4386 | out_offset = op->mldts.output.offset;
| ^
| ->
../drivers/baseband/acc/rte_vrb_pmd.c:4386:31: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
4386 | out_offset = op->mldts.output.offset;
| ^
| ->
../drivers/baseband/acc/rte_vrb_pmd.c:4386:13: error: assignment to ‘uint32_t’ {aka ‘unsigned int’} from ‘const struct rte_bbdev_op_cap *’ makes integer from pointer without a cast [-Werror=int-conversion]
4386 | out_offset = op->mldts.output.offset;
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4388:22: error: passing argument 1 of ‘vrb2_fcw_mldts_fill’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4388 | vrb2_fcw_mldts_fill(op, fcw);
| ^~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4192:48: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
4192 | vrb2_fcw_mldts_fill(struct rte_bbdev_mldts_op *op, struct acc_fcw_mldts *fcw)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c:4389:27: error: passing argument 1 of ‘vrb2_dma_desc_mldts_fill’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4389 | vrb2_dma_desc_mldts_fill(op, &desc->req, input_q, input_r, output,
| ^~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4213:53: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
4213 | vrb2_dma_desc_mldts_fill(struct rte_bbdev_mldts_op *op,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4401:10: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4401 | struct rte_bbdev_mldts_op **ops, uint16_t num)
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_enqueue_mldts’:
../drivers/baseband/acc/rte_vrb_pmd.c:4415:46: error: passing argument 1 of ‘vrb2_check_mld_r_constraint’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4415 | as_one_op = vrb2_check_mld_r_constraint(ops[i]);
| ~~~^~~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4268:56: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
4268 | vrb2_check_mld_r_constraint(struct rte_bbdev_mldts_op *op) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c:4416:39: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4416 | descs_in_op = as_one_op ? 1 : ops[i]->mldts.c_rep + 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4416:46: error: ‘(const struct rte_bbdev_op_cap *)&<erroneous-expression>’ is a pointer; did you mean to use ‘->’?
4416 | descs_in_op = as_one_op ? 1 : ops[i]->mldts.c_rep + 1;
| ^
| ->
../drivers/baseband/acc/rte_vrb_pmd.c:4416:31: error: pointer/integer type mismatch in conditional expression [-Werror]
4416 | descs_in_op = as_one_op ? 1 : ops[i]->mldts.c_rep + 1;
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4416:15: error: assignment to ‘uint16_t’ {aka ‘short unsigned int’} from ‘const struct rte_bbdev_op_cap *’ makes integer from pointer without a cast [-Werror=int-conversion]
4416 | descs_in_op = as_one_op ? 1 : ops[i]->mldts.c_rep + 1;
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4426:37: error: passing argument 2 of ‘enqueue_mldts_one_op’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4426 | ret = enqueue_mldts_one_op(q, ops[i], enqueued_descs);
| ~~~^~~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4371:70: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
4371 | enqueue_mldts_one_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c:4428:39: error: passing argument 2 of ‘enqueue_mldts_split_op’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4428 | ret = enqueue_mldts_split_op(q, ops[i], enqueued_descs);
| ~~~^~~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4289:72: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
4289 | enqueue_mldts_split_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4455:31: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4455 | struct acc_queue *q, struct rte_bbdev_mldts_op **ref_op,
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘dequeue_mldts_one_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4499:4: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4499 | op->status = 0;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4499:2: error: statement with no effect [-Werror=unused-value]
4499 | op->status = 0;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4505:5: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4505 | op->status |= rsp.input_err << RTE_BBDEV_DATA_ERROR;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4505:3: error: statement with no effect [-Werror=unused-value]
4505 | op->status |= rsp.input_err << RTE_BBDEV_DATA_ERROR;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4506:5: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4506 | op->status |= rsp.dma_err << RTE_BBDEV_DRV_ERROR;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4506:3: error: statement with no effect [-Werror=unused-value]
4506 | op->status |= rsp.dma_err << RTE_BBDEV_DRV_ERROR;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4507:5: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4507 | op->status |= rsp.fcw_err << RTE_BBDEV_DRV_ERROR;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4507:3: error: statement with no effect [-Werror=unused-value]
4507 | op->status |= rsp.fcw_err << RTE_BBDEV_DRV_ERROR;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4508:5: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4508 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4508:36: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
4508 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c:4508:33: error: invalid operands to binary << (have ‘int’ and ‘const struct rte_bbdev_op_cap *’)
4508 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ~~~~~~~~~~~~~~~ ^~
| | |
| | const struct rte_bbdev_op_cap *
| unsigned char:1
../drivers/baseband/acc/rte_vrb_pmd.c:4508:3: error: statement with no effect [-Werror=unused-value]
4508 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4511:8: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4511 | if (op->status != 0)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4513:8: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4513 | if (op->status & (1 << RTE_BBDEV_DRV_ERROR))
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4513:17: error: invalid operands to binary & (have ‘const struct rte_bbdev_op_cap *’ and ‘int’)
4513 | if (op->status & (1 << RTE_BBDEV_DRV_ERROR))
| ~~ ^
| |
| const struct rte_bbdev_op_cap *
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4531:10: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4531 | struct rte_bbdev_mldts_op **ops, uint16_t num)
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_dequeue_mldts’:
../drivers/baseband/acc/rte_vrb_pmd.c:4542:41: error: passing argument 3 of ‘dequeue_mldts_one_op’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4542 | ret = dequeue_mldts_one_op(q_data, q, &ops[i], dequeued_cbs, &aq_dequeued);
| ^~~~~~~
| |
| struct rte_bbdev_mldts_op **
../drivers/baseband/acc/rte_vrb_pmd.c:4455:52: note: expected ‘struct rte_bbdev_mldts_op **’ but argument is of type ‘struct rte_bbdev_mldts_op **’
4455 | struct acc_queue *q, struct rte_bbdev_mldts_op **ref_op,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_bbdev_init’:
../drivers/baseband/acc/rte_vrb_pmd.c:4573:7: error: ‘struct rte_bbdev’ has no member named ‘enqueue_mldts_ops’; did you mean ‘enqueue_dec_ops’?
4573 | dev->enqueue_mldts_ops = vrb2_enqueue_mldts;
| ^~~~~~~~~~~~~~~~~
| enqueue_dec_ops
../drivers/baseband/acc/rte_vrb_pmd.c:4573:2: error: statement with no effect [-Werror=unused-value]
4573 | dev->enqueue_mldts_ops = vrb2_enqueue_mldts;
| ^~~
../drivers/baseband/acc/rte_vrb_pmd.c:4574:7: error: ‘struct rte_bbdev’ has no member named ‘dequeue_mldts_ops’; did you mean ‘dequeue_dec_ops’?
4574 | dev->dequeue_mldts_ops = vrb2_dequeue_mldts;
| ^~~~~~~~~~~~~~~~~
| dequeue_dec_ops
../drivers/baseband/acc/rte_vrb_pmd.c:4574:2: error: statement with no effect [-Werror=unused-value]
4574 | dev->dequeue_mldts_ops = vrb2_dequeue_mldts;
| ^~~
cc1: all warnings being treated as errors
[2270/2811] Compiling C object drivers/librte_event_opdl.so.23.2.p/meson-generated_.._rte_event_opdl.pmd.c.o
[2271/2811] Compiling C object drivers/libtmp_rte_event_octeontx.a.p/event_octeontx_ssovf_probe.c.o
[2272/2811] Compiling C object drivers/libtmp_rte_event_octeontx.a.p/event_octeontx_ssovf_evdev.c.o
[2273/2811] Generating rte_crypto_cnxk.sym_chk with a custom command (wrapped by meson to capture output)
[2274/2811] Compiling C object drivers/libtmp_rte_crypto_octeontx.a.p/crypto_octeontx_otx_cryptodev_ops.c.o
[2275/2811] Compiling C object drivers/libtmp_rte_event_sw.a.p/event_sw_sw_evdev_scheduler.c.o
[2276/2811] Compiling C object drivers/libtmp_rte_event_sw.a.p/event_sw_sw_evdev_selftest.c.o
[2277/2811] Compiling C object drivers/libtmp_rte_event_octeontx.a.p/event_octeontx_ssovf_worker.c.o
[2278/2811] Compiling C object drivers/libtmp_rte_event_octeontx.a.p/event_octeontx_ssovf_evdev_selftest.c.o
ninja: build stopped
*Build Failed #14:
OS: UB2204-32
Target: i686-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o
gcc -Idrivers/libtmp_rte_baseband_acc.a.p -Idrivers -I../drivers -Idrivers/baseband/acc -I../drivers/baseband/acc -Ilib/bbdev -I../lib/bbdev -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/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -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-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -Wno-pointer-to-int-cast -D_GNU_SOURCE -m32 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.bb.acc -MD -MQ drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o -MF drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o.d -o drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o -c ../drivers/baseband/acc/rte_vrb_pmd.c
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_queue_setup’:
../drivers/baseband/acc/rte_vrb_pmd.c:1037:36: error: ‘RTE_BBDEV_OP_MLDTS’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_OP_FFT’?
1037 | else if (conf->op_type == RTE_BBDEV_OP_MLDTS)
| ^~~~~~~~~~~~~~~~~~
| RTE_BBDEV_OP_FFT
../drivers/baseband/acc/rte_vrb_pmd.c:1037:36: note: each undeclared identifier is reported only once for each function it appears in
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_print_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:1095:31: error: ‘RTE_BBDEV_OP_MLDTS’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_OP_FFT’?
1095 | } else if (op_type == RTE_BBDEV_OP_MLDTS) {
| ^~~~~~~~~~~~~~~~~~
| RTE_BBDEV_OP_FFT
In file included from ../drivers/baseband/acc/rte_vrb_pmd.c:22:
../drivers/baseband/acc/rte_vrb_pmd.c:1099:41: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
1099 | op_mldts->mldts.num_rbs, op_mldts->mldts.num_layers,
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro ‘rte_bbdev_log’
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1099:66: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
1099 | op_mldts->mldts.num_rbs, op_mldts->mldts.num_layers,
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro ‘rte_bbdev_log’
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1100:41: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
1100 | op_mldts->mldts.r_rep,
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro ‘rte_bbdev_log’
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1101:41: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
1101 | op_mldts->mldts.c_rep, op_mldts->mldts.op_flags);
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro ‘rte_bbdev_log’
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1101:64: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
1101 | op_mldts->mldts.c_rep, op_mldts->mldts.op_flags);
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro ‘rte_bbdev_log’
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dev_info_get’:
../drivers/baseband/acc/rte_vrb_pmd.c:1332:33: error: ‘RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION’?
1332 | RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION
../drivers/baseband/acc/rte_vrb_pmd.c:1366:35: error: ‘RTE_BBDEV_OP_MLDTS’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_OP_FFT’?
1366 | .type = RTE_BBDEV_OP_MLDTS,
| ^~~~~~~~~~~~~~~~~~
| RTE_BBDEV_OP_FFT
../drivers/baseband/acc/rte_vrb_pmd.c:1369:49: error: ‘RTE_BBDEV_MLDTS_REP’ undeclared (first use in this function)
1369 | RTE_BBDEV_MLDTS_REP,
| ^~~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_fcw_ld_fill’:
../drivers/baseband/acc/rte_vrb_pmd.c:1972:53: error: ‘RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION’?
1972 | } else if (check_bit(op->ldpc_dec.op_flags, RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION)) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_enc_one_op_cb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3373:50: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
3373 | op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_dequeue_ldpc_enc_one_op_tb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3425:42: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
3425 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_enc_one_op_tb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3493:58: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
3493 | op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_dec_one_op_cb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3540:42: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
3540 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_ldpc_dec_one_op_cb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3595:42: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
3595 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_dec_one_op_tb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3677:58: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
3677 | op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_dma_desc_fft_fill’:
../drivers/baseband/acc/rte_vrb_pmd.c:3990:51: error: ‘RTE_BBDEV_FFT_DEWINDOWING’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_FFT_WINDOWING’?
3990 | bool win_en = check_bit(op->fft.op_flags, RTE_BBDEV_FFT_DEWINDOWING);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_FFT_WINDOWING
../drivers/baseband/acc/rte_vrb_pmd.c:4016:25: error: ‘RTE_BBDEV_MAX_CS’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_MAX_CS_2’?
4016 | for (i = 0; i < RTE_BBDEV_MAX_CS; i++)
| ^~~~~~~~~~~~~~~~
| RTE_BBDEV_MAX_CS_2
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_enqueue_fft_one_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4049:22: error: ‘struct rte_bbdev_op_fft’ has no member named ‘dewindowing_input’
4049 | win = op->fft.dewindowing_input.data;
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4053:29: error: ‘struct rte_bbdev_op_fft’ has no member named ‘dewindowing_input’
4053 | win_offset = op->fft.dewindowing_input.offset;
| ^
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_fft_one_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4142:42: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
4142 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4192:28: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4192 | vrb2_fcw_mldts_fill(struct rte_bbdev_mldts_op *op, struct acc_fcw_mldts *fcw)
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_fcw_mldts_fill’:
../drivers/baseband/acc/rte_vrb_pmd.c:4194:22: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4194 | fcw->nrb = op->mldts.num_rbs;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4195:26: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4195 | fcw->NLayers = op->mldts.num_layers - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4196:25: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4196 | fcw->Qmod0 = (op->mldts.q_m[0] >> 1) - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4197:25: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4197 | fcw->Qmod1 = (op->mldts.q_m[1] >> 1) - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4198:25: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4198 | fcw->Qmod2 = (op->mldts.q_m[2] >> 1) - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4199:25: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4199 | fcw->Qmod3 = (op->mldts.q_m[3] >> 1) - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4201:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4201 | if (op->mldts.num_layers == 2) {
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4205:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4205 | if (op->mldts.num_layers == 3)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4207:23: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4207 | fcw->Rrep = op->mldts.r_rep;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4208:23: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4208 | fcw->Crep = op->mldts.c_rep;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4213:33: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4213 | vrb2_dma_desc_mldts_fill(struct rte_bbdev_mldts_op *op,
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_dma_desc_mldts_fill’:
../drivers/baseband/acc/rte_vrb_pmd.c:4226:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4226 | if (op->mldts.r_rep > 5)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4227:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4227 | op->mldts.r_rep = 5;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4228:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4228 | if (op->mldts.num_layers < 2)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4229:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4229 | op->mldts.num_layers = 2;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4230:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4230 | if (op->mldts.num_layers > 4)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4231:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4231 | op->mldts.num_layers = 4;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4232:27: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4232 | for (i = 0; i < op->mldts.num_layers; i++)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4233:37: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4233 | outsize_per_re += op->mldts.q_m[i];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4234:20: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4234 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB * (op->mldts.c_rep + 1);
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4234:38: error: ‘RTE_BBDEV_SCPERRB’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_CRC_ERROR’?
4234 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB * (op->mldts.c_rep + 1);
| ^~~~~~~~~~~~~~~~~
| RTE_BBDEV_CRC_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c:4234:61: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4234 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB * (op->mldts.c_rep + 1);
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4235:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4235 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4235:58: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4235 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4236:33: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4236 | q_size = qsize_per_re[op->mldts.num_layers - 2] * sc_num;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4237:33: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4237 | r_size = rsize_per_re[op->mldts.num_layers - 2] * r_num;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4221:18: error: variable ‘sc_factor_per_rrep’ set but not used [-Werror=unused-but-set-variable]
4221 | uint16_t sc_factor_per_rrep[VRB2_MLD_RREP_SIZE] = {12, 6, 4, 3, 0, 2};
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4220:18: error: variable ‘rsize_per_re’ set but not used [-Werror=unused-but-set-variable]
4220 | uint16_t rsize_per_re[VRB2_MLD_LAY_SIZE] = {14, 26, 42};
| ^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4219:18: error: variable ‘qsize_per_re’ set but not used [-Werror=unused-but-set-variable]
4219 | uint16_t qsize_per_re[VRB2_MLD_LAY_SIZE] = {8, 12, 16}; /* Layer 2 to 4. */
| ^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4268:36: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4268 | vrb2_check_mld_r_constraint(struct rte_bbdev_mldts_op *op) {
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_check_mld_r_constraint’:
../drivers/baseband/acc/rte_vrb_pmd.c:4275:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4275 | if (op->mldts.c_rep == 0)
| ^~
In file included from ../drivers/baseband/acc/rte_vrb_pmd.c:7:
../drivers/baseband/acc/rte_vrb_pmd.c:4278:31: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4278 | layer_idx = RTE_MIN(op->mldts.num_layers - VRB2_MLD_MIN_LAYER,
| ^~
../lib/eal/include/rte_common.h:615:25: note: in definition of macro ‘RTE_MIN’
615 | typeof (a) _a = (a); \
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4278:31: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4278 | layer_idx = RTE_MIN(op->mldts.num_layers - VRB2_MLD_MIN_LAYER,
| ^~
../lib/eal/include/rte_common.h:615:34: note: in definition of macro ‘RTE_MIN’
615 | typeof (a) _a = (a); \
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4280:30: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4280 | rrep_idx = RTE_MIN(op->mldts.r_rep, VRB2_MLD_MAX_RREP);
| ^~
../lib/eal/include/rte_common.h:615:25: note: in definition of macro ‘RTE_MIN’
615 | typeof (a) _a = (a); \
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4280:30: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4280 | rrep_idx = RTE_MIN(op->mldts.r_rep, VRB2_MLD_MAX_RREP);
| ^~
../lib/eal/include/rte_common.h:615:34: note: in definition of macro ‘RTE_MIN’
615 | typeof (a) _a = (a); \
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4284:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4284 | return (op->mldts.num_rbs <= max_rb[layer_idx][rrep_idx]);
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4289:52: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4289 | enqueue_mldts_split_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘enqueue_mldts_split_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4304:21: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4304 | input_q = op->mldts.qhy_input.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4305:21: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4305 | input_r = op->mldts.r_input.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4306:20: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4306 | output = op->mldts.output.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4307:23: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4307 | in_offset = op->mldts.qhy_input.offset;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4308:24: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4308 | out_offset = op->mldts.output.offset;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4309:22: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4309 | num_syms = op->mldts.c_rep + 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4311:29: error: passing argument 1 of ‘vrb2_fcw_mldts_fill’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4311 | vrb2_fcw_mldts_fill(op, fcw);
| ^~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4192:48: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
4192 | vrb2_fcw_mldts_fill(struct rte_bbdev_mldts_op *op, struct acc_fcw_mldts *fcw)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c:4315:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4315 | if (op->mldts.r_rep > 5)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4316:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4316 | op->mldts.r_rep = 5;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4317:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4317 | if (op->mldts.num_layers < 2)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4318:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4318 | op->mldts.num_layers = 2;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4319:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4319 | if (op->mldts.num_layers > 4)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4320:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4320 | op->mldts.num_layers = 4;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4322:27: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4322 | for (i = 0; i < op->mldts.num_layers; i++)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4323:37: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4323 | outsize_per_re += op->mldts.q_m[i];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4324:20: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4324 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB; /* C rep forced to zero. */
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4324:38: error: ‘RTE_BBDEV_SCPERRB’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_CRC_ERROR’?
4324 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB; /* C rep forced to zero. */
| ^~~~~~~~~~~~~~~~~
| RTE_BBDEV_CRC_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c:4325:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4325 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4325:58: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4325 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4326:33: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4326 | q_size = qsize_per_re[op->mldts.num_layers - 2] * sc_num;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4327:33: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4327 | r_size = rsize_per_re[op->mldts.num_layers - 2] * r_num;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4294:18: error: variable ‘sc_factor_per_rrep’ set but not used [-Werror=unused-but-set-variable]
4294 | uint16_t sc_factor_per_rrep[VRB2_MLD_RREP_SIZE] = {12, 6, 4, 3, 0, 2};
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4293:18: error: variable ‘rsize_per_re’ set but not used [-Werror=unused-but-set-variable]
4293 | uint16_t rsize_per_re[VRB2_MLD_LAY_SIZE] = {14, 26, 42};
| ^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4292:18: error: variable ‘qsize_per_re’ set but not used [-Werror=unused-but-set-variable]
4292 | uint16_t qsize_per_re[VRB2_MLD_LAY_SIZE] = {8, 12, 16}; /* Layer 2 to 4. */
| ^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4371:50: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4371 | enqueue_mldts_one_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘enqueue_mldts_one_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4382:21: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4382 | input_q = op->mldts.qhy_input.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4383:21: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4383 | input_r = op->mldts.r_input.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4384:20: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4384 | output = op->mldts.output.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4385:23: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4385 | in_offset = op->mldts.qhy_input.offset;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4386:24: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4386 | out_offset = op->mldts.output.offset;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4388:29: error: passing argument 1 of ‘vrb2_fcw_mldts_fill’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4388 | vrb2_fcw_mldts_fill(op, fcw);
| ^~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4192:48: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
4192 | vrb2_fcw_mldts_fill(struct rte_bbdev_mldts_op *op, struct acc_fcw_mldts *fcw)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c:4389:34: error: passing argument 1 of ‘vrb2_dma_desc_mldts_fill’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4389 | vrb2_dma_desc_mldts_fill(op, &desc->req, input_q, input_r, output,
| ^~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4213:53: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
4213 | vrb2_dma_desc_mldts_fill(struct rte_bbdev_mldts_op *op,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4401:24: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4401 | struct rte_bbdev_mldts_op **ops, uint16_t num)
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_enqueue_mldts’:
../drivers/baseband/acc/rte_vrb_pmd.c:4415:60: error: passing argument 1 of ‘vrb2_check_mld_r_constraint’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4415 | as_one_op = vrb2_check_mld_r_constraint(ops[i]);
| ~~~^~~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4268:56: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
4268 | vrb2_check_mld_r_constraint(struct rte_bbdev_mldts_op *op) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c:4416:53: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4416 | descs_in_op = as_one_op ? 1 : ops[i]->mldts.c_rep + 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4426:58: error: passing argument 2 of ‘enqueue_mldts_one_op’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4426 | ret = enqueue_mldts_one_op(q, ops[i], enqueued_descs);
| ~~~^~~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4371:70: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
4371 | enqueue_mldts_one_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c:4428:60: error: passing argument 2 of ‘enqueue_mldts_split_op’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4428 | ret = enqueue_mldts_split_op(q, ops[i], enqueued_descs);
| ~~~^~~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4289:72: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
4289 | enqueue_mldts_split_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4455:45: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4455 | struct acc_queue *q, struct rte_bbdev_mldts_op **ref_op,
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘dequeue_mldts_one_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4499:11: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4499 | op->status = 0;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4505:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4505 | op->status |= rsp.input_err << RTE_BBDEV_DATA_ERROR;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4506:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4506 | op->status |= rsp.dma_err << RTE_BBDEV_DRV_ERROR;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4507:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4507 | op->status |= rsp.fcw_err << RTE_BBDEV_DRV_ERROR;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4508:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4508 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4508:50: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
4508 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c:4511:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4511 | if (op->status != 0)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4513:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4513 | if (op->status & (1 << RTE_BBDEV_DRV_ERROR))
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4531:24: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4531 | struct rte_bbdev_mldts_op **ops, uint16_t num)
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_dequeue_mldts’:
../drivers/baseband/acc/rte_vrb_pmd.c:4542:55: error: passing argument 3 of ‘dequeue_mldts_one_op’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4542 | ret = dequeue_mldts_one_op(q_data, q, &ops[i], dequeued_cbs, &aq_dequeued);
| ^~~~~~~
| |
| struct rte_bbdev_mldts_op **
../drivers/baseband/acc/rte_vrb_pmd.c:4455:66: note: expected ‘struct rte_bbdev_mldts_op **’ but argument is of type ‘struct rte_bbdev_mldts_op **’
4455 | struct acc_queue *q, struct rte_bbdev_mldts_op **ref_op,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_bbdev_init’:
../drivers/baseband/acc/rte_vrb_pmd.c:4573:14: error: ‘struct rte_bbdev’ has no member named ‘enqueue_mldts_ops’; did you mean ‘enqueue_dec_ops’?
4573 | dev->enqueue_mldts_ops = vrb2_enqueue_mldts;
| ^~~~~~~~~~~~~~~~~
| enqueue_dec_ops
../drivers/baseband/acc/rte_vrb_pmd.c:4574:14: error: ‘struct rte_bbdev’ has no member named ‘dequeue_mldts_ops’; did you mean ‘dequeue_dec_ops’?
4574 | dev->dequeue_mldts_ops = vrb2_dequeue_mldts;
| ^~~~~~~~~~~~~~~~~
| dequeue_dec_ops
cc1: all warnings being treated as errors
[1731/2229] Compiling C object drivers/libtmp_rte_baseband_fpga_5gnr_fec.a.p/baseband_fpga_5gnr_fec_rte_fpga_5gnr_fec.c.o
[1732/2229] Compiling C object drivers/libtmp_rte_baseband_fpga_lte_fec.a.p/baseband_fpga_lte_fec_fpga_lte_fec.c.o
[1733/2229] Compiling C object drivers/libtmp_rte_baseband_la12xx.a.p/baseband_la12xx_bbdev_la12xx.c.o
[1734/2229] Compiling C object drivers/libtmp_rte_event_sw.a.p/event_sw_sw_evdev_selftest.c.o
[1735/2229] Compiling C object app/dpdk-dumpcap.p/dumpcap_main.c.o
[1736/2229] Compiling C object app/dpdk-test-bbdev.p/test-bbdev_test_bbdev_vector.c.o
[1737/2229] Compiling C object drivers/libtmp_rte_baseband_null.a.p/baseband_null_bbdev_null.c.o
[1738/2229] Compiling C object drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_acc100_pmd.c.o
[1739/2229] Compiling C object drivers/libtmp_rte_baseband_turbo_sw.a.p/baseband_turbo_sw_bbdev_turbo_software.c.o
ninja: build stopped
*Build Failed #15:
OS: RHEL87-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o
gcc -Idrivers/libtmp_rte_baseband_acc.a.p -Idrivers -I../drivers -Idrivers/baseband/acc -I../drivers/baseband/acc -Ilib/bbdev -I../lib/bbdev -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/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -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-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.bb.acc -MD -MQ drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o -MF drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o.d -o drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o -c ../drivers/baseband/acc/rte_vrb_pmd.c
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_queue_setup’:
../drivers/baseband/acc/rte_vrb_pmd.c:1037:29: error: ‘RTE_BBDEV_OP_MLDTS’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_OP_FFT’?
else if (conf->op_type == RTE_BBDEV_OP_MLDTS)
^~~~~~~~~~~~~~~~~~
RTE_BBDEV_OP_FFT
../drivers/baseband/acc/rte_vrb_pmd.c:1037:29: note: each undeclared identifier is reported only once for each function it appears in
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_print_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:1095:24: error: ‘RTE_BBDEV_OP_MLDTS’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_OP_FFT’?
} else if (op_type == RTE_BBDEV_OP_MLDTS) {
^~~~~~~~~~~~~~~~~~
RTE_BBDEV_OP_FFT
In file included from ../drivers/baseband/acc/rte_vrb_pmd.c:22:
../drivers/baseband/acc/rte_vrb_pmd.c:1099:13: error: dereferencing pointer to incomplete type ‘struct rte_bbdev_mldts_op’
op_mldts->mldts.num_rbs, op_mldts->mldts.num_layers,
^~
../drivers/baseband/acc/vrb_pmd.h:18:5: note: in definition of macro ‘rte_bbdev_log’
##__VA_ARGS__)
^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dev_info_get’:
../drivers/baseband/acc/rte_vrb_pmd.c:1332:5: error: ‘RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION’?
RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION
../drivers/baseband/acc/rte_vrb_pmd.c:1366:12: error: ‘RTE_BBDEV_OP_MLDTS’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_OP_FFT’?
.type = RTE_BBDEV_OP_MLDTS,
^~~~~~~~~~~~~~~~~~
RTE_BBDEV_OP_FFT
../drivers/baseband/acc/rte_vrb_pmd.c:1369:7: error: ‘RTE_BBDEV_MLDTS_REP’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_DEV_RESET’?
RTE_BBDEV_MLDTS_REP,
^~~~~~~~~~~~~~~~~~~
RTE_BBDEV_DEV_RESET
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_fcw_ld_fill’:
../drivers/baseband/acc/rte_vrb_pmd.c:1972:46: error: ‘RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION’?
} else if (check_bit(op->ldpc_dec.op_flags, RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION)) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_enc_one_op_cb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3373:43: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
^~~~~~~~~~~~~~~~~~~~~~
RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_dequeue_ldpc_enc_one_op_tb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3425:35: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
^~~~~~~~~~~~~~~~~~~~~~
RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_enc_one_op_tb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3493:44: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
^~~~~~~~~~~~~~~~~~~~~~
RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_dec_one_op_cb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3540:35: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
^~~~~~~~~~~~~~~~~~~~~~
RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_ldpc_dec_one_op_cb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3595:35: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
^~~~~~~~~~~~~~~~~~~~~~
RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_dec_one_op_tb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3677:44: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
^~~~~~~~~~~~~~~~~~~~~~
RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_dma_desc_fft_fill’:
../drivers/baseband/acc/rte_vrb_pmd.c:3990:44: error: ‘RTE_BBDEV_FFT_DEWINDOWING’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_FFT_WINDOWING’?
bool win_en = check_bit(op->fft.op_flags, RTE_BBDEV_FFT_DEWINDOWING);
^~~~~~~~~~~~~~~~~~~~~~~~~
RTE_BBDEV_FFT_WINDOWING
../drivers/baseband/acc/rte_vrb_pmd.c:4016:18: error: ‘RTE_BBDEV_MAX_CS’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_MAX_CS_2’?
for (i = 0; i < RTE_BBDEV_MAX_CS; i++)
^~~~~~~~~~~~~~~~
RTE_BBDEV_MAX_CS_2
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_enqueue_fft_one_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4049:16: error: ‘struct rte_bbdev_op_fft’ has no member named ‘dewindowing_input’; did you mean ‘window_index’?
win = op->fft.dewindowing_input.data;
^~~~~~~~~~~~~~~~~
window_index
../drivers/baseband/acc/rte_vrb_pmd.c:4053:23: error: ‘struct rte_bbdev_op_fft’ has no member named ‘dewindowing_input’; did you mean ‘window_index’?
win_offset = op->fft.dewindowing_input.offset;
^~~~~~~~~~~~~~~~~
window_index
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_fft_one_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4142:35: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
^~~~~~~~~~~~~~~~~~~~~~
RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4192:28: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
vrb2_fcw_mldts_fill(struct rte_bbdev_mldts_op *op, struct acc_fcw_mldts *fcw)
^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_fcw_mldts_fill’:
../drivers/baseband/acc/rte_vrb_pmd.c:4194:15: error: dereferencing pointer to incomplete type ‘struct rte_bbdev_mldts_op’
fcw->nrb = op->mldts.num_rbs;
^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4213:33: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
vrb2_dma_desc_mldts_fill(struct rte_bbdev_mldts_op *op,
^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_dma_desc_mldts_fill’:
../drivers/baseband/acc/rte_vrb_pmd.c:4226:8: error: dereferencing pointer to incomplete type ‘struct rte_bbdev_mldts_op’
if (op->mldts.r_rep > 5)
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4234:31: error: ‘RTE_BBDEV_SCPERRB’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_CRC_ERROR’?
sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB * (op->mldts.c_rep + 1);
^~~~~~~~~~~~~~~~~
RTE_BBDEV_CRC_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c:4221:11: error: variable ‘sc_factor_per_rrep’ set but not used [-Werror=unused-but-set-variable]
uint16_t sc_factor_per_rrep[VRB2_MLD_RREP_SIZE] = {12, 6, 4, 3, 0, 2};
^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4220:11: error: variable ‘rsize_per_re’ set but not used [-Werror=unused-but-set-variable]
uint16_t rsize_per_re[VRB2_MLD_LAY_SIZE] = {14, 26, 42};
^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4219:11: error: variable ‘qsize_per_re’ set but not used [-Werror=unused-but-set-variable]
uint16_t qsize_per_re[VRB2_MLD_LAY_SIZE] = {8, 12, 16}; /* Layer 2 to 4. */
^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4268:36: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
vrb2_check_mld_r_constraint(struct rte_bbdev_mldts_op *op) {
^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_check_mld_r_constraint’:
../drivers/baseband/acc/rte_vrb_pmd.c:4275:8: error: dereferencing pointer to incomplete type ‘struct rte_bbdev_mldts_op’
if (op->mldts.c_rep == 0)
^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4289:52: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
enqueue_mldts_split_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘enqueue_mldts_split_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4304:14: error: dereferencing pointer to incomplete type ‘struct rte_bbdev_mldts_op’
input_q = op->mldts.qhy_input.data;
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4311:22: error: passing argument 1 of ‘vrb2_fcw_mldts_fill’ from incompatible pointer type [-Werror=incompatible-pointer-types]
vrb2_fcw_mldts_fill(op, fcw);
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4192:48: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
vrb2_fcw_mldts_fill(struct rte_bbdev_mldts_op *op, struct acc_fcw_mldts *fcw)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c:4324:31: error: ‘RTE_BBDEV_SCPERRB’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_CRC_ERROR’?
sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB; /* C rep forced to zero. */
^~~~~~~~~~~~~~~~~
RTE_BBDEV_CRC_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c:4294:11: error: variable ‘sc_factor_per_rrep’ set but not used [-Werror=unused-but-set-variable]
uint16_t sc_factor_per_rrep[VRB2_MLD_RREP_SIZE] = {12, 6, 4, 3, 0, 2};
^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4293:11: error: variable ‘rsize_per_re’ set but not used [-Werror=unused-but-set-variable]
uint16_t rsize_per_re[VRB2_MLD_LAY_SIZE] = {14, 26, 42};
^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4292:11: error: variable ‘qsize_per_re’ set but not used [-Werror=unused-but-set-variable]
uint16_t qsize_per_re[VRB2_MLD_LAY_SIZE] = {8, 12, 16}; /* Layer 2 to 4. */
^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4371:50: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
enqueue_mldts_one_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘enqueue_mldts_one_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4382:14: error: dereferencing pointer to incomplete type ‘struct rte_bbdev_mldts_op’
input_q = op->mldts.qhy_input.data;
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4388:22: error: passing argument 1 of ‘vrb2_fcw_mldts_fill’ from incompatible pointer type [-Werror=incompatible-pointer-types]
vrb2_fcw_mldts_fill(op, fcw);
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4192:48: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
vrb2_fcw_mldts_fill(struct rte_bbdev_mldts_op *op, struct acc_fcw_mldts *fcw)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c:4389:27: error: passing argument 1 of ‘vrb2_dma_desc_mldts_fill’ from incompatible pointer type [-Werror=incompatible-pointer-types]
vrb2_dma_desc_mldts_fill(op, &desc->req, input_q, input_r, output,
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4213:53: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
vrb2_dma_desc_mldts_fill(struct rte_bbdev_mldts_op *op,
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4401:10: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_bbdev_mldts_op **ops, uint16_t num)
^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_enqueue_mldts’:
../drivers/baseband/acc/rte_vrb_pmd.c:4415:46: error: passing argument 1 of ‘vrb2_check_mld_r_constraint’ from incompatible pointer type [-Werror=incompatible-pointer-types]
as_one_op = vrb2_check_mld_r_constraint(ops[i]);
~~~^~~
../drivers/baseband/acc/rte_vrb_pmd.c:4268:56: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
vrb2_check_mld_r_constraint(struct rte_bbdev_mldts_op *op) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c:4416:39: error: dereferencing pointer to incomplete type ‘struct rte_bbdev_mldts_op’
descs_in_op = as_one_op ? 1 : ops[i]->mldts.c_rep + 1;
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4426:37: error: passing argument 2 of ‘enqueue_mldts_one_op’ from incompatible pointer type [-Werror=incompatible-pointer-types]
ret = enqueue_mldts_one_op(q, ops[i], enqueued_descs);
~~~^~~
../drivers/baseband/acc/rte_vrb_pmd.c:4371:70: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
enqueue_mldts_one_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c:4428:39: error: passing argument 2 of ‘enqueue_mldts_split_op’ from incompatible pointer type [-Werror=incompatible-pointer-types]
ret = enqueue_mldts_split_op(q, ops[i], enqueued_descs);
~~~^~~
../drivers/baseband/acc/rte_vrb_pmd.c:4289:72: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
enqueue_mldts_split_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4455:31: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct acc_queue *q, struct rte_bbdev_mldts_op **ref_op,
^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘dequeue_mldts_one_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4499:4: error: dereferencing pointer to incomplete type ‘struct rte_bbdev_mldts_op’
op->status = 0;
^~
../drivers/baseband/acc/rte_vrb_pmd.c:4508:36: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
^~~~~~~~~~~~~~~~~~~~~~
RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4531:10: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_bbdev_mldts_op **ops, uint16_t num)
^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_dequeue_mldts’:
../drivers/baseband/acc/rte_vrb_pmd.c:4542:41: error: passing argument 3 of ‘dequeue_mldts_one_op’ from incompatible pointer type [-Werror=incompatible-pointer-types]
ret = dequeue_mldts_one_op(q_data, q, &ops[i], dequeued_cbs, &aq_dequeued);
^~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4455:52: note: expected ‘struct rte_bbdev_mldts_op **’ but argument is of type ‘struct rte_bbdev_mldts_op **’
struct acc_queue *q, struct rte_bbdev_mldts_op **ref_op,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_bbdev_init’:
../drivers/baseband/acc/rte_vrb_pmd.c:4573:7: error: ‘struct rte_bbdev’ has no member named ‘enqueue_mldts_ops’; did you mean ‘enqueue_dec_ops’?
dev->enqueue_mldts_ops = vrb2_enqueue_mldts;
^~~~~~~~~~~~~~~~~
enqueue_dec_ops
../drivers/baseband/acc/rte_vrb_pmd.c:4574:7: error: ‘struct rte_bbdev’ has no member named ‘dequeue_mldts_ops’; did you mean ‘dequeue_dec_ops’?
dev->dequeue_mldts_ops = vrb2_dequeue_mldts;
^~~~~~~~~~~~~~~~~
dequeue_dec_ops
cc1: all warnings being treated as errors
[2178/2714] Generating rte_event_sw.pmd.c with a custom command
[2179/2714] Compiling C object drivers/libtmp_rte_event_octeontx.a.p/event_octeontx_ssovf_evdev_selftest.c.o
[2180/2714] Compiling C object drivers/libtmp_rte_baseband_la12xx.a.p/baseband_la12xx_bbdev_la12xx.c.o
[2181/2714] Compiling C object drivers/libtmp_rte_baseband_fpga_lte_fec.a.p/baseband_fpga_lte_fec_fpga_lte_fec.c.o
[2182/2714] Compiling C object drivers/libtmp_rte_baseband_fpga_5gnr_fec.a.p/baseband_fpga_5gnr_fec_rte_fpga_5gnr_fec.c.o
[2183/2714] Compiling C object drivers/libtmp_rte_event_octeontx.a.p/event_octeontx_ssovf_worker.c.o
[2184/2714] Compiling C object drivers/libtmp_rte_crypto_octeontx.a.p/crypto_octeontx_otx_cryptodev_ops.c.o
[2185/2714] Compiling C object drivers/libtmp_rte_crypto_cnxk.a.p/crypto_cnxk_cn10k_cryptodev_ops.c.o
[2186/2714] Compiling C object drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_acc100_pmd.c.o
ninja: build stopped
*Build Failed #16:
OS: UB2204-64
Target: x86_64-native-linuxapp-gcc+16byte
FAILED: drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o
gcc -Idrivers/libtmp_rte_baseband_acc.a.p -Idrivers -I../drivers -Idrivers/baseband/acc -I../drivers/baseband/acc -Ilib/bbdev -I../lib/bbdev -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/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -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-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -DRTE_LIBRTE_I40E_16BYTE_RX_DESC -DRTE_LIBRTE_ICE_16BYTE_RX_DESC -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.bb.acc -MD -MQ drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o -MF drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o.d -o drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o -c ../drivers/baseband/acc/rte_vrb_pmd.c
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_queue_setup’:
../drivers/baseband/acc/rte_vrb_pmd.c:1037:36: error: ‘RTE_BBDEV_OP_MLDTS’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_OP_FFT’?
1037 | else if (conf->op_type == RTE_BBDEV_OP_MLDTS)
| ^~~~~~~~~~~~~~~~~~
| RTE_BBDEV_OP_FFT
../drivers/baseband/acc/rte_vrb_pmd.c:1037:36: note: each undeclared identifier is reported only once for each function it appears in
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_print_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:1095:31: error: ‘RTE_BBDEV_OP_MLDTS’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_OP_FFT’?
1095 | } else if (op_type == RTE_BBDEV_OP_MLDTS) {
| ^~~~~~~~~~~~~~~~~~
| RTE_BBDEV_OP_FFT
In file included from ../drivers/baseband/acc/rte_vrb_pmd.c:22:
../drivers/baseband/acc/rte_vrb_pmd.c:1099:41: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
1099 | op_mldts->mldts.num_rbs, op_mldts->mldts.num_layers,
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro ‘rte_bbdev_log’
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1099:66: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
1099 | op_mldts->mldts.num_rbs, op_mldts->mldts.num_layers,
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro ‘rte_bbdev_log’
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1100:41: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
1100 | op_mldts->mldts.r_rep,
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro ‘rte_bbdev_log’
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1101:41: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
1101 | op_mldts->mldts.c_rep, op_mldts->mldts.op_flags);
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro ‘rte_bbdev_log’
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1101:64: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
1101 | op_mldts->mldts.c_rep, op_mldts->mldts.op_flags);
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro ‘rte_bbdev_log’
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dev_info_get’:
../drivers/baseband/acc/rte_vrb_pmd.c:1332:33: error: ‘RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION’?
1332 | RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION
../drivers/baseband/acc/rte_vrb_pmd.c:1366:35: error: ‘RTE_BBDEV_OP_MLDTS’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_OP_FFT’?
1366 | .type = RTE_BBDEV_OP_MLDTS,
| ^~~~~~~~~~~~~~~~~~
| RTE_BBDEV_OP_FFT
../drivers/baseband/acc/rte_vrb_pmd.c:1369:49: error: ‘RTE_BBDEV_MLDTS_REP’ undeclared (first use in this function)
1369 | RTE_BBDEV_MLDTS_REP,
| ^~~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_fcw_ld_fill’:
../drivers/baseband/acc/rte_vrb_pmd.c:1972:53: error: ‘RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION’?
1972 | } else if (check_bit(op->ldpc_dec.op_flags, RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION)) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_enc_one_op_cb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3373:50: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
3373 | op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_dequeue_ldpc_enc_one_op_tb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3425:42: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
3425 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_enc_one_op_tb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3493:58: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
3493 | op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_dec_one_op_cb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3540:42: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
3540 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_ldpc_dec_one_op_cb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3595:42: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
3595 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_dec_one_op_tb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3677:58: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
3677 | op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_dma_desc_fft_fill’:
../drivers/baseband/acc/rte_vrb_pmd.c:3990:51: error: ‘RTE_BBDEV_FFT_DEWINDOWING’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_FFT_WINDOWING’?
3990 | bool win_en = check_bit(op->fft.op_flags, RTE_BBDEV_FFT_DEWINDOWING);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_FFT_WINDOWING
../drivers/baseband/acc/rte_vrb_pmd.c:4016:25: error: ‘RTE_BBDEV_MAX_CS’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_MAX_CS_2’?
4016 | for (i = 0; i < RTE_BBDEV_MAX_CS; i++)
| ^~~~~~~~~~~~~~~~
| RTE_BBDEV_MAX_CS_2
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_enqueue_fft_one_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4049:22: error: ‘struct rte_bbdev_op_fft’ has no member named ‘dewindowing_input’
4049 | win = op->fft.dewindowing_input.data;
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4053:29: error: ‘struct rte_bbdev_op_fft’ has no member named ‘dewindowing_input’
4053 | win_offset = op->fft.dewindowing_input.offset;
| ^
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_fft_one_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4142:42: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
4142 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4192:28: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4192 | vrb2_fcw_mldts_fill(struct rte_bbdev_mldts_op *op, struct acc_fcw_mldts *fcw)
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_fcw_mldts_fill’:
../drivers/baseband/acc/rte_vrb_pmd.c:4194:22: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4194 | fcw->nrb = op->mldts.num_rbs;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4195:26: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4195 | fcw->NLayers = op->mldts.num_layers - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4196:25: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4196 | fcw->Qmod0 = (op->mldts.q_m[0] >> 1) - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4197:25: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4197 | fcw->Qmod1 = (op->mldts.q_m[1] >> 1) - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4198:25: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4198 | fcw->Qmod2 = (op->mldts.q_m[2] >> 1) - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4199:25: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4199 | fcw->Qmod3 = (op->mldts.q_m[3] >> 1) - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4201:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4201 | if (op->mldts.num_layers == 2) {
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4205:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4205 | if (op->mldts.num_layers == 3)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4207:23: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4207 | fcw->Rrep = op->mldts.r_rep;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4208:23: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4208 | fcw->Crep = op->mldts.c_rep;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4213:33: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4213 | vrb2_dma_desc_mldts_fill(struct rte_bbdev_mldts_op *op,
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_dma_desc_mldts_fill’:
../drivers/baseband/acc/rte_vrb_pmd.c:4226:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4226 | if (op->mldts.r_rep > 5)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4227:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4227 | op->mldts.r_rep = 5;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4228:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4228 | if (op->mldts.num_layers < 2)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4229:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4229 | op->mldts.num_layers = 2;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4230:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4230 | if (op->mldts.num_layers > 4)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4231:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4231 | op->mldts.num_layers = 4;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4232:27: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4232 | for (i = 0; i < op->mldts.num_layers; i++)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4233:37: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4233 | outsize_per_re += op->mldts.q_m[i];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4234:20: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4234 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB * (op->mldts.c_rep + 1);
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4234:38: error: ‘RTE_BBDEV_SCPERRB’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_CRC_ERROR’?
4234 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB * (op->mldts.c_rep + 1);
| ^~~~~~~~~~~~~~~~~
| RTE_BBDEV_CRC_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c:4234:61: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4234 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB * (op->mldts.c_rep + 1);
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4235:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4235 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4235:58: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4235 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4236:33: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4236 | q_size = qsize_per_re[op->mldts.num_layers - 2] * sc_num;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4237:33: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4237 | r_size = rsize_per_re[op->mldts.num_layers - 2] * r_num;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4221:18: error: variable ‘sc_factor_per_rrep’ set but not used [-Werror=unused-but-set-variable]
4221 | uint16_t sc_factor_per_rrep[VRB2_MLD_RREP_SIZE] = {12, 6, 4, 3, 0, 2};
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4220:18: error: variable ‘rsize_per_re’ set but not used [-Werror=unused-but-set-variable]
4220 | uint16_t rsize_per_re[VRB2_MLD_LAY_SIZE] = {14, 26, 42};
| ^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4219:18: error: variable ‘qsize_per_re’ set but not used [-Werror=unused-but-set-variable]
4219 | uint16_t qsize_per_re[VRB2_MLD_LAY_SIZE] = {8, 12, 16}; /* Layer 2 to 4. */
| ^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4268:36: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4268 | vrb2_check_mld_r_constraint(struct rte_bbdev_mldts_op *op) {
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_check_mld_r_constraint’:
../drivers/baseband/acc/rte_vrb_pmd.c:4275:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4275 | if (op->mldts.c_rep == 0)
| ^~
In file included from ../drivers/baseband/acc/rte_vrb_pmd.c:7:
../drivers/baseband/acc/rte_vrb_pmd.c:4278:31: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4278 | layer_idx = RTE_MIN(op->mldts.num_layers - VRB2_MLD_MIN_LAYER,
| ^~
../lib/eal/include/rte_common.h:615:25: note: in definition of macro ‘RTE_MIN’
615 | typeof (a) _a = (a); \
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4278:31: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4278 | layer_idx = RTE_MIN(op->mldts.num_layers - VRB2_MLD_MIN_LAYER,
| ^~
../lib/eal/include/rte_common.h:615:34: note: in definition of macro ‘RTE_MIN’
615 | typeof (a) _a = (a); \
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4280:30: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4280 | rrep_idx = RTE_MIN(op->mldts.r_rep, VRB2_MLD_MAX_RREP);
| ^~
../lib/eal/include/rte_common.h:615:25: note: in definition of macro ‘RTE_MIN’
615 | typeof (a) _a = (a); \
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4280:30: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4280 | rrep_idx = RTE_MIN(op->mldts.r_rep, VRB2_MLD_MAX_RREP);
| ^~
../lib/eal/include/rte_common.h:615:34: note: in definition of macro ‘RTE_MIN’
615 | typeof (a) _a = (a); \
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4284:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4284 | return (op->mldts.num_rbs <= max_rb[layer_idx][rrep_idx]);
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4289:52: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4289 | enqueue_mldts_split_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘enqueue_mldts_split_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4304:21: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4304 | input_q = op->mldts.qhy_input.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4305:21: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4305 | input_r = op->mldts.r_input.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4306:20: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4306 | output = op->mldts.output.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4307:23: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4307 | in_offset = op->mldts.qhy_input.offset;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4308:24: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4308 | out_offset = op->mldts.output.offset;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4309:22: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4309 | num_syms = op->mldts.c_rep + 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4311:29: error: passing argument 1 of ‘vrb2_fcw_mldts_fill’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4311 | vrb2_fcw_mldts_fill(op, fcw);
| ^~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4192:48: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
4192 | vrb2_fcw_mldts_fill(struct rte_bbdev_mldts_op *op, struct acc_fcw_mldts *fcw)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c:4315:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4315 | if (op->mldts.r_rep > 5)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4316:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4316 | op->mldts.r_rep = 5;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4317:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4317 | if (op->mldts.num_layers < 2)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4318:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4318 | op->mldts.num_layers = 2;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4319:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4319 | if (op->mldts.num_layers > 4)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4320:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4320 | op->mldts.num_layers = 4;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4322:27: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4322 | for (i = 0; i < op->mldts.num_layers; i++)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4323:37: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4323 | outsize_per_re += op->mldts.q_m[i];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4324:20: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4324 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB; /* C rep forced to zero. */
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4324:38: error: ‘RTE_BBDEV_SCPERRB’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_CRC_ERROR’?
4324 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB; /* C rep forced to zero. */
| ^~~~~~~~~~~~~~~~~
| RTE_BBDEV_CRC_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c:4325:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4325 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4325:58: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4325 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4326:33: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4326 | q_size = qsize_per_re[op->mldts.num_layers - 2] * sc_num;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4327:33: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4327 | r_size = rsize_per_re[op->mldts.num_layers - 2] * r_num;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4294:18: error: variable ‘sc_factor_per_rrep’ set but not used [-Werror=unused-but-set-variable]
4294 | uint16_t sc_factor_per_rrep[VRB2_MLD_RREP_SIZE] = {12, 6, 4, 3, 0, 2};
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4293:18: error: variable ‘rsize_per_re’ set but not used [-Werror=unused-but-set-variable]
4293 | uint16_t rsize_per_re[VRB2_MLD_LAY_SIZE] = {14, 26, 42};
| ^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4292:18: error: variable ‘qsize_per_re’ set but not used [-Werror=unused-but-set-variable]
4292 | uint16_t qsize_per_re[VRB2_MLD_LAY_SIZE] = {8, 12, 16}; /* Layer 2 to 4. */
| ^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4371:50: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4371 | enqueue_mldts_one_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘enqueue_mldts_one_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4382:21: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4382 | input_q = op->mldts.qhy_input.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4383:21: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4383 | input_r = op->mldts.r_input.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4384:20: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4384 | output = op->mldts.output.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4385:23: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4385 | in_offset = op->mldts.qhy_input.offset;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4386:24: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4386 | out_offset = op->mldts.output.offset;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4388:29: error: passing argument 1 of ‘vrb2_fcw_mldts_fill’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4388 | vrb2_fcw_mldts_fill(op, fcw);
| ^~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4192:48: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
4192 | vrb2_fcw_mldts_fill(struct rte_bbdev_mldts_op *op, struct acc_fcw_mldts *fcw)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c:4389:34: error: passing argument 1 of ‘vrb2_dma_desc_mldts_fill’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4389 | vrb2_dma_desc_mldts_fill(op, &desc->req, input_q, input_r, output,
| ^~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4213:53: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
4213 | vrb2_dma_desc_mldts_fill(struct rte_bbdev_mldts_op *op,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4401:24: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4401 | struct rte_bbdev_mldts_op **ops, uint16_t num)
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_enqueue_mldts’:
../drivers/baseband/acc/rte_vrb_pmd.c:4415:60: error: passing argument 1 of ‘vrb2_check_mld_r_constraint’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4415 | as_one_op = vrb2_check_mld_r_constraint(ops[i]);
| ~~~^~~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4268:56: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
4268 | vrb2_check_mld_r_constraint(struct rte_bbdev_mldts_op *op) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c:4416:53: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4416 | descs_in_op = as_one_op ? 1 : ops[i]->mldts.c_rep + 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4426:58: error: passing argument 2 of ‘enqueue_mldts_one_op’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4426 | ret = enqueue_mldts_one_op(q, ops[i], enqueued_descs);
| ~~~^~~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4371:70: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
4371 | enqueue_mldts_one_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c:4428:60: error: passing argument 2 of ‘enqueue_mldts_split_op’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4428 | ret = enqueue_mldts_split_op(q, ops[i], enqueued_descs);
| ~~~^~~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4289:72: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
4289 | enqueue_mldts_split_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4455:45: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4455 | struct acc_queue *q, struct rte_bbdev_mldts_op **ref_op,
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘dequeue_mldts_one_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4499:11: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4499 | op->status = 0;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4505:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4505 | op->status |= rsp.input_err << RTE_BBDEV_DATA_ERROR;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4506:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4506 | op->status |= rsp.dma_err << RTE_BBDEV_DRV_ERROR;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4507:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4507 | op->status |= rsp.fcw_err << RTE_BBDEV_DRV_ERROR;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4508:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4508 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4508:50: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
4508 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c:4511:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4511 | if (op->status != 0)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4513:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4513 | if (op->status & (1 << RTE_BBDEV_DRV_ERROR))
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4531:24: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4531 | struct rte_bbdev_mldts_op **ops, uint16_t num)
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_dequeue_mldts’:
../drivers/baseband/acc/rte_vrb_pmd.c:4542:55: error: passing argument 3 of ‘dequeue_mldts_one_op’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4542 | ret = dequeue_mldts_one_op(q_data, q, &ops[i], dequeued_cbs, &aq_dequeued);
| ^~~~~~~
| |
| struct rte_bbdev_mldts_op **
../drivers/baseband/acc/rte_vrb_pmd.c:4455:66: note: expected ‘struct rte_bbdev_mldts_op **’ but argument is of type ‘struct rte_bbdev_mldts_op **’
4455 | struct acc_queue *q, struct rte_bbdev_mldts_op **ref_op,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_bbdev_init’:
../drivers/baseband/acc/rte_vrb_pmd.c:4573:14: error: ‘struct rte_bbdev’ has no member named ‘enqueue_mldts_ops’; did you mean ‘enqueue_dec_ops’?
4573 | dev->enqueue_mldts_ops = vrb2_enqueue_mldts;
| ^~~~~~~~~~~~~~~~~
| enqueue_dec_ops
../drivers/baseband/acc/rte_vrb_pmd.c:4574:14: error: ‘struct rte_bbdev’ has no member named ‘dequeue_mldts_ops’; did you mean ‘dequeue_dec_ops’?
4574 | dev->dequeue_mldts_ops = vrb2_dequeue_mldts;
| ^~~~~~~~~~~~~~~~~
| dequeue_dec_ops
cc1: all warnings being treated as errors
[2305/2817] Compiling C object drivers/libtmp_rte_event_octeontx.a.p/event_octeontx_ssovf_worker.c.o
[2306/2817] Compiling C object drivers/libtmp_rte_baseband_fpga_lte_fec.a.p/baseband_fpga_lte_fec_fpga_lte_fec.c.o
[2307/2817] Compiling C object drivers/libtmp_rte_baseband_la12xx.a.p/baseband_la12xx_bbdev_la12xx.c.o
[2308/2817] Compiling C object drivers/libtmp_rte_baseband_fpga_5gnr_fec.a.p/baseband_fpga_5gnr_fec_rte_fpga_5gnr_fec.c.o
[2309/2817] Compiling C object app/dpdk-dumpcap.p/dumpcap_main.c.o
[2310/2817] Compiling C object drivers/libtmp_rte_event_octeontx.a.p/event_octeontx_ssovf_evdev_selftest.c.o
[2311/2817] Compiling C object drivers/libtmp_rte_baseband_null.a.p/baseband_null_bbdev_null.c.o
[2312/2817] Compiling C object drivers/libtmp_rte_baseband_turbo_sw.a.p/baseband_turbo_sw_bbdev_turbo_software.c.o
[2313/2817] Compiling C object drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_acc100_pmd.c.o
ninja: build stopped
*Build Failed #17:
OS: UB2204-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o
gcc -Idrivers/libtmp_rte_baseband_acc.a.p -Idrivers -I../drivers -Idrivers/baseband/acc -I../drivers/baseband/acc -Ilib/bbdev -I../lib/bbdev -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/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -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-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.bb.acc -MD -MQ drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o -MF drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o.d -o drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o -c ../drivers/baseband/acc/rte_vrb_pmd.c
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_queue_setup’:
../drivers/baseband/acc/rte_vrb_pmd.c:1037:36: error: ‘RTE_BBDEV_OP_MLDTS’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_OP_FFT’?
1037 | else if (conf->op_type == RTE_BBDEV_OP_MLDTS)
| ^~~~~~~~~~~~~~~~~~
| RTE_BBDEV_OP_FFT
../drivers/baseband/acc/rte_vrb_pmd.c:1037:36: note: each undeclared identifier is reported only once for each function it appears in
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_print_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:1095:31: error: ‘RTE_BBDEV_OP_MLDTS’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_OP_FFT’?
1095 | } else if (op_type == RTE_BBDEV_OP_MLDTS) {
| ^~~~~~~~~~~~~~~~~~
| RTE_BBDEV_OP_FFT
In file included from ../drivers/baseband/acc/rte_vrb_pmd.c:22:
../drivers/baseband/acc/rte_vrb_pmd.c:1099:41: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
1099 | op_mldts->mldts.num_rbs, op_mldts->mldts.num_layers,
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro ‘rte_bbdev_log’
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1099:66: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
1099 | op_mldts->mldts.num_rbs, op_mldts->mldts.num_layers,
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro ‘rte_bbdev_log’
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1100:41: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
1100 | op_mldts->mldts.r_rep,
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro ‘rte_bbdev_log’
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1101:41: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
1101 | op_mldts->mldts.c_rep, op_mldts->mldts.op_flags);
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro ‘rte_bbdev_log’
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1101:64: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
1101 | op_mldts->mldts.c_rep, op_mldts->mldts.op_flags);
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro ‘rte_bbdev_log’
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dev_info_get’:
../drivers/baseband/acc/rte_vrb_pmd.c:1332:33: error: ‘RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION’?
1332 | RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION
../drivers/baseband/acc/rte_vrb_pmd.c:1366:35: error: ‘RTE_BBDEV_OP_MLDTS’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_OP_FFT’?
1366 | .type = RTE_BBDEV_OP_MLDTS,
| ^~~~~~~~~~~~~~~~~~
| RTE_BBDEV_OP_FFT
../drivers/baseband/acc/rte_vrb_pmd.c:1369:49: error: ‘RTE_BBDEV_MLDTS_REP’ undeclared (first use in this function)
1369 | RTE_BBDEV_MLDTS_REP,
| ^~~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_fcw_ld_fill’:
../drivers/baseband/acc/rte_vrb_pmd.c:1972:53: error: ‘RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION’?
1972 | } else if (check_bit(op->ldpc_dec.op_flags, RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION)) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_enc_one_op_cb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3373:50: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
3373 | op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_dequeue_ldpc_enc_one_op_tb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3425:42: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
3425 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_enc_one_op_tb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3493:58: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
3493 | op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_dec_one_op_cb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3540:42: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
3540 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_ldpc_dec_one_op_cb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3595:42: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
3595 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_dec_one_op_tb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3677:58: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
3677 | op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_dma_desc_fft_fill’:
../drivers/baseband/acc/rte_vrb_pmd.c:3990:51: error: ‘RTE_BBDEV_FFT_DEWINDOWING’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_FFT_WINDOWING’?
3990 | bool win_en = check_bit(op->fft.op_flags, RTE_BBDEV_FFT_DEWINDOWING);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_FFT_WINDOWING
../drivers/baseband/acc/rte_vrb_pmd.c:4016:25: error: ‘RTE_BBDEV_MAX_CS’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_MAX_CS_2’?
4016 | for (i = 0; i < RTE_BBDEV_MAX_CS; i++)
| ^~~~~~~~~~~~~~~~
| RTE_BBDEV_MAX_CS_2
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_enqueue_fft_one_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4049:22: error: ‘struct rte_bbdev_op_fft’ has no member named ‘dewindowing_input’
4049 | win = op->fft.dewindowing_input.data;
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4053:29: error: ‘struct rte_bbdev_op_fft’ has no member named ‘dewindowing_input’
4053 | win_offset = op->fft.dewindowing_input.offset;
| ^
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_fft_one_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4142:42: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
4142 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4192:28: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4192 | vrb2_fcw_mldts_fill(struct rte_bbdev_mldts_op *op, struct acc_fcw_mldts *fcw)
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_fcw_mldts_fill’:
../drivers/baseband/acc/rte_vrb_pmd.c:4194:22: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4194 | fcw->nrb = op->mldts.num_rbs;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4195:26: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4195 | fcw->NLayers = op->mldts.num_layers - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4196:25: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4196 | fcw->Qmod0 = (op->mldts.q_m[0] >> 1) - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4197:25: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4197 | fcw->Qmod1 = (op->mldts.q_m[1] >> 1) - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4198:25: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4198 | fcw->Qmod2 = (op->mldts.q_m[2] >> 1) - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4199:25: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4199 | fcw->Qmod3 = (op->mldts.q_m[3] >> 1) - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4201:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4201 | if (op->mldts.num_layers == 2) {
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4205:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4205 | if (op->mldts.num_layers == 3)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4207:23: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4207 | fcw->Rrep = op->mldts.r_rep;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4208:23: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4208 | fcw->Crep = op->mldts.c_rep;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4213:33: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4213 | vrb2_dma_desc_mldts_fill(struct rte_bbdev_mldts_op *op,
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_dma_desc_mldts_fill’:
../drivers/baseband/acc/rte_vrb_pmd.c:4226:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4226 | if (op->mldts.r_rep > 5)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4227:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4227 | op->mldts.r_rep = 5;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4228:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4228 | if (op->mldts.num_layers < 2)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4229:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4229 | op->mldts.num_layers = 2;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4230:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4230 | if (op->mldts.num_layers > 4)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4231:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4231 | op->mldts.num_layers = 4;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4232:27: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4232 | for (i = 0; i < op->mldts.num_layers; i++)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4233:37: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4233 | outsize_per_re += op->mldts.q_m[i];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4234:20: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4234 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB * (op->mldts.c_rep + 1);
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4234:38: error: ‘RTE_BBDEV_SCPERRB’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_CRC_ERROR’?
4234 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB * (op->mldts.c_rep + 1);
| ^~~~~~~~~~~~~~~~~
| RTE_BBDEV_CRC_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c:4234:61: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4234 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB * (op->mldts.c_rep + 1);
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4235:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4235 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4235:58: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4235 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4236:33: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4236 | q_size = qsize_per_re[op->mldts.num_layers - 2] * sc_num;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4237:33: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4237 | r_size = rsize_per_re[op->mldts.num_layers - 2] * r_num;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4221:18: error: variable ‘sc_factor_per_rrep’ set but not used [-Werror=unused-but-set-variable]
4221 | uint16_t sc_factor_per_rrep[VRB2_MLD_RREP_SIZE] = {12, 6, 4, 3, 0, 2};
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4220:18: error: variable ‘rsize_per_re’ set but not used [-Werror=unused-but-set-variable]
4220 | uint16_t rsize_per_re[VRB2_MLD_LAY_SIZE] = {14, 26, 42};
| ^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4219:18: error: variable ‘qsize_per_re’ set but not used [-Werror=unused-but-set-variable]
4219 | uint16_t qsize_per_re[VRB2_MLD_LAY_SIZE] = {8, 12, 16}; /* Layer 2 to 4. */
| ^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4268:36: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4268 | vrb2_check_mld_r_constraint(struct rte_bbdev_mldts_op *op) {
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_check_mld_r_constraint’:
../drivers/baseband/acc/rte_vrb_pmd.c:4275:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4275 | if (op->mldts.c_rep == 0)
| ^~
In file included from ../drivers/baseband/acc/rte_vrb_pmd.c:7:
../drivers/baseband/acc/rte_vrb_pmd.c:4278:31: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4278 | layer_idx = RTE_MIN(op->mldts.num_layers - VRB2_MLD_MIN_LAYER,
| ^~
../lib/eal/include/rte_common.h:615:25: note: in definition of macro ‘RTE_MIN’
615 | typeof (a) _a = (a); \
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4278:31: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4278 | layer_idx = RTE_MIN(op->mldts.num_layers - VRB2_MLD_MIN_LAYER,
| ^~
../lib/eal/include/rte_common.h:615:34: note: in definition of macro ‘RTE_MIN’
615 | typeof (a) _a = (a); \
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4280:30: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4280 | rrep_idx = RTE_MIN(op->mldts.r_rep, VRB2_MLD_MAX_RREP);
| ^~
../lib/eal/include/rte_common.h:615:25: note: in definition of macro ‘RTE_MIN’
615 | typeof (a) _a = (a); \
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4280:30: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4280 | rrep_idx = RTE_MIN(op->mldts.r_rep, VRB2_MLD_MAX_RREP);
| ^~
../lib/eal/include/rte_common.h:615:34: note: in definition of macro ‘RTE_MIN’
615 | typeof (a) _a = (a); \
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4284:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4284 | return (op->mldts.num_rbs <= max_rb[layer_idx][rrep_idx]);
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4289:52: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4289 | enqueue_mldts_split_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘enqueue_mldts_split_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4304:21: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4304 | input_q = op->mldts.qhy_input.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4305:21: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4305 | input_r = op->mldts.r_input.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4306:20: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4306 | output = op->mldts.output.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4307:23: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4307 | in_offset = op->mldts.qhy_input.offset;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4308:24: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4308 | out_offset = op->mldts.output.offset;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4309:22: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4309 | num_syms = op->mldts.c_rep + 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4311:29: error: passing argument 1 of ‘vrb2_fcw_mldts_fill’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4311 | vrb2_fcw_mldts_fill(op, fcw);
| ^~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4192:48: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
4192 | vrb2_fcw_mldts_fill(struct rte_bbdev_mldts_op *op, struct acc_fcw_mldts *fcw)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c:4315:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4315 | if (op->mldts.r_rep > 5)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4316:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4316 | op->mldts.r_rep = 5;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4317:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4317 | if (op->mldts.num_layers < 2)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4318:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4318 | op->mldts.num_layers = 2;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4319:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4319 | if (op->mldts.num_layers > 4)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4320:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4320 | op->mldts.num_layers = 4;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4322:27: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4322 | for (i = 0; i < op->mldts.num_layers; i++)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4323:37: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4323 | outsize_per_re += op->mldts.q_m[i];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4324:20: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4324 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB; /* C rep forced to zero. */
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4324:38: error: ‘RTE_BBDEV_SCPERRB’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_CRC_ERROR’?
4324 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB; /* C rep forced to zero. */
| ^~~~~~~~~~~~~~~~~
| RTE_BBDEV_CRC_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c:4325:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4325 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4325:58: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4325 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4326:33: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4326 | q_size = qsize_per_re[op->mldts.num_layers - 2] * sc_num;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4327:33: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4327 | r_size = rsize_per_re[op->mldts.num_layers - 2] * r_num;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4294:18: error: variable ‘sc_factor_per_rrep’ set but not used [-Werror=unused-but-set-variable]
4294 | uint16_t sc_factor_per_rrep[VRB2_MLD_RREP_SIZE] = {12, 6, 4, 3, 0, 2};
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4293:18: error: variable ‘rsize_per_re’ set but not used [-Werror=unused-but-set-variable]
4293 | uint16_t rsize_per_re[VRB2_MLD_LAY_SIZE] = {14, 26, 42};
| ^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4292:18: error: variable ‘qsize_per_re’ set but not used [-Werror=unused-but-set-variable]
4292 | uint16_t qsize_per_re[VRB2_MLD_LAY_SIZE] = {8, 12, 16}; /* Layer 2 to 4. */
| ^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4371:50: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4371 | enqueue_mldts_one_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘enqueue_mldts_one_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4382:21: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4382 | input_q = op->mldts.qhy_input.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4383:21: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4383 | input_r = op->mldts.r_input.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4384:20: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4384 | output = op->mldts.output.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4385:23: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4385 | in_offset = op->mldts.qhy_input.offset;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4386:24: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4386 | out_offset = op->mldts.output.offset;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4388:29: error: passing argument 1 of ‘vrb2_fcw_mldts_fill’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4388 | vrb2_fcw_mldts_fill(op, fcw);
| ^~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4192:48: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
4192 | vrb2_fcw_mldts_fill(struct rte_bbdev_mldts_op *op, struct acc_fcw_mldts *fcw)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c:4389:34: error: passing argument 1 of ‘vrb2_dma_desc_mldts_fill’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4389 | vrb2_dma_desc_mldts_fill(op, &desc->req, input_q, input_r, output,
| ^~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4213:53: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
4213 | vrb2_dma_desc_mldts_fill(struct rte_bbdev_mldts_op *op,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4401:24: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4401 | struct rte_bbdev_mldts_op **ops, uint16_t num)
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_enqueue_mldts’:
../drivers/baseband/acc/rte_vrb_pmd.c:4415:60: error: passing argument 1 of ‘vrb2_check_mld_r_constraint’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4415 | as_one_op = vrb2_check_mld_r_constraint(ops[i]);
| ~~~^~~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4268:56: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
4268 | vrb2_check_mld_r_constraint(struct rte_bbdev_mldts_op *op) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c:4416:53: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4416 | descs_in_op = as_one_op ? 1 : ops[i]->mldts.c_rep + 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4426:58: error: passing argument 2 of ‘enqueue_mldts_one_op’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4426 | ret = enqueue_mldts_one_op(q, ops[i], enqueued_descs);
| ~~~^~~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4371:70: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
4371 | enqueue_mldts_one_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c:4428:60: error: passing argument 2 of ‘enqueue_mldts_split_op’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4428 | ret = enqueue_mldts_split_op(q, ops[i], enqueued_descs);
| ~~~^~~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4289:72: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
4289 | enqueue_mldts_split_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4455:45: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4455 | struct acc_queue *q, struct rte_bbdev_mldts_op **ref_op,
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘dequeue_mldts_one_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4499:11: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4499 | op->status = 0;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4505:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4505 | op->status |= rsp.input_err << RTE_BBDEV_DATA_ERROR;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4506:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4506 | op->status |= rsp.dma_err << RTE_BBDEV_DRV_ERROR;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4507:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4507 | op->status |= rsp.fcw_err << RTE_BBDEV_DRV_ERROR;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4508:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4508 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4508:50: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
4508 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c:4511:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4511 | if (op->status != 0)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4513:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4513 | if (op->status & (1 << RTE_BBDEV_DRV_ERROR))
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4531:24: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4531 | struct rte_bbdev_mldts_op **ops, uint16_t num)
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_dequeue_mldts’:
../drivers/baseband/acc/rte_vrb_pmd.c:4542:55: error: passing argument 3 of ‘dequeue_mldts_one_op’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4542 | ret = dequeue_mldts_one_op(q_data, q, &ops[i], dequeued_cbs, &aq_dequeued);
| ^~~~~~~
| |
| struct rte_bbdev_mldts_op **
../drivers/baseband/acc/rte_vrb_pmd.c:4455:66: note: expected ‘struct rte_bbdev_mldts_op **’ but argument is of type ‘struct rte_bbdev_mldts_op **’
4455 | struct acc_queue *q, struct rte_bbdev_mldts_op **ref_op,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_bbdev_init’:
../drivers/baseband/acc/rte_vrb_pmd.c:4573:14: error: ‘struct rte_bbdev’ has no member named ‘enqueue_mldts_ops’; did you mean ‘enqueue_dec_ops’?
4573 | dev->enqueue_mldts_ops = vrb2_enqueue_mldts;
| ^~~~~~~~~~~~~~~~~
| enqueue_dec_ops
../drivers/baseband/acc/rte_vrb_pmd.c:4574:14: error: ‘struct rte_bbdev’ has no member named ‘dequeue_mldts_ops’; did you mean ‘dequeue_dec_ops’?
4574 | dev->dequeue_mldts_ops = vrb2_dequeue_mldts;
| ^~~~~~~~~~~~~~~~~
| dequeue_dec_ops
cc1: all warnings being treated as errors
[2299/2813] Generating drivers/rte_crypto_octeontx.pmd.c with a custom command
[2300/2813] Linking target drivers/librte_event_sw.so.23.2
[2301/2813] Generating drivers/rte_event_octeontx.pmd.c with a custom command
[2302/2813] Generating drivers/rte_baseband_la12xx.pmd.c with a custom command
[2303/2813] Compiling C object drivers/libtmp_rte_baseband_fpga_lte_fec.a.p/baseband_fpga_lte_fec_fpga_lte_fec.c.o
[2304/2813] Compiling C object drivers/libtmp_rte_baseband_fpga_5gnr_fec.a.p/baseband_fpga_5gnr_fec_rte_fpga_5gnr_fec.c.o
[2305/2813] Compiling C object drivers/libtmp_rte_baseband_null.a.p/baseband_null_bbdev_null.c.o
[2306/2813] Compiling C object drivers/libtmp_rte_baseband_turbo_sw.a.p/baseband_turbo_sw_bbdev_turbo_software.c.o
[2307/2813] Compiling C object drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_acc100_pmd.c.o
ninja: build stopped
*Build Failed #18:
OS: UB2204-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o
clang -Idrivers/libtmp_rte_baseband_acc.a.p -Idrivers -I../drivers -Idrivers/baseband/acc -I../drivers/baseband/acc -Ilib/bbdev -I../lib/bbdev -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/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -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=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=pmd.bb.acc -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o -MF drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o.d -o drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o -c ../drivers/baseband/acc/rte_vrb_pmd.c
../drivers/baseband/acc/rte_vrb_pmd.c:1037:29: error: use of undeclared identifier 'RTE_BBDEV_OP_MLDTS'; did you mean 'RTE_BBDEV_OP_FFT'?
else if (conf->op_type == RTE_BBDEV_OP_MLDTS)
^~~~~~~~~~~~~~~~~~
RTE_BBDEV_OP_FFT
../lib/bbdev/rte_bbdev_op.h:858:2: note: 'RTE_BBDEV_OP_FFT' declared here
RTE_BBDEV_OP_FFT, /**< FFT */
^
../drivers/baseband/acc/rte_vrb_pmd.c:1095:24: error: use of undeclared identifier 'RTE_BBDEV_OP_MLDTS'; did you mean 'RTE_BBDEV_OP_FFT'?
} else if (op_type == RTE_BBDEV_OP_MLDTS) {
^~~~~~~~~~~~~~~~~~
RTE_BBDEV_OP_FFT
../lib/bbdev/rte_bbdev_op.h:858:2: note: 'RTE_BBDEV_OP_FFT' declared here
RTE_BBDEV_OP_FFT, /**< FFT */
^
../drivers/baseband/acc/rte_vrb_pmd.c:1099:13: error: incomplete definition of type 'struct rte_bbdev_mldts_op'
op_mldts->mldts.num_rbs, op_mldts->mldts.num_layers,
~~~~~~~~^
../drivers/baseband/acc/vrb_pmd.h:18:5: note: expanded from macro 'rte_bbdev_log'
##__VA_ARGS__)
^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1096:10: note: forward declaration of 'struct rte_bbdev_mldts_op'
struct rte_bbdev_mldts_op *op_mldts = (struct rte_bbdev_mldts_op *) op;
^
../drivers/baseband/acc/rte_vrb_pmd.c:1099:38: error: incomplete definition of type 'struct rte_bbdev_mldts_op'
op_mldts->mldts.num_rbs, op_mldts->mldts.num_layers,
~~~~~~~~^
../drivers/baseband/acc/vrb_pmd.h:18:5: note: expanded from macro 'rte_bbdev_log'
##__VA_ARGS__)
^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1096:10: note: forward declaration of 'struct rte_bbdev_mldts_op'
struct rte_bbdev_mldts_op *op_mldts = (struct rte_bbdev_mldts_op *) op;
^
../drivers/baseband/acc/rte_vrb_pmd.c:1100:13: error: incomplete definition of type 'struct rte_bbdev_mldts_op'
op_mldts->mldts.r_rep,
~~~~~~~~^
../drivers/baseband/acc/vrb_pmd.h:18:5: note: expanded from macro 'rte_bbdev_log'
##__VA_ARGS__)
^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1096:10: note: forward declaration of 'struct rte_bbdev_mldts_op'
struct rte_bbdev_mldts_op *op_mldts = (struct rte_bbdev_mldts_op *) op;
^
../drivers/baseband/acc/rte_vrb_pmd.c:1101:13: error: incomplete definition of type 'struct rte_bbdev_mldts_op'
op_mldts->mldts.c_rep, op_mldts->mldts.op_flags);
~~~~~~~~^
../drivers/baseband/acc/vrb_pmd.h:18:5: note: expanded from macro 'rte_bbdev_log'
##__VA_ARGS__)
^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1096:10: note: forward declaration of 'struct rte_bbdev_mldts_op'
struct rte_bbdev_mldts_op *op_mldts = (struct rte_bbdev_mldts_op *) op;
^
../drivers/baseband/acc/rte_vrb_pmd.c:1101:36: error: incomplete definition of type 'struct rte_bbdev_mldts_op'
op_mldts->mldts.c_rep, op_mldts->mldts.op_flags);
~~~~~~~~^
../drivers/baseband/acc/vrb_pmd.h:18:5: note: expanded from macro 'rte_bbdev_log'
##__VA_ARGS__)
^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1096:10: note: forward declaration of 'struct rte_bbdev_mldts_op'
struct rte_bbdev_mldts_op *op_mldts = (struct rte_bbdev_mldts_op *) op;
^
../drivers/baseband/acc/rte_vrb_pmd.c:1332:5: error: use of undeclared identifier 'RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION'; did you mean 'RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION'?
RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION
../lib/bbdev/rte_bbdev_op.h:182:2: note: 'RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION' declared here
RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION = (1ULL << 14),
^
../drivers/baseband/acc/rte_vrb_pmd.c:1366:12: error: use of undeclared identifier 'RTE_BBDEV_OP_MLDTS'; did you mean 'RTE_BBDEV_OP_FFT'?
.type = RTE_BBDEV_OP_MLDTS,
^~~~~~~~~~~~~~~~~~
RTE_BBDEV_OP_FFT
../lib/bbdev/rte_bbdev_op.h:858:2: note: 'RTE_BBDEV_OP_FFT' declared here
RTE_BBDEV_OP_FFT, /**< FFT */
^
../drivers/baseband/acc/rte_vrb_pmd.c:1369:7: error: use of undeclared identifier 'RTE_BBDEV_MLDTS_REP'
RTE_BBDEV_MLDTS_REP,
^
../drivers/baseband/acc/rte_vrb_pmd.c:1403:23: error: use of undeclared identifier 'RTE_BBDEV_OP_MLDTS'; did you mean 'RTE_BBDEV_OP_FFT'?
dev_info->num_queues[RTE_BBDEV_OP_MLDTS] = d->acc_conf.q_mld.num_aqs_per_groups *
^~~~~~~~~~~~~~~~~~
RTE_BBDEV_OP_FFT
../lib/bbdev/rte_bbdev_op.h:858:2: note: 'RTE_BBDEV_OP_FFT' declared here
RTE_BBDEV_OP_FFT, /**< FFT */
^
../drivers/baseband/acc/rte_vrb_pmd.c:1410:27: error: use of undeclared identifier 'RTE_BBDEV_OP_MLDTS'; did you mean 'RTE_BBDEV_OP_FFT'?
dev_info->queue_priority[RTE_BBDEV_OP_MLDTS] = d->acc_conf.q_mld.num_qgroups;
^~~~~~~~~~~~~~~~~~
RTE_BBDEV_OP_FFT
../lib/bbdev/rte_bbdev_op.h:858:2: note: 'RTE_BBDEV_OP_FFT' declared here
RTE_BBDEV_OP_FFT, /**< FFT */
^
../drivers/baseband/acc/rte_vrb_pmd.c:1412:35: error: use of undeclared identifier 'RTE_BBDEV_OP_MLDTS'; did you mean 'RTE_BBDEV_OP_FFT'?
for (i = RTE_BBDEV_OP_NONE; i <= RTE_BBDEV_OP_MLDTS; i++)
^~~~~~~~~~~~~~~~~~
RTE_BBDEV_OP_FFT
../lib/bbdev/rte_bbdev_op.h:858:2: note: 'RTE_BBDEV_OP_FFT' declared here
RTE_BBDEV_OP_FFT, /**< FFT */
^
../drivers/baseband/acc/rte_vrb_pmd.c:1972:46: error: use of undeclared identifier 'RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION'; did you mean 'RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION'?
} else if (check_bit(op->ldpc_dec.op_flags, RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION)) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION
../lib/bbdev/rte_bbdev_op.h:182:2: note: 'RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION' declared here
RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION = (1ULL << 14),
^
../drivers/baseband/acc/rte_vrb_pmd.c:3373:43: error: use of undeclared identifier 'RTE_BBDEV_ENGINE_ERROR'; did you mean 'RTE_BBDEV_EVENT_ERROR'?
op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
^~~~~~~~~~~~~~~~~~~~~~
RTE_BBDEV_EVENT_ERROR
../lib/bbdev/rte_bbdev.h:831:2: note: 'RTE_BBDEV_EVENT_ERROR' declared here
RTE_BBDEV_EVENT_ERROR, /**< error interrupt event */
^
../drivers/baseband/acc/rte_vrb_pmd.c:3425:35: error: use of undeclared identifier 'RTE_BBDEV_ENGINE_ERROR'; did you mean 'RTE_BBDEV_EVENT_ERROR'?
op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
^~~~~~~~~~~~~~~~~~~~~~
RTE_BBDEV_EVENT_ERROR
../lib/bbdev/rte_bbdev.h:831:2: note: 'RTE_BBDEV_EVENT_ERROR' declared here
RTE_BBDEV_EVENT_ERROR, /**< error interrupt event */
^
../drivers/baseband/acc/rte_vrb_pmd.c:3493:44: error: use of undeclared identifier 'RTE_BBDEV_ENGINE_ERROR'; did you mean 'RTE_BBDEV_EVENT_ERROR'?
op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
^~~~~~~~~~~~~~~~~~~~~~
RTE_BBDEV_EVENT_ERROR
../lib/bbdev/rte_bbdev.h:831:2: note: 'RTE_BBDEV_EVENT_ERROR' declared here
RTE_BBDEV_EVENT_ERROR, /**< error interrupt event */
^
../drivers/baseband/acc/rte_vrb_pmd.c:3540:35: error: use of undeclared identifier 'RTE_BBDEV_ENGINE_ERROR'; did you mean 'RTE_BBDEV_EVENT_ERROR'?
op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
^~~~~~~~~~~~~~~~~~~~~~
RTE_BBDEV_EVENT_ERROR
../lib/bbdev/rte_bbdev.h:831:2: note: 'RTE_BBDEV_EVENT_ERROR' declared here
RTE_BBDEV_EVENT_ERROR, /**< error interrupt event */
^
../drivers/baseband/acc/rte_vrb_pmd.c:3595:35: error: use of undeclared identifier 'RTE_BBDEV_ENGINE_ERROR'; did you mean 'RTE_BBDEV_EVENT_ERROR'?
op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
^~~~~~~~~~~~~~~~~~~~~~
RTE_BBDEV_EVENT_ERROR
../lib/bbdev/rte_bbdev.h:831:2: note: 'RTE_BBDEV_EVENT_ERROR' declared here
RTE_BBDEV_EVENT_ERROR, /**< error interrupt event */
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[2299/2813] Generating drivers/rte_event_sw.pmd.c with a custom command
[2300/2813] Generating drivers/rte_event_octeontx.pmd.c with a custom command
[2301/2813] Compiling C object drivers/libtmp_rte_baseband_la12xx.a.p/baseband_la12xx_bbdev_la12xx.c.o
[2302/2813] Compiling C object app/dpdk-dumpcap.p/dumpcap_main.c.o
[2303/2813] Compiling C object drivers/libtmp_rte_baseband_fpga_5gnr_fec.a.p/baseband_fpga_5gnr_fec_rte_fpga_5gnr_fec.c.o
[2304/2813] Compiling C object drivers/libtmp_rte_baseband_fpga_lte_fec.a.p/baseband_fpga_lte_fec_fpga_lte_fec.c.o
[2305/2813] Compiling C object drivers/libtmp_rte_baseband_null.a.p/baseband_null_bbdev_null.c.o
[2306/2813] Compiling C object drivers/libtmp_rte_baseband_turbo_sw.a.p/baseband_turbo_sw_bbdev_turbo_software.c.o
[2307/2813] Compiling C object drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_acc100_pmd.c.o
ninja: build stopped
*Build Failed #19:
OS: UB2204-64
Target: x86_64-native-linuxapp-doc
FAILED: drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o
gcc -Idrivers/libtmp_rte_baseband_acc.a.p -Idrivers -I../drivers -Idrivers/baseband/acc -I../drivers/baseband/acc -Ilib/bbdev -I../lib/bbdev -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/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -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-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.bb.acc -MD -MQ drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o -MF drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o.d -o drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o -c ../drivers/baseband/acc/rte_vrb_pmd.c
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_queue_setup’:
../drivers/baseband/acc/rte_vrb_pmd.c:1037:36: error: ‘RTE_BBDEV_OP_MLDTS’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_OP_FFT’?
1037 | else if (conf->op_type == RTE_BBDEV_OP_MLDTS)
| ^~~~~~~~~~~~~~~~~~
| RTE_BBDEV_OP_FFT
../drivers/baseband/acc/rte_vrb_pmd.c:1037:36: note: each undeclared identifier is reported only once for each function it appears in
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_print_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:1095:31: error: ‘RTE_BBDEV_OP_MLDTS’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_OP_FFT’?
1095 | } else if (op_type == RTE_BBDEV_OP_MLDTS) {
| ^~~~~~~~~~~~~~~~~~
| RTE_BBDEV_OP_FFT
In file included from ../drivers/baseband/acc/rte_vrb_pmd.c:22:
../drivers/baseband/acc/rte_vrb_pmd.c:1099:41: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
1099 | op_mldts->mldts.num_rbs, op_mldts->mldts.num_layers,
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro ‘rte_bbdev_log’
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1099:66: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
1099 | op_mldts->mldts.num_rbs, op_mldts->mldts.num_layers,
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro ‘rte_bbdev_log’
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1100:41: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
1100 | op_mldts->mldts.r_rep,
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro ‘rte_bbdev_log’
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1101:41: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
1101 | op_mldts->mldts.c_rep, op_mldts->mldts.op_flags);
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro ‘rte_bbdev_log’
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1101:64: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
1101 | op_mldts->mldts.c_rep, op_mldts->mldts.op_flags);
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro ‘rte_bbdev_log’
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dev_info_get’:
../drivers/baseband/acc/rte_vrb_pmd.c:1332:33: error: ‘RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION’?
1332 | RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION
../drivers/baseband/acc/rte_vrb_pmd.c:1366:35: error: ‘RTE_BBDEV_OP_MLDTS’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_OP_FFT’?
1366 | .type = RTE_BBDEV_OP_MLDTS,
| ^~~~~~~~~~~~~~~~~~
| RTE_BBDEV_OP_FFT
../drivers/baseband/acc/rte_vrb_pmd.c:1369:49: error: ‘RTE_BBDEV_MLDTS_REP’ undeclared (first use in this function)
1369 | RTE_BBDEV_MLDTS_REP,
| ^~~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_fcw_ld_fill’:
../drivers/baseband/acc/rte_vrb_pmd.c:1972:53: error: ‘RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION’?
1972 | } else if (check_bit(op->ldpc_dec.op_flags, RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION)) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_enc_one_op_cb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3373:50: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
3373 | op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_dequeue_ldpc_enc_one_op_tb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3425:42: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
3425 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_enc_one_op_tb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3493:58: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
3493 | op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_dec_one_op_cb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3540:42: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
3540 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_ldpc_dec_one_op_cb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3595:42: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
3595 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_dec_one_op_tb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3677:58: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
3677 | op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_dma_desc_fft_fill’:
../drivers/baseband/acc/rte_vrb_pmd.c:3990:51: error: ‘RTE_BBDEV_FFT_DEWINDOWING’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_FFT_WINDOWING’?
3990 | bool win_en = check_bit(op->fft.op_flags, RTE_BBDEV_FFT_DEWINDOWING);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_FFT_WINDOWING
../drivers/baseband/acc/rte_vrb_pmd.c:4016:25: error: ‘RTE_BBDEV_MAX_CS’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_MAX_CS_2’?
4016 | for (i = 0; i < RTE_BBDEV_MAX_CS; i++)
| ^~~~~~~~~~~~~~~~
| RTE_BBDEV_MAX_CS_2
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_enqueue_fft_one_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4049:22: error: ‘struct rte_bbdev_op_fft’ has no member named ‘dewindowing_input’
4049 | win = op->fft.dewindowing_input.data;
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4053:29: error: ‘struct rte_bbdev_op_fft’ has no member named ‘dewindowing_input’
4053 | win_offset = op->fft.dewindowing_input.offset;
| ^
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_fft_one_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4142:42: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
4142 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4192:28: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4192 | vrb2_fcw_mldts_fill(struct rte_bbdev_mldts_op *op, struct acc_fcw_mldts *fcw)
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_fcw_mldts_fill’:
../drivers/baseband/acc/rte_vrb_pmd.c:4194:22: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4194 | fcw->nrb = op->mldts.num_rbs;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4195:26: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4195 | fcw->NLayers = op->mldts.num_layers - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4196:25: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4196 | fcw->Qmod0 = (op->mldts.q_m[0] >> 1) - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4197:25: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4197 | fcw->Qmod1 = (op->mldts.q_m[1] >> 1) - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4198:25: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4198 | fcw->Qmod2 = (op->mldts.q_m[2] >> 1) - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4199:25: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4199 | fcw->Qmod3 = (op->mldts.q_m[3] >> 1) - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4201:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4201 | if (op->mldts.num_layers == 2) {
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4205:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4205 | if (op->mldts.num_layers == 3)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4207:23: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4207 | fcw->Rrep = op->mldts.r_rep;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4208:23: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4208 | fcw->Crep = op->mldts.c_rep;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4213:33: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4213 | vrb2_dma_desc_mldts_fill(struct rte_bbdev_mldts_op *op,
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_dma_desc_mldts_fill’:
../drivers/baseband/acc/rte_vrb_pmd.c:4226:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4226 | if (op->mldts.r_rep > 5)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4227:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4227 | op->mldts.r_rep = 5;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4228:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4228 | if (op->mldts.num_layers < 2)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4229:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4229 | op->mldts.num_layers = 2;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4230:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4230 | if (op->mldts.num_layers > 4)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4231:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4231 | op->mldts.num_layers = 4;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4232:27: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4232 | for (i = 0; i < op->mldts.num_layers; i++)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4233:37: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4233 | outsize_per_re += op->mldts.q_m[i];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4234:20: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4234 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB * (op->mldts.c_rep + 1);
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4234:38: error: ‘RTE_BBDEV_SCPERRB’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_CRC_ERROR’?
4234 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB * (op->mldts.c_rep + 1);
| ^~~~~~~~~~~~~~~~~
| RTE_BBDEV_CRC_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c:4234:61: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4234 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB * (op->mldts.c_rep + 1);
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4235:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4235 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4235:58: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4235 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4236:33: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4236 | q_size = qsize_per_re[op->mldts.num_layers - 2] * sc_num;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4237:33: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4237 | r_size = rsize_per_re[op->mldts.num_layers - 2] * r_num;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4221:18: error: variable ‘sc_factor_per_rrep’ set but not used [-Werror=unused-but-set-variable]
4221 | uint16_t sc_factor_per_rrep[VRB2_MLD_RREP_SIZE] = {12, 6, 4, 3, 0, 2};
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4220:18: error: variable ‘rsize_per_re’ set but not used [-Werror=unused-but-set-variable]
4220 | uint16_t rsize_per_re[VRB2_MLD_LAY_SIZE] = {14, 26, 42};
| ^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4219:18: error: variable ‘qsize_per_re’ set but not used [-Werror=unused-but-set-variable]
4219 | uint16_t qsize_per_re[VRB2_MLD_LAY_SIZE] = {8, 12, 16}; /* Layer 2 to 4. */
| ^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4268:36: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4268 | vrb2_check_mld_r_constraint(struct rte_bbdev_mldts_op *op) {
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_check_mld_r_constraint’:
../drivers/baseband/acc/rte_vrb_pmd.c:4275:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4275 | if (op->mldts.c_rep == 0)
| ^~
In file included from ../drivers/baseband/acc/rte_vrb_pmd.c:7:
../drivers/baseband/acc/rte_vrb_pmd.c:4278:31: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4278 | layer_idx = RTE_MIN(op->mldts.num_layers - VRB2_MLD_MIN_LAYER,
| ^~
../lib/eal/include/rte_common.h:615:25: note: in definition of macro ‘RTE_MIN’
615 | typeof (a) _a = (a); \
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4278:31: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4278 | layer_idx = RTE_MIN(op->mldts.num_layers - VRB2_MLD_MIN_LAYER,
| ^~
../lib/eal/include/rte_common.h:615:34: note: in definition of macro ‘RTE_MIN’
615 | typeof (a) _a = (a); \
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4280:30: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4280 | rrep_idx = RTE_MIN(op->mldts.r_rep, VRB2_MLD_MAX_RREP);
| ^~
../lib/eal/include/rte_common.h:615:25: note: in definition of macro ‘RTE_MIN’
615 | typeof (a) _a = (a); \
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4280:30: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4280 | rrep_idx = RTE_MIN(op->mldts.r_rep, VRB2_MLD_MAX_RREP);
| ^~
../lib/eal/include/rte_common.h:615:34: note: in definition of macro ‘RTE_MIN’
615 | typeof (a) _a = (a); \
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4284:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4284 | return (op->mldts.num_rbs <= max_rb[layer_idx][rrep_idx]);
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4289:52: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4289 | enqueue_mldts_split_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘enqueue_mldts_split_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4304:21: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4304 | input_q = op->mldts.qhy_input.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4305:21: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4305 | input_r = op->mldts.r_input.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4306:20: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4306 | output = op->mldts.output.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4307:23: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4307 | in_offset = op->mldts.qhy_input.offset;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4308:24: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4308 | out_offset = op->mldts.output.offset;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4309:22: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4309 | num_syms = op->mldts.c_rep + 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4311:29: error: passing argument 1 of ‘vrb2_fcw_mldts_fill’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4311 | vrb2_fcw_mldts_fill(op, fcw);
| ^~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4192:48: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
4192 | vrb2_fcw_mldts_fill(struct rte_bbdev_mldts_op *op, struct acc_fcw_mldts *fcw)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c:4315:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4315 | if (op->mldts.r_rep > 5)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4316:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4316 | op->mldts.r_rep = 5;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4317:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4317 | if (op->mldts.num_layers < 2)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4318:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4318 | op->mldts.num_layers = 2;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4319:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4319 | if (op->mldts.num_layers > 4)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4320:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4320 | op->mldts.num_layers = 4;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4322:27: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4322 | for (i = 0; i < op->mldts.num_layers; i++)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4323:37: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4323 | outsize_per_re += op->mldts.q_m[i];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4324:20: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4324 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB; /* C rep forced to zero. */
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4324:38: error: ‘RTE_BBDEV_SCPERRB’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_CRC_ERROR’?
4324 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB; /* C rep forced to zero. */
| ^~~~~~~~~~~~~~~~~
| RTE_BBDEV_CRC_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c:4325:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4325 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4325:58: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4325 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4326:33: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4326 | q_size = qsize_per_re[op->mldts.num_layers - 2] * sc_num;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4327:33: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4327 | r_size = rsize_per_re[op->mldts.num_layers - 2] * r_num;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4294:18: error: variable ‘sc_factor_per_rrep’ set but not used [-Werror=unused-but-set-variable]
4294 | uint16_t sc_factor_per_rrep[VRB2_MLD_RREP_SIZE] = {12, 6, 4, 3, 0, 2};
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4293:18: error: variable ‘rsize_per_re’ set but not used [-Werror=unused-but-set-variable]
4293 | uint16_t rsize_per_re[VRB2_MLD_LAY_SIZE] = {14, 26, 42};
| ^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4292:18: error: variable ‘qsize_per_re’ set but not used [-Werror=unused-but-set-variable]
4292 | uint16_t qsize_per_re[VRB2_MLD_LAY_SIZE] = {8, 12, 16}; /* Layer 2 to 4. */
| ^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4371:50: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4371 | enqueue_mldts_one_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘enqueue_mldts_one_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4382:21: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4382 | input_q = op->mldts.qhy_input.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4383:21: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4383 | input_r = op->mldts.r_input.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4384:20: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4384 | output = op->mldts.output.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4385:23: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4385 | in_offset = op->mldts.qhy_input.offset;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4386:24: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4386 | out_offset = op->mldts.output.offset;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4388:29: error: passing argument 1 of ‘vrb2_fcw_mldts_fill’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4388 | vrb2_fcw_mldts_fill(op, fcw);
| ^~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4192:48: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
4192 | vrb2_fcw_mldts_fill(struct rte_bbdev_mldts_op *op, struct acc_fcw_mldts *fcw)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c:4389:34: error: passing argument 1 of ‘vrb2_dma_desc_mldts_fill’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4389 | vrb2_dma_desc_mldts_fill(op, &desc->req, input_q, input_r, output,
| ^~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4213:53: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
4213 | vrb2_dma_desc_mldts_fill(struct rte_bbdev_mldts_op *op,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4401:24: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4401 | struct rte_bbdev_mldts_op **ops, uint16_t num)
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_enqueue_mldts’:
../drivers/baseband/acc/rte_vrb_pmd.c:4415:60: error: passing argument 1 of ‘vrb2_check_mld_r_constraint’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4415 | as_one_op = vrb2_check_mld_r_constraint(ops[i]);
| ~~~^~~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4268:56: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
4268 | vrb2_check_mld_r_constraint(struct rte_bbdev_mldts_op *op) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c:4416:53: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4416 | descs_in_op = as_one_op ? 1 : ops[i]->mldts.c_rep + 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4426:58: error: passing argument 2 of ‘enqueue_mldts_one_op’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4426 | ret = enqueue_mldts_one_op(q, ops[i], enqueued_descs);
| ~~~^~~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4371:70: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
4371 | enqueue_mldts_one_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c:4428:60: error: passing argument 2 of ‘enqueue_mldts_split_op’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4428 | ret = enqueue_mldts_split_op(q, ops[i], enqueued_descs);
| ~~~^~~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4289:72: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
4289 | enqueue_mldts_split_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4455:45: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4455 | struct acc_queue *q, struct rte_bbdev_mldts_op **ref_op,
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘dequeue_mldts_one_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4499:11: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4499 | op->status = 0;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4505:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4505 | op->status |= rsp.input_err << RTE_BBDEV_DATA_ERROR;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4506:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4506 | op->status |= rsp.dma_err << RTE_BBDEV_DRV_ERROR;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4507:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4507 | op->status |= rsp.fcw_err << RTE_BBDEV_DRV_ERROR;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4508:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4508 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4508:50: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
4508 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c:4511:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4511 | if (op->status != 0)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4513:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4513 | if (op->status & (1 << RTE_BBDEV_DRV_ERROR))
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4531:24: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4531 | struct rte_bbdev_mldts_op **ops, uint16_t num)
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_dequeue_mldts’:
../drivers/baseband/acc/rte_vrb_pmd.c:4542:55: error: passing argument 3 of ‘dequeue_mldts_one_op’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4542 | ret = dequeue_mldts_one_op(q_data, q, &ops[i], dequeued_cbs, &aq_dequeued);
| ^~~~~~~
| |
| struct rte_bbdev_mldts_op **
../drivers/baseband/acc/rte_vrb_pmd.c:4455:66: note: expected ‘struct rte_bbdev_mldts_op **’ but argument is of type ‘struct rte_bbdev_mldts_op **’
4455 | struct acc_queue *q, struct rte_bbdev_mldts_op **ref_op,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_bbdev_init’:
../drivers/baseband/acc/rte_vrb_pmd.c:4573:14: error: ‘struct rte_bbdev’ has no member named ‘enqueue_mldts_ops’; did you mean ‘enqueue_dec_ops’?
4573 | dev->enqueue_mldts_ops = vrb2_enqueue_mldts;
| ^~~~~~~~~~~~~~~~~
| enqueue_dec_ops
../drivers/baseband/acc/rte_vrb_pmd.c:4574:14: error: ‘struct rte_bbdev’ has no member named ‘dequeue_mldts_ops’; did you mean ‘dequeue_dec_ops’?
4574 | dev->dequeue_mldts_ops = vrb2_dequeue_mldts;
| ^~~~~~~~~~~~~~~~~
| dequeue_dec_ops
cc1: all warnings being treated as errors
[2430/2783] Compiling C object drivers/libtmp_rte_baseband_la12xx.a.p/baseband_la12xx_bbdev_la12xx.c.o
[2431/2783] Compiling C object drivers/libtmp_rte_event_octeontx.a.p/event_octeontx_ssovf_evdev_selftest.c.o
[2432/2783] Compiling C object drivers/libtmp_rte_baseband_fpga_lte_fec.a.p/baseband_fpga_lte_fec_fpga_lte_fec.c.o
[2433/2783] Compiling C object drivers/libtmp_rte_event_sw.a.p/event_sw_sw_evdev_scheduler.c.o
[2434/2783] Compiling C object drivers/libtmp_rte_baseband_fpga_5gnr_fec.a.p/baseband_fpga_5gnr_fec_rte_fpga_5gnr_fec.c.o
[2435/2783] Compiling C object drivers/libtmp_rte_baseband_null.a.p/baseband_null_bbdev_null.c.o
[2436/2783] Compiling C object drivers/libtmp_rte_event_sw.a.p/event_sw_sw_evdev_selftest.c.o
[2437/2783] Compiling C object drivers/libtmp_rte_event_octeontx.a.p/event_octeontx_ssovf_worker.c.o
[2438/2783] Compiling C object drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_acc100_pmd.c.o
ninja: build stopped
*Build Failed #20:
OS: CentOS79-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o
gcc -Idrivers/libtmp_rte_baseband_acc.a.p -Idrivers -I../drivers -Idrivers/baseband/acc -I../drivers/baseband/acc -Ilib/bbdev -I../lib/bbdev -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/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -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 -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=pmd.bb.acc -MD -MQ drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o -MF drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o.d -o drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o -c ../drivers/baseband/acc/rte_vrb_pmd.c
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb_queue_setup':
../drivers/baseband/acc/rte_vrb_pmd.c:1037:29: error: 'RTE_BBDEV_OP_MLDTS' undeclared (first use in this function)
else if (conf->op_type == RTE_BBDEV_OP_MLDTS)
^
../drivers/baseband/acc/rte_vrb_pmd.c:1037:29: note: each undeclared identifier is reported only once for each function it appears in
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb_print_op':
../drivers/baseband/acc/rte_vrb_pmd.c:1095:24: error: 'RTE_BBDEV_OP_MLDTS' undeclared (first use in this function)
} else if (op_type == RTE_BBDEV_OP_MLDTS) {
^
In file included from ../drivers/baseband/acc/rte_vrb_pmd.c:22:0:
../drivers/baseband/acc/rte_vrb_pmd.c:1099:13: error: dereferencing pointer to incomplete type
op_mldts->mldts.num_rbs, op_mldts->mldts.num_layers,
^
../drivers/baseband/acc/vrb_pmd.h:18:5: note: in definition of macro 'rte_bbdev_log'
##__VA_ARGS__)
^
../drivers/baseband/acc/rte_vrb_pmd.c:1099:38: error: dereferencing pointer to incomplete type
op_mldts->mldts.num_rbs, op_mldts->mldts.num_layers,
^
../drivers/baseband/acc/vrb_pmd.h:18:5: note: in definition of macro 'rte_bbdev_log'
##__VA_ARGS__)
^
../drivers/baseband/acc/rte_vrb_pmd.c:1100:13: error: dereferencing pointer to incomplete type
op_mldts->mldts.r_rep,
^
../drivers/baseband/acc/vrb_pmd.h:18:5: note: in definition of macro 'rte_bbdev_log'
##__VA_ARGS__)
^
../drivers/baseband/acc/rte_vrb_pmd.c:1101:13: error: dereferencing pointer to incomplete type
op_mldts->mldts.c_rep, op_mldts->mldts.op_flags);
^
../drivers/baseband/acc/vrb_pmd.h:18:5: note: in definition of macro 'rte_bbdev_log'
##__VA_ARGS__)
^
../drivers/baseband/acc/rte_vrb_pmd.c:1101:36: error: dereferencing pointer to incomplete type
op_mldts->mldts.c_rep, op_mldts->mldts.op_flags);
^
../drivers/baseband/acc/vrb_pmd.h:18:5: note: in definition of macro 'rte_bbdev_log'
##__VA_ARGS__)
^
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb_dev_info_get':
../drivers/baseband/acc/rte_vrb_pmd.c:1332:5: error: 'RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION' undeclared (first use in this function)
RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION |
^
../drivers/baseband/acc/rte_vrb_pmd.c:1366:12: error: 'RTE_BBDEV_OP_MLDTS' undeclared (first use in this function)
.type = RTE_BBDEV_OP_MLDTS,
^
../drivers/baseband/acc/rte_vrb_pmd.c:1369:7: error: 'RTE_BBDEV_MLDTS_REP' undeclared (first use in this function)
RTE_BBDEV_MLDTS_REP,
^
../drivers/baseband/acc/rte_vrb_pmd.c:1403:22: error: array subscript is not an integer
dev_info->num_queues[RTE_BBDEV_OP_MLDTS] = d->acc_conf.q_mld.num_aqs_per_groups *
^
../drivers/baseband/acc/rte_vrb_pmd.c:1403:2: error: statement with no effect [-Werror=unused-value]
dev_info->num_queues[RTE_BBDEV_OP_MLDTS] = d->acc_conf.q_mld.num_aqs_per_groups *
^
../drivers/baseband/acc/rte_vrb_pmd.c:1410:26: error: array subscript is not an integer
dev_info->queue_priority[RTE_BBDEV_OP_MLDTS] = d->acc_conf.q_mld.num_qgroups;
^
../drivers/baseband/acc/rte_vrb_pmd.c:1410:2: error: statement with no effect [-Werror=unused-value]
dev_info->queue_priority[RTE_BBDEV_OP_MLDTS] = d->acc_conf.q_mld.num_qgroups;
^
../drivers/baseband/acc/rte_vrb_pmd.c:1412:32: error: comparison between pointer and integer [-Werror]
for (i = RTE_BBDEV_OP_NONE; i <= RTE_BBDEV_OP_MLDTS; i++)
^
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb2_fcw_ld_fill':
../drivers/baseband/acc/rte_vrb_pmd.c:1972:46: error: 'RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION' undeclared (first use in this function)
} else if (check_bit(op->ldpc_dec.op_flags, RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION)) {
^
../drivers/baseband/acc/rte_vrb_pmd.c:1972:2: error: passing argument 2 of 'check_bit' makes integer from pointer without a cast [-Werror]
} else if (check_bit(op->ldpc_dec.op_flags, RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION)) {
^
In file included from ../drivers/baseband/acc/vrb_pmd.h:8:0,
from ../drivers/baseband/acc/rte_vrb_pmd.c:22:
../drivers/baseband/acc/acc_common.h:691:1: note: expected 'uint32_t' but argument is of type 'const struct rte_bbdev_op_cap *'
check_bit(uint32_t bitmap, uint32_t bitmask)
^
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb_dequeue_enc_one_op_cb':
../drivers/baseband/acc/rte_vrb_pmd.c:3373:43: error: 'RTE_BBDEV_ENGINE_ERROR' undeclared (first use in this function)
op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
^
../drivers/baseband/acc/rte_vrb_pmd.c:3373:40: error: invalid operands to binary << (have 'int' and 'const struct rte_bbdev_op_cap *')
op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
^
../drivers/baseband/acc/rte_vrb_pmd.c:3373:13: error: invalid operands to binary | (have 'int' and 'const struct rte_bbdev_op_cap *')
op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
^
../drivers/baseband/acc/rte_vrb_pmd.c:3373:2: error: statement with no effect [-Werror=unused-value]
op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
^
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb2_dequeue_ldpc_enc_one_op_tb':
../drivers/baseband/acc/rte_vrb_pmd.c:3425:35: error: 'RTE_BBDEV_ENGINE_ERROR' undeclared (first use in this function)
op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
^
../drivers/baseband/acc/rte_vrb_pmd.c:3425:32: error: invalid operands to binary << (have 'int' and 'const struct rte_bbdev_op_cap *')
op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
^
../drivers/baseband/acc/rte_vrb_pmd.c:3425:13: error: invalid operands to binary | (have 'int' and 'const struct rte_bbdev_op_cap *')
op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
^
../drivers/baseband/acc/rte_vrb_pmd.c:3425:2: error: statement with no effect [-Werror=unused-value]
op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
^
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb_dequeue_enc_one_op_tb':
../drivers/baseband/acc/rte_vrb_pmd.c:3493:44: error: 'RTE_BBDEV_ENGINE_ERROR' undeclared (first use in this function)
op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
^
../drivers/baseband/acc/rte_vrb_pmd.c:3493:41: error: invalid operands to binary << (have 'int' and 'const struct rte_bbdev_op_cap *')
op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
^
../drivers/baseband/acc/rte_vrb_pmd.c:3493:14: error: invalid operands to binary | (have 'int' and 'const struct rte_bbdev_op_cap *')
op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
^
../drivers/baseband/acc/rte_vrb_pmd.c:3493:3: error: statement with no effect [-Werror=unused-value]
op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
^
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb_dequeue_dec_one_op_cb':
../drivers/baseband/acc/rte_vrb_pmd.c:3540:35: error: 'RTE_BBDEV_ENGINE_ERROR' undeclared (first use in this function)
op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
^
../drivers/baseband/acc/rte_vrb_pmd.c:3540:32: error: invalid operands to binary << (have 'int' and 'const struct rte_bbdev_op_cap *')
op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
^
../drivers/baseband/acc/rte_vrb_pmd.c:3540:13: error: invalid operands to binary | (have 'int' and 'const struct rte_bbdev_op_cap *')
op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
^
../drivers/baseband/acc/rte_vrb_pmd.c:3540:2: error: statement with no effect [-Werror=unused-value]
op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
^
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb_dequeue_ldpc_dec_one_op_cb':
../drivers/baseband/acc/rte_vrb_pmd.c:3595:35: error: 'RTE_BBDEV_ENGINE_ERROR' undeclared (first use in this function)
op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
^
../drivers/baseband/acc/rte_vrb_pmd.c:3595:32: error: invalid operands to binary << (have 'int' and 'const struct rte_bbdev_op_cap *')
op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
^
../drivers/baseband/acc/rte_vrb_pmd.c:3595:13: error: invalid operands to binary | (have 'int' and 'const struct rte_bbdev_op_cap *')
op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
^
../drivers/baseband/acc/rte_vrb_pmd.c:3595:2: error: statement with no effect [-Werror=unused-value]
op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
^
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb_dequeue_dec_one_op_tb':
../drivers/baseband/acc/rte_vrb_pmd.c:3677:44: error: 'RTE_BBDEV_ENGINE_ERROR' undeclared (first use in this function)
op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
^
../drivers/baseband/acc/rte_vrb_pmd.c:3677:41: error: invalid operands to binary << (have 'int' and 'const struct rte_bbdev_op_cap *')
op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
^
../drivers/baseband/acc/rte_vrb_pmd.c:3677:14: error: invalid operands to binary | (have 'int' and 'const struct rte_bbdev_op_cap *')
op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
^
../drivers/baseband/acc/rte_vrb_pmd.c:3677:3: error: statement with no effect [-Werror=unused-value]
op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
^
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb2_dma_desc_fft_fill':
../drivers/baseband/acc/rte_vrb_pmd.c:3990:44: error: 'RTE_BBDEV_FFT_DEWINDOWING' undeclared (first use in this function)
bool win_en = check_bit(op->fft.op_flags, RTE_BBDEV_FFT_DEWINDOWING);
^
../drivers/baseband/acc/rte_vrb_pmd.c:3990:2: error: passing argument 2 of 'check_bit' makes integer from pointer without a cast [-Werror]
bool win_en = check_bit(op->fft.op_flags, RTE_BBDEV_FFT_DEWINDOWING);
^
In file included from ../drivers/baseband/acc/vrb_pmd.h:8:0,
from ../drivers/baseband/acc/rte_vrb_pmd.c:22:
../drivers/baseband/acc/acc_common.h:691:1: note: expected 'uint32_t' but argument is of type 'const struct rte_bbdev_op_cap *'
check_bit(uint32_t bitmap, uint32_t bitmask)
^
../drivers/baseband/acc/rte_vrb_pmd.c:4016:18: error: 'RTE_BBDEV_MAX_CS' undeclared (first use in this function)
for (i = 0; i < RTE_BBDEV_MAX_CS; i++)
^
../drivers/baseband/acc/rte_vrb_pmd.c:4016:16: error: comparison between pointer and integer [-Werror]
for (i = 0; i < RTE_BBDEV_MAX_CS; i++)
^
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb_enqueue_fft_one_op':
../drivers/baseband/acc/rte_vrb_pmd.c:4049:15: error: 'struct rte_bbdev_op_fft' has no member named 'dewindowing_input'
win = op->fft.dewindowing_input.data;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4049:33: error: request for member 'data' in something not a structure or union
win = op->fft.dewindowing_input.data;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4049:6: error: assignment from incompatible pointer type [-Werror]
win = op->fft.dewindowing_input.data;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4053:22: error: 'struct rte_bbdev_op_fft' has no member named 'dewindowing_input'
win_offset = op->fft.dewindowing_input.offset;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4053:40: error: request for member 'offset' in something not a structure or union
win_offset = op->fft.dewindowing_input.offset;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4053:13: error: assignment makes integer from pointer without a cast [-Werror]
win_offset = op->fft.dewindowing_input.offset;
^
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb_dequeue_fft_one_op':
../drivers/baseband/acc/rte_vrb_pmd.c:4142:35: error: 'RTE_BBDEV_ENGINE_ERROR' undeclared (first use in this function)
op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4142:32: error: invalid operands to binary << (have 'int' and 'const struct rte_bbdev_op_cap *')
op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4142:13: error: invalid operands to binary | (have 'int' and 'const struct rte_bbdev_op_cap *')
op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4142:2: error: statement with no effect [-Werror=unused-value]
op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
^
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4192:59: error: 'struct rte_bbdev_mldts_op' declared inside parameter list [-Werror]
vrb2_fcw_mldts_fill(struct rte_bbdev_mldts_op *op, struct acc_fcw_mldts *fcw)
^
../drivers/baseband/acc/rte_vrb_pmd.c:4192:59: error: its scope is only this definition or declaration, which is probably not what you want [-Werror]
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb2_fcw_mldts_fill':
../drivers/baseband/acc/rte_vrb_pmd.c:4194:15: error: dereferencing pointer to incomplete type
fcw->nrb = op->mldts.num_rbs;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4194:15: error: request for member 'mldts' in something not a structure or union
../drivers/baseband/acc/rte_vrb_pmd.c:4194:22: error: request for member 'num_rbs' in something not a structure or union
fcw->nrb = op->mldts.num_rbs;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4194:11: error: assignment makes integer from pointer without a cast [-Werror]
fcw->nrb = op->mldts.num_rbs;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4195:19: error: dereferencing pointer to incomplete type
fcw->NLayers = op->mldts.num_layers - 1;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4195:19: error: request for member 'mldts' in something not a structure or union
../drivers/baseband/acc/rte_vrb_pmd.c:4195:26: error: request for member 'num_layers' in something not a structure or union
fcw->NLayers = op->mldts.num_layers - 1;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4195:15: error: assignment makes integer from pointer without a cast [-Werror]
fcw->NLayers = op->mldts.num_layers - 1;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4196:18: error: dereferencing pointer to incomplete type
fcw->Qmod0 = (op->mldts.q_m[0] >> 1) - 1;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4196:18: error: request for member 'mldts' in something not a structure or union
../drivers/baseband/acc/rte_vrb_pmd.c:4196:25: error: request for member 'q_m' in something not a structure or union
fcw->Qmod0 = (op->mldts.q_m[0] >> 1) - 1;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4196:33: error: invalid operands to binary >> (have 'const struct rte_bbdev_op_cap' and 'int')
fcw->Qmod0 = (op->mldts.q_m[0] >> 1) - 1;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4196:13: error: assignment makes integer from pointer without a cast [-Werror]
fcw->Qmod0 = (op->mldts.q_m[0] >> 1) - 1;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4197:18: error: dereferencing pointer to incomplete type
fcw->Qmod1 = (op->mldts.q_m[1] >> 1) - 1;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4197:18: error: request for member 'mldts' in something not a structure or union
../drivers/baseband/acc/rte_vrb_pmd.c:4197:25: error: request for member 'q_m' in something not a structure or union
fcw->Qmod1 = (op->mldts.q_m[1] >> 1) - 1;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4197:33: error: invalid operands to binary >> (have 'const struct rte_bbdev_op_cap' and 'int')
fcw->Qmod1 = (op->mldts.q_m[1] >> 1) - 1;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4197:13: error: assignment makes integer from pointer without a cast [-Werror]
fcw->Qmod1 = (op->mldts.q_m[1] >> 1) - 1;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4198:18: error: dereferencing pointer to incomplete type
fcw->Qmod2 = (op->mldts.q_m[2] >> 1) - 1;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4198:18: error: request for member 'mldts' in something not a structure or union
../drivers/baseband/acc/rte_vrb_pmd.c:4198:25: error: request for member 'q_m' in something not a structure or union
fcw->Qmod2 = (op->mldts.q_m[2] >> 1) - 1;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4198:33: error: invalid operands to binary >> (have 'const struct rte_bbdev_op_cap' and 'int')
fcw->Qmod2 = (op->mldts.q_m[2] >> 1) - 1;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4198:13: error: assignment makes integer from pointer without a cast [-Werror]
fcw->Qmod2 = (op->mldts.q_m[2] >> 1) - 1;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4199:18: error: dereferencing pointer to incomplete type
fcw->Qmod3 = (op->mldts.q_m[3] >> 1) - 1;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4199:18: error: request for member 'mldts' in something not a structure or union
../drivers/baseband/acc/rte_vrb_pmd.c:4199:25: error: request for member 'q_m' in something not a structure or union
fcw->Qmod3 = (op->mldts.q_m[3] >> 1) - 1;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4199:33: error: invalid operands to binary >> (have 'const struct rte_bbdev_op_cap' and 'int')
fcw->Qmod3 = (op->mldts.q_m[3] >> 1) - 1;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4199:13: error: assignment makes integer from pointer without a cast [-Werror]
fcw->Qmod3 = (op->mldts.q_m[3] >> 1) - 1;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4201:8: error: dereferencing pointer to incomplete type
if (op->mldts.num_layers == 2) {
^
../drivers/baseband/acc/rte_vrb_pmd.c:4201:8: error: request for member 'mldts' in something not a structure or union
../drivers/baseband/acc/rte_vrb_pmd.c:4201:15: error: request for member 'num_layers' in something not a structure or union
if (op->mldts.num_layers == 2) {
^
../drivers/baseband/acc/rte_vrb_pmd.c:4201:27: error: comparison between pointer and integer [-Werror]
if (op->mldts.num_layers == 2) {
^
../drivers/baseband/acc/rte_vrb_pmd.c:4205:8: error: dereferencing pointer to incomplete type
if (op->mldts.num_layers == 3)
^
../drivers/baseband/acc/rte_vrb_pmd.c:4205:8: error: request for member 'mldts' in something not a structure or union
../drivers/baseband/acc/rte_vrb_pmd.c:4205:15: error: request for member 'num_layers' in something not a structure or union
if (op->mldts.num_layers == 3)
^
../drivers/baseband/acc/rte_vrb_pmd.c:4205:27: error: comparison between pointer and integer [-Werror]
if (op->mldts.num_layers == 3)
^
../drivers/baseband/acc/rte_vrb_pmd.c:4207:16: error: dereferencing pointer to incomplete type
fcw->Rrep = op->mldts.r_rep;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4207:16: error: request for member 'mldts' in something not a structure or union
../drivers/baseband/acc/rte_vrb_pmd.c:4207:23: error: request for member 'r_rep' in something not a structure or union
fcw->Rrep = op->mldts.r_rep;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4207:12: error: assignment makes integer from pointer without a cast [-Werror]
fcw->Rrep = op->mldts.r_rep;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4208:16: error: dereferencing pointer to incomplete type
fcw->Crep = op->mldts.c_rep;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4208:16: error: request for member 'mldts' in something not a structure or union
../drivers/baseband/acc/rte_vrb_pmd.c:4208:23: error: request for member 'c_rep' in something not a structure or union
fcw->Crep = op->mldts.c_rep;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4208:12: error: assignment makes integer from pointer without a cast [-Werror]
fcw->Crep = op->mldts.c_rep;
^
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4217:3: error: 'struct rte_bbdev_mldts_op' declared inside parameter list [-Werror]
uint32_t *in_offset, uint32_t *out_offset)
^
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb2_dma_desc_mldts_fill':
../drivers/baseband/acc/rte_vrb_pmd.c:4226:8: error: dereferencing pointer to incomplete type
if (op->mldts.r_rep > 5)
^
../drivers/baseband/acc/rte_vrb_pmd.c:4226:8: error: request for member 'mldts' in something not a structure or union
../drivers/baseband/acc/rte_vrb_pmd.c:4226:15: error: request for member 'r_rep' in something not a structure or union
if (op->mldts.r_rep > 5)
^
../drivers/baseband/acc/rte_vrb_pmd.c:4226:22: error: comparison between pointer and integer [-Werror]
if (op->mldts.r_rep > 5)
^
../drivers/baseband/acc/rte_vrb_pmd.c:4227:5: error: dereferencing pointer to incomplete type
op->mldts.r_rep = 5;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4227:5: error: request for member 'mldts' in something not a structure or union
../drivers/baseband/acc/rte_vrb_pmd.c:4227:12: error: request for member 'r_rep' in something not a structure or union
op->mldts.r_rep = 5;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4227:3: error: statement with no effect [-Werror=unused-value]
op->mldts.r_rep = 5;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4228:8: error: dereferencing pointer to incomplete type
if (op->mldts.num_layers < 2)
^
../drivers/baseband/acc/rte_vrb_pmd.c:4228:8: error: request for member 'mldts' in something not a structure or union
../drivers/baseband/acc/rte_vrb_pmd.c:4228:15: error: request for member 'num_layers' in something not a structure or union
if (op->mldts.num_layers < 2)
^
../drivers/baseband/acc/rte_vrb_pmd.c:4228:27: error: comparison between pointer and integer [-Werror]
if (op->mldts.num_layers < 2)
^
../drivers/baseband/acc/rte_vrb_pmd.c:4229:5: error: dereferencing pointer to incomplete type
op->mldts.num_layers = 2;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4229:5: error: request for member 'mldts' in something not a structure or union
../drivers/baseband/acc/rte_vrb_pmd.c:4229:12: error: request for member 'num_layers' in something not a structure or union
op->mldts.num_layers = 2;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4229:3: error: statement with no effect [-Werror=unused-value]
op->mldts.num_layers = 2;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4230:8: error: dereferencing pointer to incomplete type
if (op->mldts.num_layers > 4)
^
../drivers/baseband/acc/rte_vrb_pmd.c:4230:8: error: request for member 'mldts' in something not a structure or union
../drivers/baseband/acc/rte_vrb_pmd.c:4230:15: error: request for member 'num_layers' in something not a structure or union
if (op->mldts.num_layers > 4)
^
../drivers/baseband/acc/rte_vrb_pmd.c:4230:27: error: comparison between pointer and integer [-Werror]
if (op->mldts.num_layers > 4)
^
../drivers/baseband/acc/rte_vrb_pmd.c:4231:5: error: dereferencing pointer to incomplete type
op->mldts.num_layers = 4;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4231:5: error: request for member 'mldts' in something not a structure or union
../drivers/baseband/acc/rte_vrb_pmd.c:4231:12: error: request for member 'num_layers' in something not a structure or union
op->mldts.num_layers = 4;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4231:3: error: statement with no effect [-Werror=unused-value]
op->mldts.num_layers = 4;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4232:20: error: dereferencing pointer to incomplete type
for (i = 0; i < op->mldts.num_layers; i++)
^
../drivers/baseband/acc/rte_vrb_pmd.c:4232:20: error: request for member 'mldts' in something not a structure or union
../drivers/baseband/acc/rte_vrb_pmd.c:4232:27: error: request for member 'num_layers' in something not a structure or union
for (i = 0; i < op->mldts.num_layers; i++)
^
../drivers/baseband/acc/rte_vrb_pmd.c:4232:16: error: comparison between pointer and integer [-Werror]
for (i = 0; i < op->mldts.num_layers; i++)
^
../drivers/baseband/acc/rte_vrb_pmd.c:4233:23: error: dereferencing pointer to incomplete type
outsize_per_re += op->mldts.q_m[i];
^
../drivers/baseband/acc/rte_vrb_pmd.c:4233:23: error: request for member 'mldts' in something not a structure or union
../drivers/baseband/acc/rte_vrb_pmd.c:4233:30: error: request for member 'q_m' in something not a structure or union
outsize_per_re += op->mldts.q_m[i];
^
../drivers/baseband/acc/rte_vrb_pmd.c:4233:18: error: invalid operands to binary + (have 'int' and 'const struct rte_bbdev_op_cap')
outsize_per_re += op->mldts.q_m[i];
^
../drivers/baseband/acc/rte_vrb_pmd.c:4233:3: error: statement with no effect [-Werror=unused-value]
outsize_per_re += op->mldts.q_m[i];
^
../drivers/baseband/acc/rte_vrb_pmd.c:4234:13: error: dereferencing pointer to incomplete type
sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB * (op->mldts.c_rep + 1);
^
../drivers/baseband/acc/rte_vrb_pmd.c:4234:13: error: request for member 'mldts' in something not a structure or union
../drivers/baseband/acc/rte_vrb_pmd.c:4234:20: error: request for member 'num_rbs' in something not a structure or union
sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB * (op->mldts.c_rep + 1);
^
../drivers/baseband/acc/rte_vrb_pmd.c:4234:31: error: 'RTE_BBDEV_SCPERRB' undeclared (first use in this function)
sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB * (op->mldts.c_rep + 1);
^
../drivers/baseband/acc/rte_vrb_pmd.c:4234:29: error: invalid operands to binary * (have 'const struct rte_bbdev_op_cap *' and 'const struct rte_bbdev_op_cap *')
sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB * (op->mldts.c_rep + 1);
^
../drivers/baseband/acc/rte_vrb_pmd.c:4234:54: error: dereferencing pointer to incomplete type
sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB * (op->mldts.c_rep + 1);
^
../drivers/baseband/acc/rte_vrb_pmd.c:4234:54: error: request for member 'mldts' in something not a structure or union
../drivers/baseband/acc/rte_vrb_pmd.c:4234:61: error: request for member 'c_rep' in something not a structure or union
sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB * (op->mldts.c_rep + 1);
^
../drivers/baseband/acc/rte_vrb_pmd.c:4234:49: error: invalid operands to binary * (have 'const struct rte_bbdev_op_cap *' and 'const struct rte_bbdev_op_cap *')
sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB * (op->mldts.c_rep + 1);
^
../drivers/baseband/acc/rte_vrb_pmd.c:4234:9: error: assignment makes integer from pointer without a cast [-Werror]
sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB * (op->mldts.c_rep + 1);
^
../drivers/baseband/acc/rte_vrb_pmd.c:4235:12: error: dereferencing pointer to incomplete type
r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
^
../drivers/baseband/acc/rte_vrb_pmd.c:4235:12: error: request for member 'mldts' in something not a structure or union
../drivers/baseband/acc/rte_vrb_pmd.c:4235:19: error: request for member 'num_rbs' in something not a structure or union
r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
^
../drivers/baseband/acc/rte_vrb_pmd.c:4235:51: error: dereferencing pointer to incomplete type
r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
^
../drivers/baseband/acc/rte_vrb_pmd.c:4235:51: error: request for member 'mldts' in something not a structure or union
../drivers/baseband/acc/rte_vrb_pmd.c:4235:58: error: request for member 'r_rep' in something not a structure or union
r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
^
../drivers/baseband/acc/rte_vrb_pmd.c:4235:48: error: array subscript is not an integer
r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
^
../drivers/baseband/acc/rte_vrb_pmd.c:4235:28: error: invalid operands to binary * (have 'const struct rte_bbdev_op_cap *' and 'const struct rte_bbdev_op_cap *')
r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
^
../drivers/baseband/acc/rte_vrb_pmd.c:4235:8: error: assignment makes integer from pointer without a cast [-Werror]
r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
^
../drivers/baseband/acc/rte_vrb_pmd.c:4236:26: error: dereferencing pointer to incomplete type
q_size = qsize_per_re[op->mldts.num_layers - 2] * sc_num;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4236:26: error: request for member 'mldts' in something not a structure or union
../drivers/baseband/acc/rte_vrb_pmd.c:4236:33: error: request for member 'num_layers' in something not a structure or union
q_size = qsize_per_re[op->mldts.num_layers - 2] * sc_num;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4236:23: error: array subscript is not an integer
q_size = qsize_per_re[op->mldts.num_layers - 2] * sc_num;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4236:50: error: invalid operands to binary * (have 'const struct rte_bbdev_op_cap *' and 'uint32_t')
q_size = qsize_per_re[op->mldts.num_layers - 2] * sc_num;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4236:9: error: assignment makes integer from pointer without a cast [-Werror]
q_size = qsize_per_re[op->mldts.num_layers - 2] * sc_num;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4237:26: error: dereferencing pointer to incomplete type
r_size = rsize_per_re[op->mldts.num_layers - 2] * r_num;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4237:26: error: request for member 'mldts' in something not a structure or union
../drivers/baseband/acc/rte_vrb_pmd.c:4237:33: error: request for member 'num_layers' in something not a structure or union
r_size = rsize_per_re[op->mldts.num_layers - 2] * r_num;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4237:23: error: array subscript is not an integer
r_size = rsize_per_re[op->mldts.num_layers - 2] * r_num;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4237:50: error: invalid operands to binary * (have 'const struct rte_bbdev_op_cap *' and 'uint32_t')
r_size = rsize_per_re[op->mldts.num_layers - 2] * r_num;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4237:9: error: assignment makes integer from pointer without a cast [-Werror]
r_size = rsize_per_re[op->mldts.num_layers - 2] * r_num;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4221:11: error: variable 'sc_factor_per_rrep' set but not used [-Werror=unused-but-set-variable]
uint16_t sc_factor_per_rrep[VRB2_MLD_RREP_SIZE] = {12, 6, 4, 3, 0, 2};
^
../drivers/baseband/acc/rte_vrb_pmd.c:4220:11: error: variable 'rsize_per_re' set but not used [-Werror=unused-but-set-variable]
uint16_t rsize_per_re[VRB2_MLD_LAY_SIZE] = {14, 26, 42};
^
../drivers/baseband/acc/rte_vrb_pmd.c:4219:11: error: variable 'qsize_per_re' set but not used [-Werror=unused-but-set-variable]
uint16_t qsize_per_re[VRB2_MLD_LAY_SIZE] = {8, 12, 16}; /* Layer 2 to 4. */
^
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4268:36: error: 'struct rte_bbdev_mldts_op' declared inside parameter list [-Werror]
vrb2_check_mld_r_constraint(struct rte_bbdev_mldts_op *op) {
^
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb2_check_mld_r_constraint':
../drivers/baseband/acc/rte_vrb_pmd.c:4275:8: error: dereferencing pointer to incomplete type
if (op->mldts.c_rep == 0)
^
../drivers/baseband/acc/rte_vrb_pmd.c:4275:8: error: request for member 'mldts' in something not a structure or union
../drivers/baseband/acc/rte_vrb_pmd.c:4275:15: error: request for member 'c_rep' in something not a structure or union
if (op->mldts.c_rep == 0)
^
In file included from ../drivers/baseband/acc/rte_vrb_pmd.c:7:0:
../drivers/baseband/acc/rte_vrb_pmd.c:4278:24: error: dereferencing pointer to incomplete type
layer_idx = RTE_MIN(op->mldts.num_layers - VRB2_MLD_MIN_LAYER,
^
../lib/eal/include/rte_common.h:615:11: note: in definition of macro 'RTE_MIN'
typeof (a) _a = (a); \
^
../drivers/baseband/acc/rte_vrb_pmd.c:4278:24: error: request for member 'mldts' in something not a structure or union
layer_idx = RTE_MIN(op->mldts.num_layers - VRB2_MLD_MIN_LAYER,
^
../lib/eal/include/rte_common.h:615:11: note: in definition of macro 'RTE_MIN'
typeof (a) _a = (a); \
^
../drivers/baseband/acc/rte_vrb_pmd.c:4278:31: error: request for member 'num_layers' in something not a structure or union
layer_idx = RTE_MIN(op->mldts.num_layers - VRB2_MLD_MIN_LAYER,
^
../lib/eal/include/rte_common.h:615:11: note: in definition of macro 'RTE_MIN'
typeof (a) _a = (a); \
^
../drivers/baseband/acc/rte_vrb_pmd.c:4278:24: error: dereferencing pointer to incomplete type
layer_idx = RTE_MIN(op->mldts.num_layers - VRB2_MLD_MIN_LAYER,
^
../lib/eal/include/rte_common.h:615:20: note: in definition of macro 'RTE_MIN'
typeof (a) _a = (a); \
^
../drivers/baseband/acc/rte_vrb_pmd.c:4278:24: error: request for member 'mldts' in something not a structure or union
layer_idx = RTE_MIN(op->mldts.num_layers - VRB2_MLD_MIN_LAYER,
^
../lib/eal/include/rte_common.h:615:20: note: in definition of macro 'RTE_MIN'
typeof (a) _a = (a); \
^
../drivers/baseband/acc/rte_vrb_pmd.c:4278:31: error: request for member 'num_layers' in something not a structure or union
layer_idx = RTE_MIN(op->mldts.num_layers - VRB2_MLD_MIN_LAYER,
^
../lib/eal/include/rte_common.h:615:20: note: in definition of macro 'RTE_MIN'
typeof (a) _a = (a); \
^
../lib/eal/include/rte_common.h:617:6: error: comparison between pointer and integer [-Werror]
_a < _b ? _a : _b; \
^
../drivers/baseband/acc/rte_vrb_pmd.c:4278:14: note: in expansion of macro 'RTE_MIN'
layer_idx = RTE_MIN(op->mldts.num_layers - VRB2_MLD_MIN_LAYER,
^
../lib/eal/include/rte_common.h:617:16: error: pointer/integer type mismatch in conditional expression [-Werror]
_a < _b ? _a : _b; \
^
../drivers/baseband/acc/rte_vrb_pmd.c:4278:14: note: in expansion of macro 'RTE_MIN'
layer_idx = RTE_MIN(op->mldts.num_layers - VRB2_MLD_MIN_LAYER,
^
../drivers/baseband/acc/rte_vrb_pmd.c:4278:12: error: assignment makes integer from pointer without a cast [-Werror]
layer_idx = RTE_MIN(op->mldts.num_layers - VRB2_MLD_MIN_LAYER,
^
In file included from ../drivers/baseband/acc/rte_vrb_pmd.c:7:0:
../drivers/baseband/acc/rte_vrb_pmd.c:4280:23: error: dereferencing pointer to incomplete type
rrep_idx = RTE_MIN(op->mldts.r_rep, VRB2_MLD_MAX_RREP);
^
../lib/eal/include/rte_common.h:615:11: note: in definition of macro 'RTE_MIN'
typeof (a) _a = (a); \
^
../drivers/baseband/acc/rte_vrb_pmd.c:4280:23: error: request for member 'mldts' in something not a structure or union
rrep_idx = RTE_MIN(op->mldts.r_rep, VRB2_MLD_MAX_RREP);
^
../lib/eal/include/rte_common.h:615:11: note: in definition of macro 'RTE_MIN'
typeof (a) _a = (a); \
^
../drivers/baseband/acc/rte_vrb_pmd.c:4280:30: error: request for member 'r_rep' in something not a structure or union
rrep_idx = RTE_MIN(op->mldts.r_rep, VRB2_MLD_MAX_RREP);
^
../lib/eal/include/rte_common.h:615:11: note: in definition of macro 'RTE_MIN'
typeof (a) _a = (a); \
^
../drivers/baseband/acc/rte_vrb_pmd.c:4280:23: error: dereferencing pointer to incomplete type
rrep_idx = RTE_MIN(op->mldts.r_rep, VRB2_MLD_MAX_RREP);
^
../lib/eal/include/rte_common.h:615:20: note: in definition of macro 'RTE_MIN'
typeof (a) _a = (a); \
^
../drivers/baseband/acc/rte_vrb_pmd.c:4280:23: error: request for member 'mldts' in something not a structure or union
rrep_idx = RTE_MIN(op->mldts.r_rep, VRB2_MLD_MAX_RREP);
^
../lib/eal/include/rte_common.h:615:20: note: in definition of macro 'RTE_MIN'
typeof (a) _a = (a); \
^
../drivers/baseband/acc/rte_vrb_pmd.c:4280:30: error: request for member 'r_rep' in something not a structure or union
rrep_idx = RTE_MIN(op->mldts.r_rep, VRB2_MLD_MAX_RREP);
^
../lib/eal/include/rte_common.h:615:20: note: in definition of macro 'RTE_MIN'
typeof (a) _a = (a); \
^
../drivers/baseband/acc/rte_vrb_pmd.c:4280:2: error: invalid initializer
rrep_idx = RTE_MIN(op->mldts.r_rep, VRB2_MLD_MAX_RREP);
^
In file included from ../drivers/baseband/acc/rte_vrb_pmd.c:7:0:
../lib/eal/include/rte_common.h:617:6: error: comparison between pointer and integer [-Werror]
_a < _b ? _a : _b; \
^
../drivers/baseband/acc/rte_vrb_pmd.c:4280:13: note: in expansion of macro 'RTE_MIN'
rrep_idx = RTE_MIN(op->mldts.r_rep, VRB2_MLD_MAX_RREP);
^
../lib/eal/include/rte_common.h:617:16: error: pointer/integer type mismatch in conditional expression [-Werror]
_a < _b ? _a : _b; \
^
../drivers/baseband/acc/rte_vrb_pmd.c:4280:13: note: in expansion of macro 'RTE_MIN'
rrep_idx = RTE_MIN(op->mldts.r_rep, VRB2_MLD_MAX_RREP);
^
../drivers/baseband/acc/rte_vrb_pmd.c:4280:11: error: assignment makes integer from pointer without a cast [-Werror]
rrep_idx = RTE_MIN(op->mldts.r_rep, VRB2_MLD_MAX_RREP);
^
../drivers/baseband/acc/rte_vrb_pmd.c:4284:12: error: dereferencing pointer to incomplete type
return (op->mldts.num_rbs <= max_rb[layer_idx][rrep_idx]);
^
../drivers/baseband/acc/rte_vrb_pmd.c:4284:12: error: request for member 'mldts' in something not a structure or union
../drivers/baseband/acc/rte_vrb_pmd.c:4284:19: error: request for member 'num_rbs' in something not a structure or union
return (op->mldts.num_rbs <= max_rb[layer_idx][rrep_idx]);
^
../drivers/baseband/acc/rte_vrb_pmd.c:4284:28: error: comparison between pointer and integer [-Werror]
return (op->mldts.num_rbs <= max_rb[layer_idx][rrep_idx]);
^
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4290:3: error: 'struct rte_bbdev_mldts_op' declared inside parameter list [-Werror]
uint16_t total_enqueued_descs)
^
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'enqueue_mldts_split_op':
../drivers/baseband/acc/rte_vrb_pmd.c:4304:14: error: dereferencing pointer to incomplete type
input_q = op->mldts.qhy_input.data;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4304:14: error: request for member 'mldts' in something not a structure or union
../drivers/baseband/acc/rte_vrb_pmd.c:4304:21: error: request for member 'qhy_input' in something not a structure or union
input_q = op->mldts.qhy_input.data;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4304:31: error: request for member 'data' in something not a structure or union
input_q = op->mldts.qhy_input.data;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4304:10: error: assignment from incompatible pointer type [-Werror]
input_q = op->mldts.qhy_input.data;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4305:14: error: dereferencing pointer to incomplete type
input_r = op->mldts.r_input.data;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4305:14: error: request for member 'mldts' in something not a structure or union
../drivers/baseband/acc/rte_vrb_pmd.c:4305:21: error: request for member 'r_input' in something not a structure or union
input_r = op->mldts.r_input.data;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4305:29: error: request for member 'data' in something not a structure or union
input_r = op->mldts.r_input.data;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4305:10: error: assignment from incompatible pointer type [-Werror]
input_r = op->mldts.r_input.data;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4306:13: error: dereferencing pointer to incomplete type
output = op->mldts.output.data;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4306:13: error: request for member 'mldts' in something not a structure or union
../drivers/baseband/acc/rte_vrb_pmd.c:4306:20: error: request for member 'output' in something not a structure or union
output = op->mldts.output.data;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4306:27: error: request for member 'data' in something not a structure or union
output = op->mldts.output.data;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4306:9: error: assignment from incompatible pointer type [-Werror]
output = op->mldts.output.data;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4307:16: error: dereferencing pointer to incomplete type
in_offset = op->mldts.qhy_input.offset;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4307:16: error: request for member 'mldts' in something not a structure or union
../drivers/baseband/acc/rte_vrb_pmd.c:4307:23: error: request for member 'qhy_input' in something not a structure or union
in_offset = op->mldts.qhy_input.offset;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4307:33: error: request for member 'offset' in something not a structure or union
in_offset = op->mldts.qhy_input.offset;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4307:12: error: assignment makes integer from pointer without a cast [-Werror]
in_offset = op->mldts.qhy_input.offset;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4308:17: error: dereferencing pointer to incomplete type
out_offset = op->mldts.output.offset;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4308:17: error: request for member 'mldts' in something not a structure or union
../drivers/baseband/acc/rte_vrb_pmd.c:4308:24: error: request for member 'output' in something not a structure or union
out_offset = op->mldts.output.offset;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4308:31: error: request for member 'offset' in something not a structure or union
out_offset = op->mldts.output.offset;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4308:13: error: assignment makes integer from pointer without a cast [-Werror]
out_offset = op->mldts.output.offset;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4309:15: error: dereferencing pointer to incomplete type
num_syms = op->mldts.c_rep + 1;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4309:15: error: request for member 'mldts' in something not a structure or union
../drivers/baseband/acc/rte_vrb_pmd.c:4309:22: error: request for member 'c_rep' in something not a structure or union
num_syms = op->mldts.c_rep + 1;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4309:11: error: assignment makes integer from pointer without a cast [-Werror]
num_syms = op->mldts.c_rep + 1;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4311:2: error: passing argument 1 of 'vrb2_fcw_mldts_fill' from incompatible pointer type [-Werror]
vrb2_fcw_mldts_fill(op, fcw);
^
../drivers/baseband/acc/rte_vrb_pmd.c:4192:1: note: expected 'struct rte_bbdev_mldts_op *' but argument is of type 'struct rte_bbdev_mldts_op *'
vrb2_fcw_mldts_fill(struct rte_bbdev_mldts_op *op, struct acc_fcw_mldts *fcw)
^
../drivers/baseband/acc/rte_vrb_pmd.c:4315:8: error: dereferencing pointer to incomplete type
if (op->mldts.r_rep > 5)
^
../drivers/baseband/acc/rte_vrb_pmd.c:4315:8: error: request for member 'mldts' in something not a structure or union
../drivers/baseband/acc/rte_vrb_pmd.c:4315:15: error: request for member 'r_rep' in something not a structure or union
if (op->mldts.r_rep > 5)
^
../drivers/baseband/acc/rte_vrb_pmd.c:4315:22: error: comparison between pointer and integer [-Werror]
if (op->mldts.r_rep > 5)
^
../drivers/baseband/acc/rte_vrb_pmd.c:4316:5: error: dereferencing pointer to incomplete type
op->mldts.r_rep = 5;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4316:5: error: request for member 'mldts' in something not a structure or union
../drivers/baseband/acc/rte_vrb_pmd.c:4316:12: error: request for member 'r_rep' in something not a structure or union
op->mldts.r_rep = 5;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4316:3: error: statement with no effect [-Werror=unused-value]
op->mldts.r_rep = 5;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4317:8: error: dereferencing pointer to incomplete type
if (op->mldts.num_layers < 2)
^
../drivers/baseband/acc/rte_vrb_pmd.c:4317:8: error: request for member 'mldts' in something not a structure or union
../drivers/baseband/acc/rte_vrb_pmd.c:4317:15: error: request for member 'num_layers' in something not a structure or union
if (op->mldts.num_layers < 2)
^
../drivers/baseband/acc/rte_vrb_pmd.c:4317:27: error: comparison between pointer and integer [-Werror]
if (op->mldts.num_layers < 2)
^
../drivers/baseband/acc/rte_vrb_pmd.c:4318:5: error: dereferencing pointer to incomplete type
op->mldts.num_layers = 2;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4318:5: error: request for member 'mldts' in something not a structure or union
../drivers/baseband/acc/rte_vrb_pmd.c:4318:12: error: request for member 'num_layers' in something not a structure or union
op->mldts.num_layers = 2;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4318:3: error: statement with no effect [-Werror=unused-value]
op->mldts.num_layers = 2;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4319:8: error: dereferencing pointer to incomplete type
if (op->mldts.num_layers > 4)
^
../drivers/baseband/acc/rte_vrb_pmd.c:4319:8: error: request for member 'mldts' in something not a structure or union
../drivers/baseband/acc/rte_vrb_pmd.c:4319:15: error: request for member 'num_layers' in something not a structure or union
if (op->mldts.num_layers > 4)
^
../drivers/baseband/acc/rte_vrb_pmd.c:4319:27: error: comparison between pointer and integer [-Werror]
if (op->mldts.num_layers > 4)
^
../drivers/baseband/acc/rte_vrb_pmd.c:4320:5: error: dereferencing pointer to incomplete type
op->mldts.num_layers = 4;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4320:5: error: request for member 'mldts' in something not a structure or union
../drivers/baseband/acc/rte_vrb_pmd.c:4320:12: error: request for member 'num_layers' in something not a structure or union
op->mldts.num_layers = 4;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4320:3: error: statement with no effect [-Werror=unused-value]
op->mldts.num_layers = 4;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4322:20: error: dereferencing pointer to incomplete type
for (i = 0; i < op->mldts.num_layers; i++)
^
../drivers/baseband/acc/rte_vrb_pmd.c:4322:20: error: request for member 'mldts' in something not a structure or union
../drivers/baseband/acc/rte_vrb_pmd.c:4322:27: error: request for member 'num_layers' in something not a structure or union
for (i = 0; i < op->mldts.num_layers; i++)
^
../drivers/baseband/acc/rte_vrb_pmd.c:4322:16: error: comparison between pointer and integer [-Werror]
for (i = 0; i < op->mldts.num_layers; i++)
^
../drivers/baseband/acc/rte_vrb_pmd.c:4323:23: error: dereferencing pointer to incomplete type
outsize_per_re += op->mldts.q_m[i];
^
../drivers/baseband/acc/rte_vrb_pmd.c:4323:23: error: request for member 'mldts' in something not a structure or union
../drivers/baseband/acc/rte_vrb_pmd.c:4323:30: error: request for member 'q_m' in something not a structure or union
outsize_per_re += op->mldts.q_m[i];
^
../drivers/baseband/acc/rte_vrb_pmd.c:4323:18: error: invalid operands to binary + (have 'uint32_t' and 'const struct rte_bbdev_op_cap')
outsize_per_re += op->mldts.q_m[i];
^
../drivers/baseband/acc/rte_vrb_pmd.c:4323:3: error: statement with no effect [-Werror=unused-value]
outsize_per_re += op->mldts.q_m[i];
^
../drivers/baseband/acc/rte_vrb_pmd.c:4324:13: error: dereferencing pointer to incomplete type
sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB; /* C rep forced to zero. */
^
../drivers/baseband/acc/rte_vrb_pmd.c:4324:13: error: request for member 'mldts' in something not a structure or union
../drivers/baseband/acc/rte_vrb_pmd.c:4324:20: error: request for member 'num_rbs' in something not a structure or union
sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB; /* C rep forced to zero. */
^
../drivers/baseband/acc/rte_vrb_pmd.c:4324:31: error: 'RTE_BBDEV_SCPERRB' undeclared (first use in this function)
sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB; /* C rep forced to zero. */
^
../drivers/baseband/acc/rte_vrb_pmd.c:4324:29: error: invalid operands to binary * (have 'const struct rte_bbdev_op_cap *' and 'const struct rte_bbdev_op_cap *')
sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB; /* C rep forced to zero. */
^
../drivers/baseband/acc/rte_vrb_pmd.c:4324:9: error: assignment makes integer from pointer without a cast [-Werror]
sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB; /* C rep forced to zero. */
^
../drivers/baseband/acc/rte_vrb_pmd.c:4325:12: error: dereferencing pointer to incomplete type
r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
^
../drivers/baseband/acc/rte_vrb_pmd.c:4325:12: error: request for member 'mldts' in something not a structure or union
../drivers/baseband/acc/rte_vrb_pmd.c:4325:19: error: request for member 'num_rbs' in something not a structure or union
r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
^
../drivers/baseband/acc/rte_vrb_pmd.c:4325:51: error: dereferencing pointer to incomplete type
r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
^
../drivers/baseband/acc/rte_vrb_pmd.c:4325:51: error: request for member 'mldts' in something not a structure or union
../drivers/baseband/acc/rte_vrb_pmd.c:4325:58: error: request for member 'r_rep' in something not a structure or union
r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
^
../drivers/baseband/acc/rte_vrb_pmd.c:4325:48: error: array subscript is not an integer
r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
^
../drivers/baseband/acc/rte_vrb_pmd.c:4325:28: error: invalid operands to binary * (have 'const struct rte_bbdev_op_cap *' and 'const struct rte_bbdev_op_cap *')
r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
^
../drivers/baseband/acc/rte_vrb_pmd.c:4325:8: error: assignment makes integer from pointer without a cast [-Werror]
r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
^
../drivers/baseband/acc/rte_vrb_pmd.c:4326:26: error: dereferencing pointer to incomplete type
q_size = qsize_per_re[op->mldts.num_layers - 2] * sc_num;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4326:26: error: request for member 'mldts' in something not a structure or union
../drivers/baseband/acc/rte_vrb_pmd.c:4326:33: error: request for member 'num_layers' in something not a structure or union
q_size = qsize_per_re[op->mldts.num_layers - 2] * sc_num;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4326:23: error: array subscript is not an integer
q_size = qsize_per_re[op->mldts.num_layers - 2] * sc_num;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4326:50: error: invalid operands to binary * (have 'const struct rte_bbdev_op_cap *' and 'uint32_t')
q_size = qsize_per_re[op->mldts.num_layers - 2] * sc_num;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4326:9: error: assignment makes integer from pointer without a cast [-Werror]
q_size = qsize_per_re[op->mldts.num_layers - 2] * sc_num;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4327:26: error: dereferencing pointer to incomplete type
r_size = rsize_per_re[op->mldts.num_layers - 2] * r_num;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4327:26: error: request for member 'mldts' in something not a structure or union
../drivers/baseband/acc/rte_vrb_pmd.c:4327:33: error: request for member 'num_layers' in something not a structure or union
r_size = rsize_per_re[op->mldts.num_layers - 2] * r_num;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4327:23: error: array subscript is not an integer
r_size = rsize_per_re[op->mldts.num_layers - 2] * r_num;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4327:50: error: invalid operands to binary * (have 'const struct rte_bbdev_op_cap *' and 'uint32_t')
r_size = rsize_per_re[op->mldts.num_layers - 2] * r_num;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4327:9: error: assignment makes integer from pointer without a cast [-Werror]
r_size = rsize_per_re[op->mldts.num_layers - 2] * r_num;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4294:11: error: variable 'sc_factor_per_rrep' set but not used [-Werror=unused-but-set-variable]
uint16_t sc_factor_per_rrep[VRB2_MLD_RREP_SIZE] = {12, 6, 4, 3, 0, 2};
^
../drivers/baseband/acc/rte_vrb_pmd.c:4293:11: error: variable 'rsize_per_re' set but not used [-Werror=unused-but-set-variable]
uint16_t rsize_per_re[VRB2_MLD_LAY_SIZE] = {14, 26, 42};
^
../drivers/baseband/acc/rte_vrb_pmd.c:4292:11: error: variable 'qsize_per_re' set but not used [-Werror=unused-but-set-variable]
uint16_t qsize_per_re[VRB2_MLD_LAY_SIZE] = {8, 12, 16}; /* Layer 2 to 4. */
^
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4372:3: error: 'struct rte_bbdev_mldts_op' declared inside parameter list [-Werror]
uint16_t total_enqueued_descs)
^
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'enqueue_mldts_one_op':
../drivers/baseband/acc/rte_vrb_pmd.c:4382:14: error: dereferencing pointer to incomplete type
input_q = op->mldts.qhy_input.data;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4382:14: error: request for member 'mldts' in something not a structure or union
../drivers/baseband/acc/rte_vrb_pmd.c:4382:21: error: request for member 'qhy_input' in something not a structure or union
input_q = op->mldts.qhy_input.data;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4382:31: error: request for member 'data' in something not a structure or union
input_q = op->mldts.qhy_input.data;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4382:10: error: assignment from incompatible pointer type [-Werror]
input_q = op->mldts.qhy_input.data;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4383:14: error: dereferencing pointer to incomplete type
input_r = op->mldts.r_input.data;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4383:14: error: request for member 'mldts' in something not a structure or union
../drivers/baseband/acc/rte_vrb_pmd.c:4383:21: error: request for member 'r_input' in something not a structure or union
input_r = op->mldts.r_input.data;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4383:29: error: request for member 'data' in something not a structure or union
input_r = op->mldts.r_input.data;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4383:10: error: assignment from incompatible pointer type [-Werror]
input_r = op->mldts.r_input.data;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4384:13: error: dereferencing pointer to incomplete type
output = op->mldts.output.data;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4384:13: error: request for member 'mldts' in something not a structure or union
../drivers/baseband/acc/rte_vrb_pmd.c:4384:20: error: request for member 'output' in something not a structure or union
output = op->mldts.output.data;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4384:27: error: request for member 'data' in something not a structure or union
output = op->mldts.output.data;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4384:9: error: assignment from incompatible pointer type [-Werror]
output = op->mldts.output.data;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4385:16: error: dereferencing pointer to incomplete type
in_offset = op->mldts.qhy_input.offset;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4385:16: error: request for member 'mldts' in something not a structure or union
../drivers/baseband/acc/rte_vrb_pmd.c:4385:23: error: request for member 'qhy_input' in something not a structure or union
in_offset = op->mldts.qhy_input.offset;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4385:33: error: request for member 'offset' in something not a structure or union
in_offset = op->mldts.qhy_input.offset;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4385:12: error: assignment makes integer from pointer without a cast [-Werror]
in_offset = op->mldts.qhy_input.offset;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4386:17: error: dereferencing pointer to incomplete type
out_offset = op->mldts.output.offset;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4386:17: error: request for member 'mldts' in something not a structure or union
../drivers/baseband/acc/rte_vrb_pmd.c:4386:24: error: request for member 'output' in something not a structure or union
out_offset = op->mldts.output.offset;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4386:31: error: request for member 'offset' in something not a structure or union
out_offset = op->mldts.output.offset;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4386:13: error: assignment makes integer from pointer without a cast [-Werror]
out_offset = op->mldts.output.offset;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4388:2: error: passing argument 1 of 'vrb2_fcw_mldts_fill' from incompatible pointer type [-Werror]
vrb2_fcw_mldts_fill(op, fcw);
^
../drivers/baseband/acc/rte_vrb_pmd.c:4192:1: note: expected 'struct rte_bbdev_mldts_op *' but argument is of type 'struct rte_bbdev_mldts_op *'
vrb2_fcw_mldts_fill(struct rte_bbdev_mldts_op *op, struct acc_fcw_mldts *fcw)
^
../drivers/baseband/acc/rte_vrb_pmd.c:4390:4: error: passing argument 1 of 'vrb2_dma_desc_mldts_fill' from incompatible pointer type [-Werror]
&in_offset, &out_offset);
^
../drivers/baseband/acc/rte_vrb_pmd.c:4213:1: note: expected 'struct rte_bbdev_mldts_op *' but argument is of type 'struct rte_bbdev_mldts_op *'
vrb2_dma_desc_mldts_fill(struct rte_bbdev_mldts_op *op,
^
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4401:10: error: 'struct rte_bbdev_mldts_op' declared inside parameter list [-Werror]
struct rte_bbdev_mldts_op **ops, uint16_t num)
^
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb2_enqueue_mldts':
../drivers/baseband/acc/rte_vrb_pmd.c:4415:3: error: passing argument 1 of 'vrb2_check_mld_r_constraint' from incompatible pointer type [-Werror]
as_one_op = vrb2_check_mld_r_constraint(ops[i]);
^
../drivers/baseband/acc/rte_vrb_pmd.c:4268:1: note: expected 'struct rte_bbdev_mldts_op *' but argument is of type 'struct rte_bbdev_mldts_op *'
vrb2_check_mld_r_constraint(struct rte_bbdev_mldts_op *op) {
^
../drivers/baseband/acc/rte_vrb_pmd.c:4416:39: error: dereferencing pointer to incomplete type
descs_in_op = as_one_op ? 1 : ops[i]->mldts.c_rep + 1;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4416:39: error: request for member 'mldts' in something not a structure or union
../drivers/baseband/acc/rte_vrb_pmd.c:4416:46: error: request for member 'c_rep' in something not a structure or union
descs_in_op = as_one_op ? 1 : ops[i]->mldts.c_rep + 1;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4416:31: error: pointer/integer type mismatch in conditional expression [-Werror]
descs_in_op = as_one_op ? 1 : ops[i]->mldts.c_rep + 1;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4416:15: error: assignment makes integer from pointer without a cast [-Werror]
descs_in_op = as_one_op ? 1 : ops[i]->mldts.c_rep + 1;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4426:4: error: passing argument 2 of 'enqueue_mldts_one_op' from incompatible pointer type [-Werror]
ret = enqueue_mldts_one_op(q, ops[i], enqueued_descs);
^
../drivers/baseband/acc/rte_vrb_pmd.c:4371:1: note: expected 'struct rte_bbdev_mldts_op *' but argument is of type 'struct rte_bbdev_mldts_op *'
enqueue_mldts_one_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
^
../drivers/baseband/acc/rte_vrb_pmd.c:4428:4: error: passing argument 2 of 'enqueue_mldts_split_op' from incompatible pointer type [-Werror]
ret = enqueue_mldts_split_op(q, ops[i], enqueued_descs);
^
../drivers/baseband/acc/rte_vrb_pmd.c:4289:1: note: expected 'struct rte_bbdev_mldts_op *' but argument is of type 'struct rte_bbdev_mldts_op *'
enqueue_mldts_split_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
^
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4456:3: error: 'struct rte_bbdev_mldts_op' declared inside parameter list [-Werror]
uint16_t dequeued_ops, uint32_t *aq_dequeued)
^
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'dequeue_mldts_one_op':
../drivers/baseband/acc/rte_vrb_pmd.c:4499:4: error: dereferencing pointer to incomplete type
op->status = 0;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4499:4: error: request for member 'status' in something not a structure or union
../drivers/baseband/acc/rte_vrb_pmd.c:4499:2: error: statement with no effect [-Werror=unused-value]
op->status = 0;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4505:5: error: dereferencing pointer to incomplete type
op->status |= rsp.input_err << RTE_BBDEV_DATA_ERROR;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4505:5: error: request for member 'status' in something not a structure or union
../drivers/baseband/acc/rte_vrb_pmd.c:4505:3: error: statement with no effect [-Werror=unused-value]
op->status |= rsp.input_err << RTE_BBDEV_DATA_ERROR;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4506:5: error: dereferencing pointer to incomplete type
op->status |= rsp.dma_err << RTE_BBDEV_DRV_ERROR;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4506:5: error: request for member 'status' in something not a structure or union
../drivers/baseband/acc/rte_vrb_pmd.c:4506:3: error: statement with no effect [-Werror=unused-value]
op->status |= rsp.dma_err << RTE_BBDEV_DRV_ERROR;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4507:5: error: dereferencing pointer to incomplete type
op->status |= rsp.fcw_err << RTE_BBDEV_DRV_ERROR;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4507:5: error: request for member 'status' in something not a structure or union
../drivers/baseband/acc/rte_vrb_pmd.c:4507:3: error: statement with no effect [-Werror=unused-value]
op->status |= rsp.fcw_err << RTE_BBDEV_DRV_ERROR;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4508:5: error: dereferencing pointer to incomplete type
op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4508:5: error: request for member 'status' in something not a structure or union
../drivers/baseband/acc/rte_vrb_pmd.c:4508:36: error: 'RTE_BBDEV_ENGINE_ERROR' undeclared (first use in this function)
op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4508:33: error: invalid operands to binary << (have 'int' and 'const struct rte_bbdev_op_cap *')
op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4508:3: error: statement with no effect [-Werror=unused-value]
op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4511:8: error: dereferencing pointer to incomplete type
if (op->status != 0)
^
../drivers/baseband/acc/rte_vrb_pmd.c:4511:8: error: request for member 'status' in something not a structure or union
../drivers/baseband/acc/rte_vrb_pmd.c:4513:8: error: dereferencing pointer to incomplete type
if (op->status & (1 << RTE_BBDEV_DRV_ERROR))
^
../drivers/baseband/acc/rte_vrb_pmd.c:4513:8: error: request for member 'status' in something not a structure or union
../drivers/baseband/acc/rte_vrb_pmd.c:4513:17: error: invalid operands to binary & (have 'const struct rte_bbdev_op_cap *' and 'int')
if (op->status & (1 << RTE_BBDEV_DRV_ERROR))
^
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4531:10: error: 'struct rte_bbdev_mldts_op' declared inside parameter list [-Werror]
struct rte_bbdev_mldts_op **ops, uint16_t num)
^
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb2_dequeue_mldts':
../drivers/baseband/acc/rte_vrb_pmd.c:4542:3: error: passing argument 3 of 'dequeue_mldts_one_op' from incompatible pointer type [-Werror]
ret = dequeue_mldts_one_op(q_data, q, &ops[i], dequeued_cbs, &aq_dequeued);
^
../drivers/baseband/acc/rte_vrb_pmd.c:4454:1: note: expected 'struct rte_bbdev_mldts_op **' but argument is of type 'struct rte_bbdev_mldts_op **'
dequeue_mldts_one_op(struct rte_bbdev_queue_data *q_data,
^
../drivers/baseband/acc/rte_vrb_pmd.c: In function 'vrb_bbdev_init':
../drivers/baseband/acc/rte_vrb_pmd.c:4573:5: error: 'struct rte_bbdev' has no member named 'enqueue_mldts_ops'
dev->enqueue_mldts_ops = vrb2_enqueue_mldts;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4573:2: error: statement with no effect [-Werror=unused-value]
dev->enqueue_mldts_ops = vrb2_enqueue_mldts;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4574:5: error: 'struct rte_bbdev' has no member named 'dequeue_mldts_ops'
dev->dequeue_mldts_ops = vrb2_dequeue_mldts;
^
../drivers/baseband/acc/rte_vrb_pmd.c:4574:2: error: statement with no effect [-Werror=unused-value]
dev->dequeue_mldts_ops = vrb2_dequeue_mldts;
^
cc1: all warnings being treated as errors
[2226/2754] Compiling C object drivers/libtmp_rte_baseband_la12xx.a.p/baseband_la12xx_bbdev_la12xx.c.o
[2227/2754] Compiling C object drivers/libtmp_rte_baseband_fpga_lte_fec.a.p/baseband_fpga_lte_fec_fpga_lte_fec.c.o
[2228/2754] Compiling C object drivers/libtmp_rte_event_sw.a.p/event_sw_sw_evdev_selftest.c.o
[2229/2754] Compiling C object drivers/libtmp_rte_baseband_fpga_5gnr_fec.a.p/baseband_fpga_5gnr_fec_rte_fpga_5gnr_fec.c.o
[2230/2754] Compiling C object drivers/libtmp_rte_baseband_null.a.p/baseband_null_bbdev_null.c.o
[2231/2754] Compiling C object drivers/libtmp_rte_event_octeontx.a.p/event_octeontx_ssovf_evdev_selftest.c.o
[2232/2754] Compiling C object drivers/libtmp_rte_event_octeontx.a.p/event_octeontx_ssovf_worker.c.o
[2233/2754] Compiling C object drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_acc100_pmd.c.o
[2234/2754] Compiling C object drivers/libtmp_rte_crypto_octeontx.a.p/crypto_octeontx_otx_cryptodev_ops.c.o
ninja: build stopped
*Build Failed #21:
OS: RHEL92-64Rt
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o
gcc -Idrivers/libtmp_rte_baseband_acc.a.p -Idrivers -I../drivers -Idrivers/baseband/acc -I../drivers/baseband/acc -Ilib/bbdev -I../lib/bbdev -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/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -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-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.bb.acc -MD -MQ drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o -MF drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o.d -o drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o -c ../drivers/baseband/acc/rte_vrb_pmd.c
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_queue_setup’:
../drivers/baseband/acc/rte_vrb_pmd.c:1037:36: error: ‘RTE_BBDEV_OP_MLDTS’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_OP_FFT’?
1037 | else if (conf->op_type == RTE_BBDEV_OP_MLDTS)
| ^~~~~~~~~~~~~~~~~~
| RTE_BBDEV_OP_FFT
../drivers/baseband/acc/rte_vrb_pmd.c:1037:36: note: each undeclared identifier is reported only once for each function it appears in
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_print_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:1095:31: error: ‘RTE_BBDEV_OP_MLDTS’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_OP_FFT’?
1095 | } else if (op_type == RTE_BBDEV_OP_MLDTS) {
| ^~~~~~~~~~~~~~~~~~
| RTE_BBDEV_OP_FFT
In file included from ../drivers/baseband/acc/rte_vrb_pmd.c:22:
../drivers/baseband/acc/rte_vrb_pmd.c:1099:41: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
1099 | op_mldts->mldts.num_rbs, op_mldts->mldts.num_layers,
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro ‘rte_bbdev_log’
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1099:66: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
1099 | op_mldts->mldts.num_rbs, op_mldts->mldts.num_layers,
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro ‘rte_bbdev_log’
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1100:41: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
1100 | op_mldts->mldts.r_rep,
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro ‘rte_bbdev_log’
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1101:41: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
1101 | op_mldts->mldts.c_rep, op_mldts->mldts.op_flags);
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro ‘rte_bbdev_log’
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1101:64: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
1101 | op_mldts->mldts.c_rep, op_mldts->mldts.op_flags);
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro ‘rte_bbdev_log’
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dev_info_get’:
../drivers/baseband/acc/rte_vrb_pmd.c:1332:33: error: ‘RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION’?
1332 | RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION
../drivers/baseband/acc/rte_vrb_pmd.c:1366:35: error: ‘RTE_BBDEV_OP_MLDTS’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_OP_FFT’?
1366 | .type = RTE_BBDEV_OP_MLDTS,
| ^~~~~~~~~~~~~~~~~~
| RTE_BBDEV_OP_FFT
../drivers/baseband/acc/rte_vrb_pmd.c:1369:49: error: ‘RTE_BBDEV_MLDTS_REP’ undeclared (first use in this function)
1369 | RTE_BBDEV_MLDTS_REP,
| ^~~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_fcw_ld_fill’:
../drivers/baseband/acc/rte_vrb_pmd.c:1972:53: error: ‘RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION’?
1972 | } else if (check_bit(op->ldpc_dec.op_flags, RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION)) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_enc_one_op_cb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3373:50: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
3373 | op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_dequeue_ldpc_enc_one_op_tb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3425:42: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
3425 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_enc_one_op_tb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3493:58: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
3493 | op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_dec_one_op_cb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3540:42: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
3540 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_ldpc_dec_one_op_cb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3595:42: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
3595 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_dec_one_op_tb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3677:58: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
3677 | op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_dma_desc_fft_fill’:
../drivers/baseband/acc/rte_vrb_pmd.c:3990:51: error: ‘RTE_BBDEV_FFT_DEWINDOWING’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_FFT_WINDOWING’?
3990 | bool win_en = check_bit(op->fft.op_flags, RTE_BBDEV_FFT_DEWINDOWING);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_FFT_WINDOWING
../drivers/baseband/acc/rte_vrb_pmd.c:4016:25: error: ‘RTE_BBDEV_MAX_CS’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_MAX_CS_2’?
4016 | for (i = 0; i < RTE_BBDEV_MAX_CS; i++)
| ^~~~~~~~~~~~~~~~
| RTE_BBDEV_MAX_CS_2
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_enqueue_fft_one_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4049:22: error: ‘struct rte_bbdev_op_fft’ has no member named ‘dewindowing_input’
4049 | win = op->fft.dewindowing_input.data;
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4053:29: error: ‘struct rte_bbdev_op_fft’ has no member named ‘dewindowing_input’
4053 | win_offset = op->fft.dewindowing_input.offset;
| ^
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_fft_one_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4142:42: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
4142 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4192:28: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4192 | vrb2_fcw_mldts_fill(struct rte_bbdev_mldts_op *op, struct acc_fcw_mldts *fcw)
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_fcw_mldts_fill’:
../drivers/baseband/acc/rte_vrb_pmd.c:4194:22: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4194 | fcw->nrb = op->mldts.num_rbs;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4195:26: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4195 | fcw->NLayers = op->mldts.num_layers - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4196:25: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4196 | fcw->Qmod0 = (op->mldts.q_m[0] >> 1) - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4197:25: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4197 | fcw->Qmod1 = (op->mldts.q_m[1] >> 1) - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4198:25: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4198 | fcw->Qmod2 = (op->mldts.q_m[2] >> 1) - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4199:25: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4199 | fcw->Qmod3 = (op->mldts.q_m[3] >> 1) - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4201:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4201 | if (op->mldts.num_layers == 2) {
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4205:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4205 | if (op->mldts.num_layers == 3)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4207:23: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4207 | fcw->Rrep = op->mldts.r_rep;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4208:23: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4208 | fcw->Crep = op->mldts.c_rep;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4213:33: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4213 | vrb2_dma_desc_mldts_fill(struct rte_bbdev_mldts_op *op,
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_dma_desc_mldts_fill’:
../drivers/baseband/acc/rte_vrb_pmd.c:4226:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4226 | if (op->mldts.r_rep > 5)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4227:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4227 | op->mldts.r_rep = 5;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4228:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4228 | if (op->mldts.num_layers < 2)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4229:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4229 | op->mldts.num_layers = 2;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4230:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4230 | if (op->mldts.num_layers > 4)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4231:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4231 | op->mldts.num_layers = 4;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4232:27: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4232 | for (i = 0; i < op->mldts.num_layers; i++)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4233:37: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4233 | outsize_per_re += op->mldts.q_m[i];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4234:20: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4234 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB * (op->mldts.c_rep + 1);
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4234:38: error: ‘RTE_BBDEV_SCPERRB’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_CRC_ERROR’?
4234 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB * (op->mldts.c_rep + 1);
| ^~~~~~~~~~~~~~~~~
| RTE_BBDEV_CRC_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c:4234:61: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4234 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB * (op->mldts.c_rep + 1);
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4235:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4235 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4235:58: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4235 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4236:33: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4236 | q_size = qsize_per_re[op->mldts.num_layers - 2] * sc_num;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4237:33: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4237 | r_size = rsize_per_re[op->mldts.num_layers - 2] * r_num;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4221:18: error: variable ‘sc_factor_per_rrep’ set but not used [-Werror=unused-but-set-variable]
4221 | uint16_t sc_factor_per_rrep[VRB2_MLD_RREP_SIZE] = {12, 6, 4, 3, 0, 2};
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4220:18: error: variable ‘rsize_per_re’ set but not used [-Werror=unused-but-set-variable]
4220 | uint16_t rsize_per_re[VRB2_MLD_LAY_SIZE] = {14, 26, 42};
| ^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4219:18: error: variable ‘qsize_per_re’ set but not used [-Werror=unused-but-set-variable]
4219 | uint16_t qsize_per_re[VRB2_MLD_LAY_SIZE] = {8, 12, 16}; /* Layer 2 to 4. */
| ^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4268:36: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4268 | vrb2_check_mld_r_constraint(struct rte_bbdev_mldts_op *op) {
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_check_mld_r_constraint’:
../drivers/baseband/acc/rte_vrb_pmd.c:4275:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4275 | if (op->mldts.c_rep == 0)
| ^~
In file included from ../drivers/baseband/acc/rte_vrb_pmd.c:7:
../drivers/baseband/acc/rte_vrb_pmd.c:4278:31: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4278 | layer_idx = RTE_MIN(op->mldts.num_layers - VRB2_MLD_MIN_LAYER,
| ^~
../lib/eal/include/rte_common.h:615:25: note: in definition of macro ‘RTE_MIN’
615 | typeof (a) _a = (a); \
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4278:31: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4278 | layer_idx = RTE_MIN(op->mldts.num_layers - VRB2_MLD_MIN_LAYER,
| ^~
../lib/eal/include/rte_common.h:615:34: note: in definition of macro ‘RTE_MIN’
615 | typeof (a) _a = (a); \
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4280:30: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4280 | rrep_idx = RTE_MIN(op->mldts.r_rep, VRB2_MLD_MAX_RREP);
| ^~
../lib/eal/include/rte_common.h:615:25: note: in definition of macro ‘RTE_MIN’
615 | typeof (a) _a = (a); \
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4280:30: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4280 | rrep_idx = RTE_MIN(op->mldts.r_rep, VRB2_MLD_MAX_RREP);
| ^~
../lib/eal/include/rte_common.h:615:34: note: in definition of macro ‘RTE_MIN’
615 | typeof (a) _a = (a); \
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4284:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4284 | return (op->mldts.num_rbs <= max_rb[layer_idx][rrep_idx]);
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4289:52: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4289 | enqueue_mldts_split_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘enqueue_mldts_split_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4304:21: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4304 | input_q = op->mldts.qhy_input.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4305:21: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4305 | input_r = op->mldts.r_input.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4306:20: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4306 | output = op->mldts.output.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4307:23: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4307 | in_offset = op->mldts.qhy_input.offset;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4308:24: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4308 | out_offset = op->mldts.output.offset;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4309:22: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4309 | num_syms = op->mldts.c_rep + 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4311:29: error: passing argument 1 of ‘vrb2_fcw_mldts_fill’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4311 | vrb2_fcw_mldts_fill(op, fcw);
| ^~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4192:48: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
4192 | vrb2_fcw_mldts_fill(struct rte_bbdev_mldts_op *op, struct acc_fcw_mldts *fcw)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c:4315:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4315 | if (op->mldts.r_rep > 5)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4316:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4316 | op->mldts.r_rep = 5;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4317:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4317 | if (op->mldts.num_layers < 2)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4318:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4318 | op->mldts.num_layers = 2;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4319:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4319 | if (op->mldts.num_layers > 4)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4320:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4320 | op->mldts.num_layers = 4;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4322:27: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4322 | for (i = 0; i < op->mldts.num_layers; i++)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4323:37: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4323 | outsize_per_re += op->mldts.q_m[i];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4324:20: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4324 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB; /* C rep forced to zero. */
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4324:38: error: ‘RTE_BBDEV_SCPERRB’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_CRC_ERROR’?
4324 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB; /* C rep forced to zero. */
| ^~~~~~~~~~~~~~~~~
| RTE_BBDEV_CRC_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c:4325:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4325 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4325:58: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4325 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4326:33: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4326 | q_size = qsize_per_re[op->mldts.num_layers - 2] * sc_num;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4327:33: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4327 | r_size = rsize_per_re[op->mldts.num_layers - 2] * r_num;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4294:18: error: variable ‘sc_factor_per_rrep’ set but not used [-Werror=unused-but-set-variable]
4294 | uint16_t sc_factor_per_rrep[VRB2_MLD_RREP_SIZE] = {12, 6, 4, 3, 0, 2};
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4293:18: error: variable ‘rsize_per_re’ set but not used [-Werror=unused-but-set-variable]
4293 | uint16_t rsize_per_re[VRB2_MLD_LAY_SIZE] = {14, 26, 42};
| ^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4292:18: error: variable ‘qsize_per_re’ set but not used [-Werror=unused-but-set-variable]
4292 | uint16_t qsize_per_re[VRB2_MLD_LAY_SIZE] = {8, 12, 16}; /* Layer 2 to 4. */
| ^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4371:50: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4371 | enqueue_mldts_one_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘enqueue_mldts_one_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4382:21: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4382 | input_q = op->mldts.qhy_input.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4383:21: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4383 | input_r = op->mldts.r_input.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4384:20: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4384 | output = op->mldts.output.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4385:23: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4385 | in_offset = op->mldts.qhy_input.offset;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4386:24: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4386 | out_offset = op->mldts.output.offset;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4388:29: error: passing argument 1 of ‘vrb2_fcw_mldts_fill’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4388 | vrb2_fcw_mldts_fill(op, fcw);
| ^~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4192:48: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
4192 | vrb2_fcw_mldts_fill(struct rte_bbdev_mldts_op *op, struct acc_fcw_mldts *fcw)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c:4389:34: error: passing argument 1 of ‘vrb2_dma_desc_mldts_fill’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4389 | vrb2_dma_desc_mldts_fill(op, &desc->req, input_q, input_r, output,
| ^~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4213:53: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
4213 | vrb2_dma_desc_mldts_fill(struct rte_bbdev_mldts_op *op,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4401:24: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4401 | struct rte_bbdev_mldts_op **ops, uint16_t num)
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_enqueue_mldts’:
../drivers/baseband/acc/rte_vrb_pmd.c:4415:60: error: passing argument 1 of ‘vrb2_check_mld_r_constraint’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4415 | as_one_op = vrb2_check_mld_r_constraint(ops[i]);
| ~~~^~~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4268:56: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
4268 | vrb2_check_mld_r_constraint(struct rte_bbdev_mldts_op *op) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c:4416:53: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4416 | descs_in_op = as_one_op ? 1 : ops[i]->mldts.c_rep + 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4426:58: error: passing argument 2 of ‘enqueue_mldts_one_op’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4426 | ret = enqueue_mldts_one_op(q, ops[i], enqueued_descs);
| ~~~^~~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4371:70: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
4371 | enqueue_mldts_one_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c:4428:60: error: passing argument 2 of ‘enqueue_mldts_split_op’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4428 | ret = enqueue_mldts_split_op(q, ops[i], enqueued_descs);
| ~~~^~~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4289:72: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
4289 | enqueue_mldts_split_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4455:45: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4455 | struct acc_queue *q, struct rte_bbdev_mldts_op **ref_op,
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘dequeue_mldts_one_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4499:11: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4499 | op->status = 0;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4505:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4505 | op->status |= rsp.input_err << RTE_BBDEV_DATA_ERROR;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4506:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4506 | op->status |= rsp.dma_err << RTE_BBDEV_DRV_ERROR;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4507:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4507 | op->status |= rsp.fcw_err << RTE_BBDEV_DRV_ERROR;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4508:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4508 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4508:50: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
4508 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c:4511:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4511 | if (op->status != 0)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4513:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4513 | if (op->status & (1 << RTE_BBDEV_DRV_ERROR))
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4531:24: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4531 | struct rte_bbdev_mldts_op **ops, uint16_t num)
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_dequeue_mldts’:
../drivers/baseband/acc/rte_vrb_pmd.c:4542:55: error: passing argument 3 of ‘dequeue_mldts_one_op’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4542 | ret = dequeue_mldts_one_op(q_data, q, &ops[i], dequeued_cbs, &aq_dequeued);
| ^~~~~~~
| |
| struct rte_bbdev_mldts_op **
../drivers/baseband/acc/rte_vrb_pmd.c:4455:66: note: expected ‘struct rte_bbdev_mldts_op **’ but argument is of type ‘struct rte_bbdev_mldts_op **’
4455 | struct acc_queue *q, struct rte_bbdev_mldts_op **ref_op,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_bbdev_init’:
../drivers/baseband/acc/rte_vrb_pmd.c:4573:14: error: ‘struct rte_bbdev’ has no member named ‘enqueue_mldts_ops’; did you mean ‘enqueue_dec_ops’?
4573 | dev->enqueue_mldts_ops = vrb2_enqueue_mldts;
| ^~~~~~~~~~~~~~~~~
| enqueue_dec_ops
../drivers/baseband/acc/rte_vrb_pmd.c:4574:14: error: ‘struct rte_bbdev’ has no member named ‘dequeue_mldts_ops’; did you mean ‘dequeue_dec_ops’?
4574 | dev->dequeue_mldts_ops = vrb2_dequeue_mldts;
| ^~~~~~~~~~~~~~~~~
| dequeue_dec_ops
cc1: all warnings being treated as errors
[2256/2765] Compiling C object drivers/libtmp_rte_baseband_la12xx.a.p/baseband_la12xx_bbdev_la12xx.c.o
[2257/2765] Generating drivers/rte_event_octeontx.pmd.c with a custom command
[2258/2765] Compiling C object drivers/libtmp_rte_baseband_fpga_lte_fec.a.p/baseband_fpga_lte_fec_fpga_lte_fec.c.o
[2259/2765] Compiling C object drivers/libtmp_rte_baseband_fpga_5gnr_fec.a.p/baseband_fpga_5gnr_fec_rte_fpga_5gnr_fec.c.o
[2260/2765] Compiling C object app/dpdk-dumpcap.p/dumpcap_main.c.o
[2261/2765] Compiling C object drivers/libtmp_rte_baseband_null.a.p/baseband_null_bbdev_null.c.o
[2262/2765] Compiling C object app/dpdk-pdump.p/pdump_main.c.o
[2263/2765] Compiling C object drivers/libtmp_rte_baseband_turbo_sw.a.p/baseband_turbo_sw_bbdev_turbo_software.c.o
[2264/2765] Compiling C object drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_acc100_pmd.c.o
ninja: build stopped
*Build Failed #22:
OS: UB2304-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o
gcc -Idrivers/libtmp_rte_baseband_acc.a.p -Idrivers -I../drivers -Idrivers/baseband/acc -I../drivers/baseband/acc -Ilib/bbdev -I../lib/bbdev -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/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -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-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.bb.acc -MD -MQ drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o -MF drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o.d -o drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o -c ../drivers/baseband/acc/rte_vrb_pmd.c
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_queue_setup’:
../drivers/baseband/acc/rte_vrb_pmd.c:1037:36: error: ‘RTE_BBDEV_OP_MLDTS’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_OP_FFT’?
1037 | else if (conf->op_type == RTE_BBDEV_OP_MLDTS)
| ^~~~~~~~~~~~~~~~~~
| RTE_BBDEV_OP_FFT
../drivers/baseband/acc/rte_vrb_pmd.c:1037:36: note: each undeclared identifier is reported only once for each function it appears in
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_print_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:1095:31: error: ‘RTE_BBDEV_OP_MLDTS’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_OP_FFT’?
1095 | } else if (op_type == RTE_BBDEV_OP_MLDTS) {
| ^~~~~~~~~~~~~~~~~~
| RTE_BBDEV_OP_FFT
In file included from ../drivers/baseband/acc/rte_vrb_pmd.c:22:
../drivers/baseband/acc/rte_vrb_pmd.c:1099:41: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
1099 | op_mldts->mldts.num_rbs, op_mldts->mldts.num_layers,
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro ‘rte_bbdev_log’
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1099:66: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
1099 | op_mldts->mldts.num_rbs, op_mldts->mldts.num_layers,
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro ‘rte_bbdev_log’
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1100:41: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
1100 | op_mldts->mldts.r_rep,
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro ‘rte_bbdev_log’
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1101:41: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
1101 | op_mldts->mldts.c_rep, op_mldts->mldts.op_flags);
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro ‘rte_bbdev_log’
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1101:64: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
1101 | op_mldts->mldts.c_rep, op_mldts->mldts.op_flags);
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro ‘rte_bbdev_log’
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dev_info_get’:
../drivers/baseband/acc/rte_vrb_pmd.c:1332:33: error: ‘RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION’?
1332 | RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION
../drivers/baseband/acc/rte_vrb_pmd.c:1366:35: error: ‘RTE_BBDEV_OP_MLDTS’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_OP_FFT’?
1366 | .type = RTE_BBDEV_OP_MLDTS,
| ^~~~~~~~~~~~~~~~~~
| RTE_BBDEV_OP_FFT
../drivers/baseband/acc/rte_vrb_pmd.c:1369:49: error: ‘RTE_BBDEV_MLDTS_REP’ undeclared (first use in this function)
1369 | RTE_BBDEV_MLDTS_REP,
| ^~~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_fcw_ld_fill’:
../drivers/baseband/acc/rte_vrb_pmd.c:1972:53: error: ‘RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION’?
1972 | } else if (check_bit(op->ldpc_dec.op_flags, RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION)) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_enc_one_op_cb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3373:50: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
3373 | op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_dequeue_ldpc_enc_one_op_tb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3425:42: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
3425 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_enc_one_op_tb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3493:58: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
3493 | op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_dec_one_op_cb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3540:42: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
3540 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_ldpc_dec_one_op_cb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3595:42: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
3595 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_dec_one_op_tb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3677:58: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
3677 | op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_dma_desc_fft_fill’:
../drivers/baseband/acc/rte_vrb_pmd.c:3990:51: error: ‘RTE_BBDEV_FFT_DEWINDOWING’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_FFT_WINDOWING’?
3990 | bool win_en = check_bit(op->fft.op_flags, RTE_BBDEV_FFT_DEWINDOWING);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_FFT_WINDOWING
../drivers/baseband/acc/rte_vrb_pmd.c:4016:25: error: ‘RTE_BBDEV_MAX_CS’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_MAX_CS_2’?
4016 | for (i = 0; i < RTE_BBDEV_MAX_CS; i++)
| ^~~~~~~~~~~~~~~~
| RTE_BBDEV_MAX_CS_2
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_enqueue_fft_one_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4049:22: error: ‘struct rte_bbdev_op_fft’ has no member named ‘dewindowing_input’
4049 | win = op->fft.dewindowing_input.data;
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4053:29: error: ‘struct rte_bbdev_op_fft’ has no member named ‘dewindowing_input’
4053 | win_offset = op->fft.dewindowing_input.offset;
| ^
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_fft_one_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4142:42: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
4142 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4192:28: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4192 | vrb2_fcw_mldts_fill(struct rte_bbdev_mldts_op *op, struct acc_fcw_mldts *fcw)
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_fcw_mldts_fill’:
../drivers/baseband/acc/rte_vrb_pmd.c:4194:22: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4194 | fcw->nrb = op->mldts.num_rbs;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4195:26: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4195 | fcw->NLayers = op->mldts.num_layers - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4196:25: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4196 | fcw->Qmod0 = (op->mldts.q_m[0] >> 1) - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4197:25: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4197 | fcw->Qmod1 = (op->mldts.q_m[1] >> 1) - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4198:25: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4198 | fcw->Qmod2 = (op->mldts.q_m[2] >> 1) - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4199:25: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4199 | fcw->Qmod3 = (op->mldts.q_m[3] >> 1) - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4201:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4201 | if (op->mldts.num_layers == 2) {
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4205:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4205 | if (op->mldts.num_layers == 3)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4207:23: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4207 | fcw->Rrep = op->mldts.r_rep;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4208:23: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4208 | fcw->Crep = op->mldts.c_rep;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4213:33: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4213 | vrb2_dma_desc_mldts_fill(struct rte_bbdev_mldts_op *op,
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_dma_desc_mldts_fill’:
../drivers/baseband/acc/rte_vrb_pmd.c:4226:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4226 | if (op->mldts.r_rep > 5)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4227:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4227 | op->mldts.r_rep = 5;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4228:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4228 | if (op->mldts.num_layers < 2)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4229:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4229 | op->mldts.num_layers = 2;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4230:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4230 | if (op->mldts.num_layers > 4)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4231:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4231 | op->mldts.num_layers = 4;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4232:27: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4232 | for (i = 0; i < op->mldts.num_layers; i++)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4233:37: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4233 | outsize_per_re += op->mldts.q_m[i];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4234:20: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4234 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB * (op->mldts.c_rep + 1);
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4234:38: error: ‘RTE_BBDEV_SCPERRB’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_CRC_ERROR’?
4234 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB * (op->mldts.c_rep + 1);
| ^~~~~~~~~~~~~~~~~
| RTE_BBDEV_CRC_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c:4234:61: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4234 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB * (op->mldts.c_rep + 1);
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4235:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4235 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4235:58: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4235 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4236:33: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4236 | q_size = qsize_per_re[op->mldts.num_layers - 2] * sc_num;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4237:33: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4237 | r_size = rsize_per_re[op->mldts.num_layers - 2] * r_num;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4221:18: error: variable ‘sc_factor_per_rrep’ set but not used [-Werror=unused-but-set-variable]
4221 | uint16_t sc_factor_per_rrep[VRB2_MLD_RREP_SIZE] = {12, 6, 4, 3, 0, 2};
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4220:18: error: variable ‘rsize_per_re’ set but not used [-Werror=unused-but-set-variable]
4220 | uint16_t rsize_per_re[VRB2_MLD_LAY_SIZE] = {14, 26, 42};
| ^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4219:18: error: variable ‘qsize_per_re’ set but not used [-Werror=unused-but-set-variable]
4219 | uint16_t qsize_per_re[VRB2_MLD_LAY_SIZE] = {8, 12, 16}; /* Layer 2 to 4. */
| ^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4268:36: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4268 | vrb2_check_mld_r_constraint(struct rte_bbdev_mldts_op *op) {
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_check_mld_r_constraint’:
../drivers/baseband/acc/rte_vrb_pmd.c:4275:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4275 | if (op->mldts.c_rep == 0)
| ^~
In file included from ../drivers/baseband/acc/rte_vrb_pmd.c:7:
../drivers/baseband/acc/rte_vrb_pmd.c:4278:31: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4278 | layer_idx = RTE_MIN(op->mldts.num_layers - VRB2_MLD_MIN_LAYER,
| ^~
../lib/eal/include/rte_common.h:615:25: note: in definition of macro ‘RTE_MIN’
615 | typeof (a) _a = (a); \
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4278:31: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4278 | layer_idx = RTE_MIN(op->mldts.num_layers - VRB2_MLD_MIN_LAYER,
| ^~
../lib/eal/include/rte_common.h:615:34: note: in definition of macro ‘RTE_MIN’
615 | typeof (a) _a = (a); \
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4280:30: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4280 | rrep_idx = RTE_MIN(op->mldts.r_rep, VRB2_MLD_MAX_RREP);
| ^~
../lib/eal/include/rte_common.h:615:25: note: in definition of macro ‘RTE_MIN’
615 | typeof (a) _a = (a); \
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4280:30: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4280 | rrep_idx = RTE_MIN(op->mldts.r_rep, VRB2_MLD_MAX_RREP);
| ^~
../lib/eal/include/rte_common.h:615:34: note: in definition of macro ‘RTE_MIN’
615 | typeof (a) _a = (a); \
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4284:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4284 | return (op->mldts.num_rbs <= max_rb[layer_idx][rrep_idx]);
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4289:52: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4289 | enqueue_mldts_split_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘enqueue_mldts_split_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4304:21: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4304 | input_q = op->mldts.qhy_input.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4305:21: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4305 | input_r = op->mldts.r_input.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4306:20: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4306 | output = op->mldts.output.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4307:23: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4307 | in_offset = op->mldts.qhy_input.offset;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4308:24: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4308 | out_offset = op->mldts.output.offset;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4309:22: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4309 | num_syms = op->mldts.c_rep + 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4311:29: error: passing argument 1 of ‘vrb2_fcw_mldts_fill’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4311 | vrb2_fcw_mldts_fill(op, fcw);
| ^~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4192:48: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
4192 | vrb2_fcw_mldts_fill(struct rte_bbdev_mldts_op *op, struct acc_fcw_mldts *fcw)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c:4315:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4315 | if (op->mldts.r_rep > 5)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4316:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4316 | op->mldts.r_rep = 5;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4317:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4317 | if (op->mldts.num_layers < 2)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4318:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4318 | op->mldts.num_layers = 2;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4319:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4319 | if (op->mldts.num_layers > 4)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4320:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4320 | op->mldts.num_layers = 4;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4322:27: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4322 | for (i = 0; i < op->mldts.num_layers; i++)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4323:37: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4323 | outsize_per_re += op->mldts.q_m[i];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4324:20: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4324 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB; /* C rep forced to zero. */
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4324:38: error: ‘RTE_BBDEV_SCPERRB’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_CRC_ERROR’?
4324 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB; /* C rep forced to zero. */
| ^~~~~~~~~~~~~~~~~
| RTE_BBDEV_CRC_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c:4325:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4325 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4325:58: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4325 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4326:33: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4326 | q_size = qsize_per_re[op->mldts.num_layers - 2] * sc_num;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4327:33: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4327 | r_size = rsize_per_re[op->mldts.num_layers - 2] * r_num;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4294:18: error: variable ‘sc_factor_per_rrep’ set but not used [-Werror=unused-but-set-variable]
4294 | uint16_t sc_factor_per_rrep[VRB2_MLD_RREP_SIZE] = {12, 6, 4, 3, 0, 2};
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4293:18: error: variable ‘rsize_per_re’ set but not used [-Werror=unused-but-set-variable]
4293 | uint16_t rsize_per_re[VRB2_MLD_LAY_SIZE] = {14, 26, 42};
| ^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4292:18: error: variable ‘qsize_per_re’ set but not used [-Werror=unused-but-set-variable]
4292 | uint16_t qsize_per_re[VRB2_MLD_LAY_SIZE] = {8, 12, 16}; /* Layer 2 to 4. */
| ^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4371:50: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4371 | enqueue_mldts_one_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘enqueue_mldts_one_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4382:21: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4382 | input_q = op->mldts.qhy_input.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4383:21: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4383 | input_r = op->mldts.r_input.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4384:20: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4384 | output = op->mldts.output.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4385:23: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4385 | in_offset = op->mldts.qhy_input.offset;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4386:24: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4386 | out_offset = op->mldts.output.offset;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4388:29: error: passing argument 1 of ‘vrb2_fcw_mldts_fill’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4388 | vrb2_fcw_mldts_fill(op, fcw);
| ^~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4192:48: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
4192 | vrb2_fcw_mldts_fill(struct rte_bbdev_mldts_op *op, struct acc_fcw_mldts *fcw)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c:4389:34: error: passing argument 1 of ‘vrb2_dma_desc_mldts_fill’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4389 | vrb2_dma_desc_mldts_fill(op, &desc->req, input_q, input_r, output,
| ^~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4213:53: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
4213 | vrb2_dma_desc_mldts_fill(struct rte_bbdev_mldts_op *op,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4401:24: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4401 | struct rte_bbdev_mldts_op **ops, uint16_t num)
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_enqueue_mldts’:
../drivers/baseband/acc/rte_vrb_pmd.c:4415:60: error: passing argument 1 of ‘vrb2_check_mld_r_constraint’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4415 | as_one_op = vrb2_check_mld_r_constraint(ops[i]);
| ~~~^~~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4268:56: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
4268 | vrb2_check_mld_r_constraint(struct rte_bbdev_mldts_op *op) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c:4416:53: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4416 | descs_in_op = as_one_op ? 1 : ops[i]->mldts.c_rep + 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4426:58: error: passing argument 2 of ‘enqueue_mldts_one_op’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4426 | ret = enqueue_mldts_one_op(q, ops[i], enqueued_descs);
| ~~~^~~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4371:70: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
4371 | enqueue_mldts_one_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c:4428:60: error: passing argument 2 of ‘enqueue_mldts_split_op’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4428 | ret = enqueue_mldts_split_op(q, ops[i], enqueued_descs);
| ~~~^~~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4289:72: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
4289 | enqueue_mldts_split_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4455:45: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4455 | struct acc_queue *q, struct rte_bbdev_mldts_op **ref_op,
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘dequeue_mldts_one_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4499:11: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4499 | op->status = 0;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4505:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4505 | op->status |= rsp.input_err << RTE_BBDEV_DATA_ERROR;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4506:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4506 | op->status |= rsp.dma_err << RTE_BBDEV_DRV_ERROR;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4507:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4507 | op->status |= rsp.fcw_err << RTE_BBDEV_DRV_ERROR;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4508:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4508 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4508:50: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
4508 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c:4511:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4511 | if (op->status != 0)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4513:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4513 | if (op->status & (1 << RTE_BBDEV_DRV_ERROR))
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4531:24: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4531 | struct rte_bbdev_mldts_op **ops, uint16_t num)
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_dequeue_mldts’:
../drivers/baseband/acc/rte_vrb_pmd.c:4542:55: error: passing argument 3 of ‘dequeue_mldts_one_op’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4542 | ret = dequeue_mldts_one_op(q_data, q, &ops[i], dequeued_cbs, &aq_dequeued);
| ^~~~~~~
| |
| struct rte_bbdev_mldts_op **
../drivers/baseband/acc/rte_vrb_pmd.c:4455:66: note: expected ‘struct rte_bbdev_mldts_op **’ but argument is of type ‘struct rte_bbdev_mldts_op **’
4455 | struct acc_queue *q, struct rte_bbdev_mldts_op **ref_op,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_bbdev_init’:
../drivers/baseband/acc/rte_vrb_pmd.c:4573:14: error: ‘struct rte_bbdev’ has no member named ‘enqueue_mldts_ops’; did you mean ‘enqueue_dec_ops’?
4573 | dev->enqueue_mldts_ops = vrb2_enqueue_mldts;
| ^~~~~~~~~~~~~~~~~
| enqueue_dec_ops
../drivers/baseband/acc/rte_vrb_pmd.c:4574:14: error: ‘struct rte_bbdev’ has no member named ‘dequeue_mldts_ops’; did you mean ‘dequeue_dec_ops’?
4574 | dev->dequeue_mldts_ops = vrb2_dequeue_mldts;
| ^~~~~~~~~~~~~~~~~
| dequeue_dec_ops
cc1: all warnings being treated as errors
[2304/2813] Compiling C object drivers/libtmp_rte_baseband_la12xx.a.p/baseband_la12xx_bbdev_la12xx.c.o
[2305/2813] Generating drivers/rte_event_octeontx.pmd.c with a custom command
[2306/2813] Compiling C object drivers/libtmp_rte_baseband_fpga_lte_fec.a.p/baseband_fpga_lte_fec_fpga_lte_fec.c.o
[2307/2813] Compiling C object drivers/libtmp_rte_baseband_fpga_5gnr_fec.a.p/baseband_fpga_5gnr_fec_rte_fpga_5gnr_fec.c.o
[2308/2813] Compiling C object drivers/libtmp_rte_baseband_null.a.p/baseband_null_bbdev_null.c.o
[2309/2813] Compiling C object app/dpdk-dumpcap.p/dumpcap_main.c.o
[2310/2813] Compiling C object app/dpdk-pdump.p/pdump_main.c.o
[2311/2813] Compiling C object drivers/libtmp_rte_baseband_turbo_sw.a.p/baseband_turbo_sw_bbdev_turbo_software.c.o
[2312/2813] Compiling C object drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_acc100_pmd.c.o
ninja: build stopped
*Build Failed #23:
OS: FC38-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o
gcc -Idrivers/libtmp_rte_baseband_acc.a.p -Idrivers -I../drivers -Idrivers/baseband/acc -I../drivers/baseband/acc -Ilib/bbdev -I../lib/bbdev -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/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -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-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.bb.acc -MD -MQ drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o -MF drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o.d -o drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o -c ../drivers/baseband/acc/rte_vrb_pmd.c
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_queue_setup’:
../drivers/baseband/acc/rte_vrb_pmd.c:1037:36: error: ‘RTE_BBDEV_OP_MLDTS’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_OP_FFT’?
1037 | else if (conf->op_type == RTE_BBDEV_OP_MLDTS)
| ^~~~~~~~~~~~~~~~~~
| RTE_BBDEV_OP_FFT
../drivers/baseband/acc/rte_vrb_pmd.c:1037:36: note: each undeclared identifier is reported only once for each function it appears in
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_print_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:1095:31: error: ‘RTE_BBDEV_OP_MLDTS’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_OP_FFT’?
1095 | } else if (op_type == RTE_BBDEV_OP_MLDTS) {
| ^~~~~~~~~~~~~~~~~~
| RTE_BBDEV_OP_FFT
In file included from ../drivers/baseband/acc/rte_vrb_pmd.c:22:
../drivers/baseband/acc/rte_vrb_pmd.c:1099:41: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
1099 | op_mldts->mldts.num_rbs, op_mldts->mldts.num_layers,
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro ‘rte_bbdev_log’
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1099:66: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
1099 | op_mldts->mldts.num_rbs, op_mldts->mldts.num_layers,
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro ‘rte_bbdev_log’
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1100:41: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
1100 | op_mldts->mldts.r_rep,
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro ‘rte_bbdev_log’
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1101:41: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
1101 | op_mldts->mldts.c_rep, op_mldts->mldts.op_flags);
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro ‘rte_bbdev_log’
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1101:64: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
1101 | op_mldts->mldts.c_rep, op_mldts->mldts.op_flags);
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro ‘rte_bbdev_log’
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dev_info_get’:
../drivers/baseband/acc/rte_vrb_pmd.c:1332:33: error: ‘RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION’?
1332 | RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION
../drivers/baseband/acc/rte_vrb_pmd.c:1366:35: error: ‘RTE_BBDEV_OP_MLDTS’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_OP_FFT’?
1366 | .type = RTE_BBDEV_OP_MLDTS,
| ^~~~~~~~~~~~~~~~~~
| RTE_BBDEV_OP_FFT
../drivers/baseband/acc/rte_vrb_pmd.c:1369:49: error: ‘RTE_BBDEV_MLDTS_REP’ undeclared (first use in this function)
1369 | RTE_BBDEV_MLDTS_REP,
| ^~~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_fcw_ld_fill’:
../drivers/baseband/acc/rte_vrb_pmd.c:1972:53: error: ‘RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION’?
1972 | } else if (check_bit(op->ldpc_dec.op_flags, RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION)) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_enc_one_op_cb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3373:50: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
3373 | op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_dequeue_ldpc_enc_one_op_tb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3425:42: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
3425 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_enc_one_op_tb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3493:58: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
3493 | op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_dec_one_op_cb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3540:42: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
3540 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_ldpc_dec_one_op_cb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3595:42: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
3595 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_dec_one_op_tb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3677:58: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
3677 | op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_dma_desc_fft_fill’:
../drivers/baseband/acc/rte_vrb_pmd.c:3990:51: error: ‘RTE_BBDEV_FFT_DEWINDOWING’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_FFT_WINDOWING’?
3990 | bool win_en = check_bit(op->fft.op_flags, RTE_BBDEV_FFT_DEWINDOWING);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_FFT_WINDOWING
../drivers/baseband/acc/rte_vrb_pmd.c:4016:25: error: ‘RTE_BBDEV_MAX_CS’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_MAX_CS_2’?
4016 | for (i = 0; i < RTE_BBDEV_MAX_CS; i++)
| ^~~~~~~~~~~~~~~~
| RTE_BBDEV_MAX_CS_2
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_enqueue_fft_one_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4049:22: error: ‘struct rte_bbdev_op_fft’ has no member named ‘dewindowing_input’
4049 | win = op->fft.dewindowing_input.data;
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4053:29: error: ‘struct rte_bbdev_op_fft’ has no member named ‘dewindowing_input’
4053 | win_offset = op->fft.dewindowing_input.offset;
| ^
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_fft_one_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4142:42: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
4142 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4192:28: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4192 | vrb2_fcw_mldts_fill(struct rte_bbdev_mldts_op *op, struct acc_fcw_mldts *fcw)
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_fcw_mldts_fill’:
../drivers/baseband/acc/rte_vrb_pmd.c:4194:22: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4194 | fcw->nrb = op->mldts.num_rbs;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4195:26: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4195 | fcw->NLayers = op->mldts.num_layers - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4196:25: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4196 | fcw->Qmod0 = (op->mldts.q_m[0] >> 1) - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4197:25: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4197 | fcw->Qmod1 = (op->mldts.q_m[1] >> 1) - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4198:25: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4198 | fcw->Qmod2 = (op->mldts.q_m[2] >> 1) - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4199:25: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4199 | fcw->Qmod3 = (op->mldts.q_m[3] >> 1) - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4201:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4201 | if (op->mldts.num_layers == 2) {
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4205:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4205 | if (op->mldts.num_layers == 3)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4207:23: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4207 | fcw->Rrep = op->mldts.r_rep;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4208:23: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4208 | fcw->Crep = op->mldts.c_rep;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4213:33: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4213 | vrb2_dma_desc_mldts_fill(struct rte_bbdev_mldts_op *op,
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_dma_desc_mldts_fill’:
../drivers/baseband/acc/rte_vrb_pmd.c:4226:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4226 | if (op->mldts.r_rep > 5)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4227:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4227 | op->mldts.r_rep = 5;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4228:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4228 | if (op->mldts.num_layers < 2)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4229:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4229 | op->mldts.num_layers = 2;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4230:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4230 | if (op->mldts.num_layers > 4)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4231:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4231 | op->mldts.num_layers = 4;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4232:27: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4232 | for (i = 0; i < op->mldts.num_layers; i++)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4233:37: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4233 | outsize_per_re += op->mldts.q_m[i];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4234:20: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4234 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB * (op->mldts.c_rep + 1);
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4234:38: error: ‘RTE_BBDEV_SCPERRB’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_CRC_ERROR’?
4234 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB * (op->mldts.c_rep + 1);
| ^~~~~~~~~~~~~~~~~
| RTE_BBDEV_CRC_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c:4234:61: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4234 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB * (op->mldts.c_rep + 1);
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4235:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4235 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4235:58: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4235 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4236:33: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4236 | q_size = qsize_per_re[op->mldts.num_layers - 2] * sc_num;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4237:33: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4237 | r_size = rsize_per_re[op->mldts.num_layers - 2] * r_num;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4221:18: error: variable ‘sc_factor_per_rrep’ set but not used [-Werror=unused-but-set-variable]
4221 | uint16_t sc_factor_per_rrep[VRB2_MLD_RREP_SIZE] = {12, 6, 4, 3, 0, 2};
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4220:18: error: variable ‘rsize_per_re’ set but not used [-Werror=unused-but-set-variable]
4220 | uint16_t rsize_per_re[VRB2_MLD_LAY_SIZE] = {14, 26, 42};
| ^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4219:18: error: variable ‘qsize_per_re’ set but not used [-Werror=unused-but-set-variable]
4219 | uint16_t qsize_per_re[VRB2_MLD_LAY_SIZE] = {8, 12, 16}; /* Layer 2 to 4. */
| ^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4268:36: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4268 | vrb2_check_mld_r_constraint(struct rte_bbdev_mldts_op *op) {
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_check_mld_r_constraint’:
../drivers/baseband/acc/rte_vrb_pmd.c:4275:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4275 | if (op->mldts.c_rep == 0)
| ^~
In file included from ../drivers/baseband/acc/rte_vrb_pmd.c:7:
../drivers/baseband/acc/rte_vrb_pmd.c:4278:31: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4278 | layer_idx = RTE_MIN(op->mldts.num_layers - VRB2_MLD_MIN_LAYER,
| ^~
../lib/eal/include/rte_common.h:615:25: note: in definition of macro ‘RTE_MIN’
615 | typeof (a) _a = (a); \
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4278:31: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4278 | layer_idx = RTE_MIN(op->mldts.num_layers - VRB2_MLD_MIN_LAYER,
| ^~
../lib/eal/include/rte_common.h:615:34: note: in definition of macro ‘RTE_MIN’
615 | typeof (a) _a = (a); \
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4280:30: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4280 | rrep_idx = RTE_MIN(op->mldts.r_rep, VRB2_MLD_MAX_RREP);
| ^~
../lib/eal/include/rte_common.h:615:25: note: in definition of macro ‘RTE_MIN’
615 | typeof (a) _a = (a); \
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4280:30: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4280 | rrep_idx = RTE_MIN(op->mldts.r_rep, VRB2_MLD_MAX_RREP);
| ^~
../lib/eal/include/rte_common.h:615:34: note: in definition of macro ‘RTE_MIN’
615 | typeof (a) _a = (a); \
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4284:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4284 | return (op->mldts.num_rbs <= max_rb[layer_idx][rrep_idx]);
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4289:52: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4289 | enqueue_mldts_split_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘enqueue_mldts_split_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4304:21: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4304 | input_q = op->mldts.qhy_input.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4305:21: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4305 | input_r = op->mldts.r_input.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4306:20: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4306 | output = op->mldts.output.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4307:23: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4307 | in_offset = op->mldts.qhy_input.offset;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4308:24: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4308 | out_offset = op->mldts.output.offset;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4309:22: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4309 | num_syms = op->mldts.c_rep + 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4311:29: error: passing argument 1 of ‘vrb2_fcw_mldts_fill’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4311 | vrb2_fcw_mldts_fill(op, fcw);
| ^~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4192:48: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
4192 | vrb2_fcw_mldts_fill(struct rte_bbdev_mldts_op *op, struct acc_fcw_mldts *fcw)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c:4315:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4315 | if (op->mldts.r_rep > 5)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4316:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4316 | op->mldts.r_rep = 5;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4317:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4317 | if (op->mldts.num_layers < 2)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4318:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4318 | op->mldts.num_layers = 2;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4319:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4319 | if (op->mldts.num_layers > 4)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4320:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4320 | op->mldts.num_layers = 4;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4322:27: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4322 | for (i = 0; i < op->mldts.num_layers; i++)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4323:37: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4323 | outsize_per_re += op->mldts.q_m[i];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4324:20: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4324 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB; /* C rep forced to zero. */
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4324:38: error: ‘RTE_BBDEV_SCPERRB’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_CRC_ERROR’?
4324 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB; /* C rep forced to zero. */
| ^~~~~~~~~~~~~~~~~
| RTE_BBDEV_CRC_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c:4325:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4325 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4325:58: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4325 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4326:33: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4326 | q_size = qsize_per_re[op->mldts.num_layers - 2] * sc_num;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4327:33: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4327 | r_size = rsize_per_re[op->mldts.num_layers - 2] * r_num;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4294:18: error: variable ‘sc_factor_per_rrep’ set but not used [-Werror=unused-but-set-variable]
4294 | uint16_t sc_factor_per_rrep[VRB2_MLD_RREP_SIZE] = {12, 6, 4, 3, 0, 2};
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4293:18: error: variable ‘rsize_per_re’ set but not used [-Werror=unused-but-set-variable]
4293 | uint16_t rsize_per_re[VRB2_MLD_LAY_SIZE] = {14, 26, 42};
| ^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4292:18: error: variable ‘qsize_per_re’ set but not used [-Werror=unused-but-set-variable]
4292 | uint16_t qsize_per_re[VRB2_MLD_LAY_SIZE] = {8, 12, 16}; /* Layer 2 to 4. */
| ^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4371:50: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4371 | enqueue_mldts_one_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘enqueue_mldts_one_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4382:21: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4382 | input_q = op->mldts.qhy_input.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4383:21: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4383 | input_r = op->mldts.r_input.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4384:20: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4384 | output = op->mldts.output.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4385:23: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4385 | in_offset = op->mldts.qhy_input.offset;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4386:24: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4386 | out_offset = op->mldts.output.offset;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4388:29: error: passing argument 1 of ‘vrb2_fcw_mldts_fill’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4388 | vrb2_fcw_mldts_fill(op, fcw);
| ^~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4192:48: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
4192 | vrb2_fcw_mldts_fill(struct rte_bbdev_mldts_op *op, struct acc_fcw_mldts *fcw)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c:4389:34: error: passing argument 1 of ‘vrb2_dma_desc_mldts_fill’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4389 | vrb2_dma_desc_mldts_fill(op, &desc->req, input_q, input_r, output,
| ^~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4213:53: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
4213 | vrb2_dma_desc_mldts_fill(struct rte_bbdev_mldts_op *op,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4401:24: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4401 | struct rte_bbdev_mldts_op **ops, uint16_t num)
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_enqueue_mldts’:
../drivers/baseband/acc/rte_vrb_pmd.c:4415:60: error: passing argument 1 of ‘vrb2_check_mld_r_constraint’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4415 | as_one_op = vrb2_check_mld_r_constraint(ops[i]);
| ~~~^~~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4268:56: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
4268 | vrb2_check_mld_r_constraint(struct rte_bbdev_mldts_op *op) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c:4416:53: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4416 | descs_in_op = as_one_op ? 1 : ops[i]->mldts.c_rep + 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4426:58: error: passing argument 2 of ‘enqueue_mldts_one_op’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4426 | ret = enqueue_mldts_one_op(q, ops[i], enqueued_descs);
| ~~~^~~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4371:70: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
4371 | enqueue_mldts_one_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c:4428:60: error: passing argument 2 of ‘enqueue_mldts_split_op’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4428 | ret = enqueue_mldts_split_op(q, ops[i], enqueued_descs);
| ~~~^~~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4289:72: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
4289 | enqueue_mldts_split_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4455:45: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4455 | struct acc_queue *q, struct rte_bbdev_mldts_op **ref_op,
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘dequeue_mldts_one_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4499:11: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4499 | op->status = 0;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4505:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4505 | op->status |= rsp.input_err << RTE_BBDEV_DATA_ERROR;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4506:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4506 | op->status |= rsp.dma_err << RTE_BBDEV_DRV_ERROR;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4507:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4507 | op->status |= rsp.fcw_err << RTE_BBDEV_DRV_ERROR;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4508:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4508 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4508:50: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
4508 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c:4511:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4511 | if (op->status != 0)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4513:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4513 | if (op->status & (1 << RTE_BBDEV_DRV_ERROR))
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4531:24: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4531 | struct rte_bbdev_mldts_op **ops, uint16_t num)
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_dequeue_mldts’:
../drivers/baseband/acc/rte_vrb_pmd.c:4542:55: error: passing argument 3 of ‘dequeue_mldts_one_op’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4542 | ret = dequeue_mldts_one_op(q_data, q, &ops[i], dequeued_cbs, &aq_dequeued);
| ^~~~~~~
| |
| struct rte_bbdev_mldts_op **
../drivers/baseband/acc/rte_vrb_pmd.c:4455:66: note: expected ‘struct rte_bbdev_mldts_op **’ but argument is of type ‘struct rte_bbdev_mldts_op **’
4455 | struct acc_queue *q, struct rte_bbdev_mldts_op **ref_op,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_bbdev_init’:
../drivers/baseband/acc/rte_vrb_pmd.c:4573:14: error: ‘struct rte_bbdev’ has no member named ‘enqueue_mldts_ops’; did you mean ‘enqueue_dec_ops’?
4573 | dev->enqueue_mldts_ops = vrb2_enqueue_mldts;
| ^~~~~~~~~~~~~~~~~
| enqueue_dec_ops
../drivers/baseband/acc/rte_vrb_pmd.c:4574:14: error: ‘struct rte_bbdev’ has no member named ‘dequeue_mldts_ops’; did you mean ‘dequeue_dec_ops’?
4574 | dev->dequeue_mldts_ops = vrb2_dequeue_mldts;
| ^~~~~~~~~~~~~~~~~
| dequeue_dec_ops
cc1: all warnings being treated as errors
[2458/2979] Linking static target drivers/libtmp_rte_baseband_fpga_lte_fec.a
[2459/2979] Compiling C object drivers/libtmp_rte_event_octeontx.a.p/event_octeontx_ssovf_evdev_selftest.c.o
[2460/2979] Generating drivers/rte_baseband_la12xx.pmd.c with a custom command
[2461/2979] Compiling C object drivers/libtmp_rte_baseband_fpga_5gnr_fec.a.p/baseband_fpga_5gnr_fec_rte_fpga_5gnr_fec.c.o
[2462/2979] Compiling C object drivers/libtmp_rte_baseband_null.a.p/baseband_null_bbdev_null.c.o
[2463/2979] Compiling C object app/dpdk-dumpcap.p/dumpcap_main.c.o
[2464/2979] Compiling C object app/dpdk-pdump.p/pdump_main.c.o
[2465/2979] Compiling C object drivers/libtmp_rte_baseband_turbo_sw.a.p/baseband_turbo_sw_bbdev_turbo_software.c.o
[2466/2979] Compiling C object drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_acc100_pmd.c.o
ninja: build stopped
*Build Failed #24:
OS: FC38-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o
clang -Idrivers/libtmp_rte_baseband_acc.a.p -Idrivers -I../drivers -Idrivers/baseband/acc -I../drivers/baseband/acc -Ilib/bbdev -I../lib/bbdev -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/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -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=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=pmd.bb.acc -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o -MF drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o.d -o drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o -c ../drivers/baseband/acc/rte_vrb_pmd.c
../drivers/baseband/acc/rte_vrb_pmd.c:1037:29: error: use of undeclared identifier 'RTE_BBDEV_OP_MLDTS'; did you mean 'RTE_BBDEV_OP_FFT'?
else if (conf->op_type == RTE_BBDEV_OP_MLDTS)
^~~~~~~~~~~~~~~~~~
RTE_BBDEV_OP_FFT
../lib/bbdev/rte_bbdev_op.h:858:2: note: 'RTE_BBDEV_OP_FFT' declared here
RTE_BBDEV_OP_FFT, /**< FFT */
^
../drivers/baseband/acc/rte_vrb_pmd.c:1095:24: error: use of undeclared identifier 'RTE_BBDEV_OP_MLDTS'; did you mean 'RTE_BBDEV_OP_FFT'?
} else if (op_type == RTE_BBDEV_OP_MLDTS) {
^~~~~~~~~~~~~~~~~~
RTE_BBDEV_OP_FFT
../lib/bbdev/rte_bbdev_op.h:858:2: note: 'RTE_BBDEV_OP_FFT' declared here
RTE_BBDEV_OP_FFT, /**< FFT */
^
../drivers/baseband/acc/rte_vrb_pmd.c:1099:13: error: incomplete definition of type 'struct rte_bbdev_mldts_op'
op_mldts->mldts.num_rbs, op_mldts->mldts.num_layers,
~~~~~~~~^
../drivers/baseband/acc/vrb_pmd.h:18:5: note: expanded from macro 'rte_bbdev_log'
##__VA_ARGS__)
^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1096:10: note: forward declaration of 'struct rte_bbdev_mldts_op'
struct rte_bbdev_mldts_op *op_mldts = (struct rte_bbdev_mldts_op *) op;
^
../drivers/baseband/acc/rte_vrb_pmd.c:1099:38: error: incomplete definition of type 'struct rte_bbdev_mldts_op'
op_mldts->mldts.num_rbs, op_mldts->mldts.num_layers,
~~~~~~~~^
../drivers/baseband/acc/vrb_pmd.h:18:5: note: expanded from macro 'rte_bbdev_log'
##__VA_ARGS__)
^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1096:10: note: forward declaration of 'struct rte_bbdev_mldts_op'
struct rte_bbdev_mldts_op *op_mldts = (struct rte_bbdev_mldts_op *) op;
^
../drivers/baseband/acc/rte_vrb_pmd.c:1100:13: error: incomplete definition of type 'struct rte_bbdev_mldts_op'
op_mldts->mldts.r_rep,
~~~~~~~~^
../drivers/baseband/acc/vrb_pmd.h:18:5: note: expanded from macro 'rte_bbdev_log'
##__VA_ARGS__)
^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1096:10: note: forward declaration of 'struct rte_bbdev_mldts_op'
struct rte_bbdev_mldts_op *op_mldts = (struct rte_bbdev_mldts_op *) op;
^
../drivers/baseband/acc/rte_vrb_pmd.c:1101:13: error: incomplete definition of type 'struct rte_bbdev_mldts_op'
op_mldts->mldts.c_rep, op_mldts->mldts.op_flags);
~~~~~~~~^
../drivers/baseband/acc/vrb_pmd.h:18:5: note: expanded from macro 'rte_bbdev_log'
##__VA_ARGS__)
^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1096:10: note: forward declaration of 'struct rte_bbdev_mldts_op'
struct rte_bbdev_mldts_op *op_mldts = (struct rte_bbdev_mldts_op *) op;
^
../drivers/baseband/acc/rte_vrb_pmd.c:1101:36: error: incomplete definition of type 'struct rte_bbdev_mldts_op'
op_mldts->mldts.c_rep, op_mldts->mldts.op_flags);
~~~~~~~~^
../drivers/baseband/acc/vrb_pmd.h:18:5: note: expanded from macro 'rte_bbdev_log'
##__VA_ARGS__)
^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1096:10: note: forward declaration of 'struct rte_bbdev_mldts_op'
struct rte_bbdev_mldts_op *op_mldts = (struct rte_bbdev_mldts_op *) op;
^
../drivers/baseband/acc/rte_vrb_pmd.c:1332:5: error: use of undeclared identifier 'RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION'; did you mean 'RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION'?
RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION
../lib/bbdev/rte_bbdev_op.h:182:2: note: 'RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION' declared here
RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION = (1ULL << 14),
^
../drivers/baseband/acc/rte_vrb_pmd.c:1366:12: error: use of undeclared identifier 'RTE_BBDEV_OP_MLDTS'; did you mean 'RTE_BBDEV_OP_FFT'?
.type = RTE_BBDEV_OP_MLDTS,
^~~~~~~~~~~~~~~~~~
RTE_BBDEV_OP_FFT
../lib/bbdev/rte_bbdev_op.h:858:2: note: 'RTE_BBDEV_OP_FFT' declared here
RTE_BBDEV_OP_FFT, /**< FFT */
^
../drivers/baseband/acc/rte_vrb_pmd.c:1369:7: error: use of undeclared identifier 'RTE_BBDEV_MLDTS_REP'
RTE_BBDEV_MLDTS_REP,
^
../drivers/baseband/acc/rte_vrb_pmd.c:1403:23: error: use of undeclared identifier 'RTE_BBDEV_OP_MLDTS'; did you mean 'RTE_BBDEV_OP_FFT'?
dev_info->num_queues[RTE_BBDEV_OP_MLDTS] = d->acc_conf.q_mld.num_aqs_per_groups *
^~~~~~~~~~~~~~~~~~
RTE_BBDEV_OP_FFT
../lib/bbdev/rte_bbdev_op.h:858:2: note: 'RTE_BBDEV_OP_FFT' declared here
RTE_BBDEV_OP_FFT, /**< FFT */
^
../drivers/baseband/acc/rte_vrb_pmd.c:1410:27: error: use of undeclared identifier 'RTE_BBDEV_OP_MLDTS'; did you mean 'RTE_BBDEV_OP_FFT'?
dev_info->queue_priority[RTE_BBDEV_OP_MLDTS] = d->acc_conf.q_mld.num_qgroups;
^~~~~~~~~~~~~~~~~~
RTE_BBDEV_OP_FFT
../lib/bbdev/rte_bbdev_op.h:858:2: note: 'RTE_BBDEV_OP_FFT' declared here
RTE_BBDEV_OP_FFT, /**< FFT */
^
../drivers/baseband/acc/rte_vrb_pmd.c:1412:35: error: use of undeclared identifier 'RTE_BBDEV_OP_MLDTS'; did you mean 'RTE_BBDEV_OP_FFT'?
for (i = RTE_BBDEV_OP_NONE; i <= RTE_BBDEV_OP_MLDTS; i++)
^~~~~~~~~~~~~~~~~~
RTE_BBDEV_OP_FFT
../lib/bbdev/rte_bbdev_op.h:858:2: note: 'RTE_BBDEV_OP_FFT' declared here
RTE_BBDEV_OP_FFT, /**< FFT */
^
../drivers/baseband/acc/rte_vrb_pmd.c:1972:46: error: use of undeclared identifier 'RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION'; did you mean 'RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION'?
} else if (check_bit(op->ldpc_dec.op_flags, RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION)) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION
../lib/bbdev/rte_bbdev_op.h:182:2: note: 'RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION' declared here
RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION = (1ULL << 14),
^
../drivers/baseband/acc/rte_vrb_pmd.c:3373:43: error: use of undeclared identifier 'RTE_BBDEV_ENGINE_ERROR'; did you mean 'RTE_BBDEV_EVENT_ERROR'?
op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
^~~~~~~~~~~~~~~~~~~~~~
RTE_BBDEV_EVENT_ERROR
../lib/bbdev/rte_bbdev.h:831:2: note: 'RTE_BBDEV_EVENT_ERROR' declared here
RTE_BBDEV_EVENT_ERROR, /**< error interrupt event */
^
../drivers/baseband/acc/rte_vrb_pmd.c:3425:35: error: use of undeclared identifier 'RTE_BBDEV_ENGINE_ERROR'; did you mean 'RTE_BBDEV_EVENT_ERROR'?
op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
^~~~~~~~~~~~~~~~~~~~~~
RTE_BBDEV_EVENT_ERROR
../lib/bbdev/rte_bbdev.h:831:2: note: 'RTE_BBDEV_EVENT_ERROR' declared here
RTE_BBDEV_EVENT_ERROR, /**< error interrupt event */
^
../drivers/baseband/acc/rte_vrb_pmd.c:3493:44: error: use of undeclared identifier 'RTE_BBDEV_ENGINE_ERROR'; did you mean 'RTE_BBDEV_EVENT_ERROR'?
op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
^~~~~~~~~~~~~~~~~~~~~~
RTE_BBDEV_EVENT_ERROR
../lib/bbdev/rte_bbdev.h:831:2: note: 'RTE_BBDEV_EVENT_ERROR' declared here
RTE_BBDEV_EVENT_ERROR, /**< error interrupt event */
^
../drivers/baseband/acc/rte_vrb_pmd.c:3540:35: error: use of undeclared identifier 'RTE_BBDEV_ENGINE_ERROR'; did you mean 'RTE_BBDEV_EVENT_ERROR'?
op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
^~~~~~~~~~~~~~~~~~~~~~
RTE_BBDEV_EVENT_ERROR
../lib/bbdev/rte_bbdev.h:831:2: note: 'RTE_BBDEV_EVENT_ERROR' declared here
RTE_BBDEV_EVENT_ERROR, /**< error interrupt event */
^
../drivers/baseband/acc/rte_vrb_pmd.c:3595:35: error: use of undeclared identifier 'RTE_BBDEV_ENGINE_ERROR'; did you mean 'RTE_BBDEV_EVENT_ERROR'?
op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
^~~~~~~~~~~~~~~~~~~~~~
RTE_BBDEV_EVENT_ERROR
../lib/bbdev/rte_bbdev.h:831:2: note: 'RTE_BBDEV_EVENT_ERROR' declared here
RTE_BBDEV_EVENT_ERROR, /**< error interrupt event */
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[2453/2975] Compiling C object drivers/libtmp_rte_baseband_la12xx.a.p/baseband_la12xx_bbdev_la12xx.c.o
[2454/2975] Generating drivers/rte_event_octeontx.pmd.c with a custom command
[2455/2975] Compiling C object drivers/libtmp_rte_baseband_fpga_lte_fec.a.p/baseband_fpga_lte_fec_fpga_lte_fec.c.o
[2456/2975] Compiling C object drivers/libtmp_rte_baseband_fpga_5gnr_fec.a.p/baseband_fpga_5gnr_fec_rte_fpga_5gnr_fec.c.o
[2457/2975] Compiling C object app/dpdk-dumpcap.p/dumpcap_main.c.o
[2458/2975] Compiling C object app/dpdk-pdump.p/pdump_main.c.o
[2459/2975] Compiling C object drivers/libtmp_rte_baseband_null.a.p/baseband_null_bbdev_null.c.o
[2460/2975] Compiling C object drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_acc100_pmd.c.o
[2461/2975] Compiling C object drivers/libtmp_rte_baseband_turbo_sw.a.p/baseband_turbo_sw_bbdev_turbo_software.c.o
ninja: build stopped
*Build Failed #25:
OS: UB2204-64Rt
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o
gcc -Idrivers/libtmp_rte_baseband_acc.a.p -Idrivers -I../drivers -Idrivers/baseband/acc -I../drivers/baseband/acc -Ilib/bbdev -I../lib/bbdev -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/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -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-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.bb.acc -MD -MQ drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o -MF drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o.d -o drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_vrb_pmd.c.o -c ../drivers/baseband/acc/rte_vrb_pmd.c
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_queue_setup’:
../drivers/baseband/acc/rte_vrb_pmd.c:1037:36: error: ‘RTE_BBDEV_OP_MLDTS’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_OP_FFT’?
1037 | else if (conf->op_type == RTE_BBDEV_OP_MLDTS)
| ^~~~~~~~~~~~~~~~~~
| RTE_BBDEV_OP_FFT
../drivers/baseband/acc/rte_vrb_pmd.c:1037:36: note: each undeclared identifier is reported only once for each function it appears in
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_print_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:1095:31: error: ‘RTE_BBDEV_OP_MLDTS’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_OP_FFT’?
1095 | } else if (op_type == RTE_BBDEV_OP_MLDTS) {
| ^~~~~~~~~~~~~~~~~~
| RTE_BBDEV_OP_FFT
In file included from ../drivers/baseband/acc/rte_vrb_pmd.c:22:
../drivers/baseband/acc/rte_vrb_pmd.c:1099:41: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
1099 | op_mldts->mldts.num_rbs, op_mldts->mldts.num_layers,
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro ‘rte_bbdev_log’
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1099:66: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
1099 | op_mldts->mldts.num_rbs, op_mldts->mldts.num_layers,
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro ‘rte_bbdev_log’
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1100:41: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
1100 | op_mldts->mldts.r_rep,
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro ‘rte_bbdev_log’
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1101:41: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
1101 | op_mldts->mldts.c_rep, op_mldts->mldts.op_flags);
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro ‘rte_bbdev_log’
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:1101:64: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
1101 | op_mldts->mldts.c_rep, op_mldts->mldts.op_flags);
| ^~
../drivers/baseband/acc/vrb_pmd.h:18:19: note: in definition of macro ‘rte_bbdev_log’
18 | ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dev_info_get’:
../drivers/baseband/acc/rte_vrb_pmd.c:1332:33: error: ‘RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION’?
1332 | RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION
../drivers/baseband/acc/rte_vrb_pmd.c:1366:35: error: ‘RTE_BBDEV_OP_MLDTS’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_OP_FFT’?
1366 | .type = RTE_BBDEV_OP_MLDTS,
| ^~~~~~~~~~~~~~~~~~
| RTE_BBDEV_OP_FFT
../drivers/baseband/acc/rte_vrb_pmd.c:1369:49: error: ‘RTE_BBDEV_MLDTS_REP’ undeclared (first use in this function)
1369 | RTE_BBDEV_MLDTS_REP,
| ^~~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_fcw_ld_fill’:
../drivers/baseband/acc/rte_vrb_pmd.c:1972:53: error: ‘RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION’?
1972 | } else if (check_bit(op->ldpc_dec.op_flags, RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION)) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_enc_one_op_cb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3373:50: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
3373 | op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_dequeue_ldpc_enc_one_op_tb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3425:42: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
3425 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_enc_one_op_tb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3493:58: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
3493 | op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_dec_one_op_cb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3540:42: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
3540 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_ldpc_dec_one_op_cb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3595:42: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
3595 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_dec_one_op_tb’:
../drivers/baseband/acc/rte_vrb_pmd.c:3677:58: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
3677 | op->status |= ((rsp.engine_hung) ? (1 << RTE_BBDEV_ENGINE_ERROR) : 0);
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_dma_desc_fft_fill’:
../drivers/baseband/acc/rte_vrb_pmd.c:3990:51: error: ‘RTE_BBDEV_FFT_DEWINDOWING’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_FFT_WINDOWING’?
3990 | bool win_en = check_bit(op->fft.op_flags, RTE_BBDEV_FFT_DEWINDOWING);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_FFT_WINDOWING
../drivers/baseband/acc/rte_vrb_pmd.c:4016:25: error: ‘RTE_BBDEV_MAX_CS’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_MAX_CS_2’?
4016 | for (i = 0; i < RTE_BBDEV_MAX_CS; i++)
| ^~~~~~~~~~~~~~~~
| RTE_BBDEV_MAX_CS_2
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_enqueue_fft_one_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4049:22: error: ‘struct rte_bbdev_op_fft’ has no member named ‘dewindowing_input’
4049 | win = op->fft.dewindowing_input.data;
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4053:29: error: ‘struct rte_bbdev_op_fft’ has no member named ‘dewindowing_input’
4053 | win_offset = op->fft.dewindowing_input.offset;
| ^
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_dequeue_fft_one_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4142:42: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
4142 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4192:28: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4192 | vrb2_fcw_mldts_fill(struct rte_bbdev_mldts_op *op, struct acc_fcw_mldts *fcw)
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_fcw_mldts_fill’:
../drivers/baseband/acc/rte_vrb_pmd.c:4194:22: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4194 | fcw->nrb = op->mldts.num_rbs;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4195:26: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4195 | fcw->NLayers = op->mldts.num_layers - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4196:25: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4196 | fcw->Qmod0 = (op->mldts.q_m[0] >> 1) - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4197:25: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4197 | fcw->Qmod1 = (op->mldts.q_m[1] >> 1) - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4198:25: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4198 | fcw->Qmod2 = (op->mldts.q_m[2] >> 1) - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4199:25: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4199 | fcw->Qmod3 = (op->mldts.q_m[3] >> 1) - 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4201:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4201 | if (op->mldts.num_layers == 2) {
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4205:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4205 | if (op->mldts.num_layers == 3)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4207:23: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4207 | fcw->Rrep = op->mldts.r_rep;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4208:23: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4208 | fcw->Crep = op->mldts.c_rep;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4213:33: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4213 | vrb2_dma_desc_mldts_fill(struct rte_bbdev_mldts_op *op,
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_dma_desc_mldts_fill’:
../drivers/baseband/acc/rte_vrb_pmd.c:4226:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4226 | if (op->mldts.r_rep > 5)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4227:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4227 | op->mldts.r_rep = 5;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4228:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4228 | if (op->mldts.num_layers < 2)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4229:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4229 | op->mldts.num_layers = 2;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4230:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4230 | if (op->mldts.num_layers > 4)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4231:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4231 | op->mldts.num_layers = 4;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4232:27: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4232 | for (i = 0; i < op->mldts.num_layers; i++)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4233:37: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4233 | outsize_per_re += op->mldts.q_m[i];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4234:20: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4234 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB * (op->mldts.c_rep + 1);
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4234:38: error: ‘RTE_BBDEV_SCPERRB’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_CRC_ERROR’?
4234 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB * (op->mldts.c_rep + 1);
| ^~~~~~~~~~~~~~~~~
| RTE_BBDEV_CRC_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c:4234:61: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4234 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB * (op->mldts.c_rep + 1);
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4235:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4235 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4235:58: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4235 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4236:33: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4236 | q_size = qsize_per_re[op->mldts.num_layers - 2] * sc_num;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4237:33: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4237 | r_size = rsize_per_re[op->mldts.num_layers - 2] * r_num;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4221:18: error: variable ‘sc_factor_per_rrep’ set but not used [-Werror=unused-but-set-variable]
4221 | uint16_t sc_factor_per_rrep[VRB2_MLD_RREP_SIZE] = {12, 6, 4, 3, 0, 2};
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4220:18: error: variable ‘rsize_per_re’ set but not used [-Werror=unused-but-set-variable]
4220 | uint16_t rsize_per_re[VRB2_MLD_LAY_SIZE] = {14, 26, 42};
| ^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4219:18: error: variable ‘qsize_per_re’ set but not used [-Werror=unused-but-set-variable]
4219 | uint16_t qsize_per_re[VRB2_MLD_LAY_SIZE] = {8, 12, 16}; /* Layer 2 to 4. */
| ^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4268:36: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4268 | vrb2_check_mld_r_constraint(struct rte_bbdev_mldts_op *op) {
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_check_mld_r_constraint’:
../drivers/baseband/acc/rte_vrb_pmd.c:4275:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4275 | if (op->mldts.c_rep == 0)
| ^~
In file included from ../drivers/baseband/acc/rte_vrb_pmd.c:7:
../drivers/baseband/acc/rte_vrb_pmd.c:4278:31: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4278 | layer_idx = RTE_MIN(op->mldts.num_layers - VRB2_MLD_MIN_LAYER,
| ^~
../lib/eal/include/rte_common.h:615:25: note: in definition of macro ‘RTE_MIN’
615 | typeof (a) _a = (a); \
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4278:31: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4278 | layer_idx = RTE_MIN(op->mldts.num_layers - VRB2_MLD_MIN_LAYER,
| ^~
../lib/eal/include/rte_common.h:615:34: note: in definition of macro ‘RTE_MIN’
615 | typeof (a) _a = (a); \
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4280:30: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4280 | rrep_idx = RTE_MIN(op->mldts.r_rep, VRB2_MLD_MAX_RREP);
| ^~
../lib/eal/include/rte_common.h:615:25: note: in definition of macro ‘RTE_MIN’
615 | typeof (a) _a = (a); \
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4280:30: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4280 | rrep_idx = RTE_MIN(op->mldts.r_rep, VRB2_MLD_MAX_RREP);
| ^~
../lib/eal/include/rte_common.h:615:34: note: in definition of macro ‘RTE_MIN’
615 | typeof (a) _a = (a); \
| ^
../drivers/baseband/acc/rte_vrb_pmd.c:4284:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4284 | return (op->mldts.num_rbs <= max_rb[layer_idx][rrep_idx]);
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4289:52: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4289 | enqueue_mldts_split_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘enqueue_mldts_split_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4304:21: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4304 | input_q = op->mldts.qhy_input.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4305:21: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4305 | input_r = op->mldts.r_input.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4306:20: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4306 | output = op->mldts.output.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4307:23: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4307 | in_offset = op->mldts.qhy_input.offset;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4308:24: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4308 | out_offset = op->mldts.output.offset;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4309:22: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4309 | num_syms = op->mldts.c_rep + 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4311:29: error: passing argument 1 of ‘vrb2_fcw_mldts_fill’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4311 | vrb2_fcw_mldts_fill(op, fcw);
| ^~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4192:48: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
4192 | vrb2_fcw_mldts_fill(struct rte_bbdev_mldts_op *op, struct acc_fcw_mldts *fcw)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c:4315:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4315 | if (op->mldts.r_rep > 5)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4316:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4316 | op->mldts.r_rep = 5;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4317:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4317 | if (op->mldts.num_layers < 2)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4318:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4318 | op->mldts.num_layers = 2;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4319:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4319 | if (op->mldts.num_layers > 4)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4320:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4320 | op->mldts.num_layers = 4;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4322:27: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4322 | for (i = 0; i < op->mldts.num_layers; i++)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4323:37: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4323 | outsize_per_re += op->mldts.q_m[i];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4324:20: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4324 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB; /* C rep forced to zero. */
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4324:38: error: ‘RTE_BBDEV_SCPERRB’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_CRC_ERROR’?
4324 | sc_num = op->mldts.num_rbs * RTE_BBDEV_SCPERRB; /* C rep forced to zero. */
| ^~~~~~~~~~~~~~~~~
| RTE_BBDEV_CRC_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c:4325:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4325 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4325:58: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4325 | r_num = op->mldts.num_rbs * sc_factor_per_rrep[op->mldts.r_rep];
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4326:33: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4326 | q_size = qsize_per_re[op->mldts.num_layers - 2] * sc_num;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4327:33: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4327 | r_size = rsize_per_re[op->mldts.num_layers - 2] * r_num;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4294:18: error: variable ‘sc_factor_per_rrep’ set but not used [-Werror=unused-but-set-variable]
4294 | uint16_t sc_factor_per_rrep[VRB2_MLD_RREP_SIZE] = {12, 6, 4, 3, 0, 2};
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4293:18: error: variable ‘rsize_per_re’ set but not used [-Werror=unused-but-set-variable]
4293 | uint16_t rsize_per_re[VRB2_MLD_LAY_SIZE] = {14, 26, 42};
| ^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c:4292:18: error: variable ‘qsize_per_re’ set but not used [-Werror=unused-but-set-variable]
4292 | uint16_t qsize_per_re[VRB2_MLD_LAY_SIZE] = {8, 12, 16}; /* Layer 2 to 4. */
| ^~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4371:50: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4371 | enqueue_mldts_one_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘enqueue_mldts_one_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4382:21: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4382 | input_q = op->mldts.qhy_input.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4383:21: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4383 | input_r = op->mldts.r_input.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4384:20: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4384 | output = op->mldts.output.data;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4385:23: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4385 | in_offset = op->mldts.qhy_input.offset;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4386:24: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4386 | out_offset = op->mldts.output.offset;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4388:29: error: passing argument 1 of ‘vrb2_fcw_mldts_fill’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4388 | vrb2_fcw_mldts_fill(op, fcw);
| ^~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4192:48: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
4192 | vrb2_fcw_mldts_fill(struct rte_bbdev_mldts_op *op, struct acc_fcw_mldts *fcw)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c:4389:34: error: passing argument 1 of ‘vrb2_dma_desc_mldts_fill’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4389 | vrb2_dma_desc_mldts_fill(op, &desc->req, input_q, input_r, output,
| ^~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4213:53: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
4213 | vrb2_dma_desc_mldts_fill(struct rte_bbdev_mldts_op *op,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4401:24: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4401 | struct rte_bbdev_mldts_op **ops, uint16_t num)
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_enqueue_mldts’:
../drivers/baseband/acc/rte_vrb_pmd.c:4415:60: error: passing argument 1 of ‘vrb2_check_mld_r_constraint’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4415 | as_one_op = vrb2_check_mld_r_constraint(ops[i]);
| ~~~^~~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4268:56: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
4268 | vrb2_check_mld_r_constraint(struct rte_bbdev_mldts_op *op) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c:4416:53: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4416 | descs_in_op = as_one_op ? 1 : ops[i]->mldts.c_rep + 1;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4426:58: error: passing argument 2 of ‘enqueue_mldts_one_op’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4426 | ret = enqueue_mldts_one_op(q, ops[i], enqueued_descs);
| ~~~^~~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4371:70: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
4371 | enqueue_mldts_one_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c:4428:60: error: passing argument 2 of ‘enqueue_mldts_split_op’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4428 | ret = enqueue_mldts_split_op(q, ops[i], enqueued_descs);
| ~~~^~~
| |
| struct rte_bbdev_mldts_op *
../drivers/baseband/acc/rte_vrb_pmd.c:4289:72: note: expected ‘struct rte_bbdev_mldts_op *’ but argument is of type ‘struct rte_bbdev_mldts_op *’
4289 | enqueue_mldts_split_op(struct acc_queue *q, struct rte_bbdev_mldts_op *op,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4455:45: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4455 | struct acc_queue *q, struct rte_bbdev_mldts_op **ref_op,
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘dequeue_mldts_one_op’:
../drivers/baseband/acc/rte_vrb_pmd.c:4499:11: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4499 | op->status = 0;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4505:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4505 | op->status |= rsp.input_err << RTE_BBDEV_DATA_ERROR;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4506:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4506 | op->status |= rsp.dma_err << RTE_BBDEV_DRV_ERROR;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4507:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4507 | op->status |= rsp.fcw_err << RTE_BBDEV_DRV_ERROR;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4508:19: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4508 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4508:50: error: ‘RTE_BBDEV_ENGINE_ERROR’ undeclared (first use in this function); did you mean ‘RTE_BBDEV_EVENT_ERROR’?
4508 | op->status |= rsp.engine_hung << RTE_BBDEV_ENGINE_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
| RTE_BBDEV_EVENT_ERROR
../drivers/baseband/acc/rte_vrb_pmd.c:4511:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4511 | if (op->status != 0)
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c:4513:15: error: invalid use of undefined type ‘struct rte_bbdev_mldts_op’
4513 | if (op->status & (1 << RTE_BBDEV_DRV_ERROR))
| ^~
../drivers/baseband/acc/rte_vrb_pmd.c: At top level:
../drivers/baseband/acc/rte_vrb_pmd.c:4531:24: error: ‘struct rte_bbdev_mldts_op’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
4531 | struct rte_bbdev_mldts_op **ops, uint16_t num)
| ^~~~~~~~~~~~~~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb2_dequeue_mldts’:
../drivers/baseband/acc/rte_vrb_pmd.c:4542:55: error: passing argument 3 of ‘dequeue_mldts_one_op’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4542 | ret = dequeue_mldts_one_op(q_data, q, &ops[i], dequeued_cbs, &aq_dequeued);
| ^~~~~~~
| |
| struct rte_bbdev_mldts_op **
../drivers/baseband/acc/rte_vrb_pmd.c:4455:66: note: expected ‘struct rte_bbdev_mldts_op **’ but argument is of type ‘struct rte_bbdev_mldts_op **’
4455 | struct acc_queue *q, struct rte_bbdev_mldts_op **ref_op,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
../drivers/baseband/acc/rte_vrb_pmd.c: In function ‘vrb_bbdev_init’:
../drivers/baseband/acc/rte_vrb_pmd.c:4573:14: error: ‘struct rte_bbdev’ has no member named ‘enqueue_mldts_ops’; did you mean ‘enqueue_dec_ops’?
4573 | dev->enqueue_mldts_ops = vrb2_enqueue_mldts;
| ^~~~~~~~~~~~~~~~~
| enqueue_dec_ops
../drivers/baseband/acc/rte_vrb_pmd.c:4574:14: error: ‘struct rte_bbdev’ has no member named ‘dequeue_mldts_ops’; did you mean ‘dequeue_dec_ops’?
4574 | dev->dequeue_mldts_ops = vrb2_dequeue_mldts;
| ^~~~~~~~~~~~~~~~~
| dequeue_dec_ops
cc1: all warnings being treated as errors
[2302/2817] Compiling C object drivers/librte_event_sw.a.p/meson-generated_.._rte_event_sw.pmd.c.o
[2303/2817] Compiling C object drivers/libtmp_rte_event_octeontx.a.p/event_octeontx_ssovf_evdev_selftest.c.o
[2304/2817] Compiling C object drivers/libtmp_rte_baseband_la12xx.a.p/baseband_la12xx_bbdev_la12xx.c.o
[2305/2817] Compiling C object drivers/libtmp_rte_baseband_fpga_lte_fec.a.p/baseband_fpga_lte_fec_fpga_lte_fec.c.o
[2306/2817] Compiling C object drivers/libtmp_rte_baseband_fpga_5gnr_fec.a.p/baseband_fpga_5gnr_fec_rte_fpga_5gnr_fec.c.o
[2307/2817] Compiling C object drivers/libtmp_rte_baseband_null.a.p/baseband_null_bbdev_null.c.o
[2308/2817] Compiling C object app/dpdk-dumpcap.p/dumpcap_main.c.o
[2309/2817] Compiling C object drivers/libtmp_rte_baseband_turbo_sw.a.p/baseband_turbo_sw_bbdev_turbo_software.c.o
[2310/2817] Compiling C object drivers/libtmp_rte_baseband_acc.a.p/baseband_acc_rte_acc100_pmd.c.o
ninja: build stopped
DPDK STV team
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-09-21 6:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-19 22:41 compilation|FAILURE| pw(131586) sid(29539) job(PER_PATCH_BUILD9069)[v1, 7/7] baseband/acc: add configure helper for VRB2 sys_stv
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).