* compilation|FAILURE| pw(135430) sid(30645) job(PER_PATCH_BUILD10511)[v1] common/qat: option to disable asym driver
@ 2023-12-21 15:05 sys_stv
0 siblings, 0 replies; only message in thread
From: sys_stv @ 2023-12-21 15:05 UTC (permalink / raw)
To: test-report, brian.dooley
[-- Attachment #1: Type: text/plain, Size: 55533 bytes --]
Test-Label: Intel-compilation
Test-Status: FAILURE
http://dpdk.org/patch/135430
_Compilation issues_
Submitter: Brian Dooley <brian.dooley@intel.com>
Date: 2023-12-21 12:23:02
Reply_mail: <20231221122302.2834184-1-brian.dooley@intel.com>
DPDK git baseline: Repo:dpdk-next-crypto, CommitID: c858f006d1f7161986c88847259a400d8f80d81b
Meson Build Summary: 25 Builds Done, 20 Successful, 5 Failures, 0 Blocked
+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
| os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte |
+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
| OpenAnolis8.8-64 | pass | | | | | | |
| FreeBSD13-64 | fail | fail | | fail | pass | | |
| RHEL92-64 | pass | pass | | pass | pass | | |
| SUSE15-64 | fail | fail | | | | | |
| CBL-Mariner2.0-64 | pass | | | | | | |
| UB2004-64 | pass | | | | | | |
| UB2204-32 | pass | | | | | | |
| RHEL89-64 | pass | | | | | | |
| UB2204-64 | pass | pass | | | | pass | pass |
| CentOS79-64 | pass | | | | | | |
| RHEL92-64Rt | pass | | | | | | |
| UB2310-64 | pass | | | | | | |
| FC39-64 | pass | pass | | | | | |
| UB2204-64Rt | pass | | | | | | |
+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
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: RHEL89-64
Kernel Version: 4.18.0-513.5.1.el8_9.x86_64
GCC Version: gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-20)
Clang Version: 16.0.6 (Red Hat 16.0.6-2.module+el8.9.0+19521+190d7aba)
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: UB2310-64
Kernel Version: 6.5.0-9-generic
GCC Version: gcc (Ubuntu 13.2.0-4ubuntu3) 13.2.0
Clang Version: NA
x86_64-native-linuxapp-gcc
OS: FC39-64
Kernel Version: 6.5.6-300.fc39.x86_64
GCC Version: gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3)
Clang Version: 17.0.6 (Fedora 17.0.6-1.fc39)
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: FreeBSD13-64
Target: x86_64-native-bsdapp-gcc
FAILED: drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_asym_pmd_gen1.c.o
gcc -Idrivers/libtmp_rte_common_qat.a.p -Idrivers -I../drivers -Idrivers/common/qat -I../drivers/common/qat -I../drivers/common/qat/qat_adf -I../drivers/crypto/qat -I../drivers/compress/qat -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/pci -I../lib/pci -Ilib/cryptodev -I../lib/cryptodev -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Ilib/net -I../lib/net -Ilib/compressdev -I../lib/compressdev -Ilib/security -I../lib/security -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DBUILD_QAT_ASYM -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.qat -MD -MQ drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_asym_pmd_gen1.c.o -MF drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_asym_pmd_gen1.c.o.d -o drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_asym_pmd_gen1.c.o -c ../drivers/crypto/qat/dev/qat_asym_pmd_gen1.c
In file included from ../drivers/crypto/qat/dev/qat_asym_pmd_gen1.c:9:
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h: In function 'qat_bpicipher_preprocess':
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:98:17: error: implicit declaration of function 'bpi_cipher_ipsec' [-Werror=implicit-function-declaration]
98 | bpi_cipher_ipsec(last_block, dst, iv, last_block_len, ctx->expkey,
| ^~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:98:17: error: nested extern declaration of 'bpi_cipher_ipsec' [-Werror=nested-externs]
In file included from ../lib/eal/x86/include/rte_spinlock.h:15,
from ../lib/mempool/rte_mempool.h:43,
from ../lib/mbuf/rte_mbuf.h:38,
from ../lib/cryptodev/rte_crypto.h:19,
from ../lib/cryptodev/rte_cryptodev.h:23,
from ../drivers/crypto/qat/dev/qat_asym_pmd_gen1.c:5:
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h: In function 'qat_auth_is_len_in_bits':
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:120:59: error: 'BYTE_LENGTH' undeclared (first use in this function)
120 | if (unlikely((op->sym->auth.data.offset % BYTE_LENGTH != 0) ||
| ^~~~~~~~~~~
../lib/eal/include/rte_branch_prediction.h:47:45: note: in definition of macro 'unlikely'
47 | #define unlikely(x) __builtin_expect(!!(x), 0)
| ^
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:120:59: note: each undeclared identifier is reported only once for each function it appears in
120 | if (unlikely((op->sym->auth.data.offset % BYTE_LENGTH != 0) ||
| ^~~~~~~~~~~
../lib/eal/include/rte_branch_prediction.h:47:45: note: in definition of macro 'unlikely'
47 | #define unlikely(x) __builtin_expect(!!(x), 0)
| ^
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h: In function 'qat_cipher_is_len_in_bits':
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:135:61: error: 'BYTE_LENGTH' undeclared (first use in this function)
135 | if (unlikely((op->sym->cipher.data.length % BYTE_LENGTH != 0) ||
| ^~~~~~~~~~~
../lib/eal/include/rte_branch_prediction.h:47:45: note: in definition of macro 'unlikely'
47 | #define unlikely(x) __builtin_expect(!!(x), 0)
| ^
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h: At top level:
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:146:38: error: 'struct qat_sym_op_cookie' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
146 | void *opaque, struct qat_sym_op_cookie *cookie,
| ^~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h: In function 'qat_sym_build_req_set_data':
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:156:43: error: 'QAT_SYM_SGL_MAX_NUMBER' undeclared (first use in this function)
156 | if (unlikely(n_src < 1 || n_src > QAT_SYM_SGL_MAX_NUMBER ||
| ^~~~~~~~~~~~~~~~~~~~~~
../lib/eal/include/rte_branch_prediction.h:47:45: note: in definition of macro 'unlikely'
47 | #define unlikely(x) __builtin_expect(!!(x), 0)
| ^
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:180:49: error: invalid use of undefined type 'struct qat_sym_op_cookie'
180 | list = (struct qat_sgl *)&cookie->qat_sgl_src;
| ^~
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:193:40: error: invalid use of undefined type 'struct qat_sym_op_cookie'
193 | src_data_start = cookie->qat_sgl_src_phys_addr;
| ^~
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:198:57: error: invalid use of undefined type 'struct qat_sym_op_cookie'
198 | list = (struct qat_sgl *)&cookie->qat_sgl_dst;
| ^~
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:215:48: error: invalid use of undefined type 'struct qat_sym_op_cookie'
215 | dst_data_start = cookie->qat_sgl_dst_phys_addr;
| ^~
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h: In function 'qat_sym_convert_op_to_vec_cipher':
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:279:50: error: 'QAT_SYM_SGL_MAX_NUMBER' undeclared (first use in this function)
279 | cipher_len, in_sgl->vec, QAT_SYM_SGL_MAX_NUMBER);
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h: At top level:
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:313:24: error: 'struct qat_sym_op_cookie' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
313 | struct qat_sym_op_cookie *cookie)
| ^~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h: In function 'qat_sym_convert_op_to_vec_auth':
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:354:25: error: 'QAT_SYM_SGL_MAX_NUMBER' undeclared (first use in this function)
354 | QAT_SYM_SGL_MAX_NUMBER);
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:380:38: error: invalid use of undefined type 'struct qat_sym_op_cookie'
380 | digest->iova = cookie->digest_null_phys_addr;
| ^~
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h: At top level:
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:394:24: error: 'struct qat_sym_op_cookie' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
394 | struct qat_sym_op_cookie *cookie)
| ^~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h: In function 'qat_sym_convert_op_to_vec_chain':
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:421:38: error: invalid use of undefined type 'struct qat_sym_op_cookie'
421 | digest->iova = cookie->digest_null_phys_addr;
| ^~
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:514:38: error: 'QAT_SYM_SGL_MAX_NUMBER' undeclared (first use in this function)
514 | in_sgl->vec, QAT_SYM_SGL_MAX_NUMBER);
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h: In function 'qat_sym_convert_op_to_vec_aead':
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:566:38: error: 'QAT_SYM_SGL_MAX_NUMBER' undeclared (first use in this function)
566 | in_sgl->vec, QAT_SYM_SGL_MAX_NUMBER);
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h: At top level:
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:622:16: error: 'struct qat_sym_op_cookie' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
622 | struct qat_sym_op_cookie *cookie)
| ^~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h: In function 'enqueue_one_cipher_job_gen1':
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:640:23: error: invalid use of undefined type 'struct qat_sym_op_cookie'
640 | cookie->status = RTE_CRYPTO_OP_STATUS_INVALID_ARGS;
| ^~
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h: At top level:
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:699:16: error: 'struct qat_sym_op_cookie' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
699 | struct qat_sym_op_cookie *cookie)
| ^~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h: In function 'enqueue_one_chain_job_gen1':
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:741:23: error: invalid use of undefined type 'struct qat_sym_op_cookie'
741 | cookie->status = RTE_CRYPTO_OP_STATUS_INVALID_ARGS;
| ^~
cc1: all warnings being treated as errors
[793/1914] Generating symbol file drivers/librte_bus_vdev.so.24.1.p/librte_bus_vdev.so.24.1.symbols
[794/1914] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/efx_evb.c.o
[795/1914] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/efx_ev.c.o
[796/1914] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/efx_hash.c.o
[797/1914] Generating drivers/rte_bus_pci.sym_chk with a custom command (wrapped by meson to capture output)
[798/1914] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/efx_filter.c.o
[799/1914] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/efx_intr.c.o
[800/1914] Generating drivers/rte_common_idpf.sym_chk with a custom command (wrapped by meson to capture output)
[801/1914] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_asym.c.o
ninja: build stopped
*Build Failed #2:
OS: FreeBSD13-64
Target: x86_64-native-bsdapp-clang
FAILED: drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_asym_pmd_gen1.c.o
clang -Idrivers/libtmp_rte_common_qat.a.p -Idrivers -I../drivers -Idrivers/common/qat -I../drivers/common/qat -I../drivers/common/qat/qat_adf -I../drivers/crypto/qat -I../drivers/compress/qat -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/pci -I../lib/pci -Ilib/cryptodev -I../lib/cryptodev -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Ilib/net -I../lib/net -Ilib/compressdev -I../lib/compressdev -Ilib/security -I../lib/security -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DBUILD_QAT_ASYM -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.qat -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_asym_pmd_gen1.c.o -MF drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_asym_pmd_gen1.c.o.d -o drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_asym_pmd_gen1.c.o -c ../drivers/crypto/qat/dev/qat_asym_pmd_gen1.c
In file included from ../drivers/crypto/qat/dev/qat_asym_pmd_gen1.c:9:
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:98:3: error: implicit declaration of function 'bpi_cipher_ipsec' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
bpi_cipher_ipsec(last_block, dst, iv, last_block_len, ctx->expkey,
^
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:120:45: error: use of undeclared identifier 'BYTE_LENGTH'
if (unlikely((op->sym->auth.data.offset % BYTE_LENGTH != 0) ||
^
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:121:34: error: use of undeclared identifier 'BYTE_LENGTH'
(op->sym->auth.data.length % BYTE_LENGTH != 0)))
^
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:135:47: error: use of undeclared identifier 'BYTE_LENGTH'
if (unlikely((op->sym->cipher.data.length % BYTE_LENGTH != 0) ||
^
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:137:4: error: use of undeclared identifier 'BYTE_LENGTH'
BYTE_LENGTH) != 0)))
^
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:146:24: error: declaration of 'struct qat_sym_op_cookie' will not be visible outside of this function [-Werror,-Wvisibility]
void *opaque, struct qat_sym_op_cookie *cookie,
^
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:156:36: error: use of undeclared identifier 'QAT_SYM_SGL_MAX_NUMBER'
if (unlikely(n_src < 1 || n_src > QAT_SYM_SGL_MAX_NUMBER ||
^
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:157:12: error: use of undeclared identifier 'QAT_SYM_SGL_MAX_NUMBER'
n_dst > QAT_SYM_SGL_MAX_NUMBER))
^
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:180:35: error: incomplete definition of type 'struct qat_sym_op_cookie'
list = (struct qat_sgl *)&cookie->qat_sgl_src;
~~~~~~^
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:146:24: note: forward declaration of 'struct qat_sym_op_cookie'
void *opaque, struct qat_sym_op_cookie *cookie,
^
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:193:26: error: incomplete definition of type 'struct qat_sym_op_cookie'
src_data_start = cookie->qat_sgl_src_phys_addr;
~~~~~~^
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:146:24: note: forward declaration of 'struct qat_sym_op_cookie'
void *opaque, struct qat_sym_op_cookie *cookie,
^
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:198:36: error: incomplete definition of type 'struct qat_sym_op_cookie'
list = (struct qat_sgl *)&cookie->qat_sgl_dst;
~~~~~~^
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:146:24: note: forward declaration of 'struct qat_sym_op_cookie'
void *opaque, struct qat_sym_op_cookie *cookie,
^
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:215:27: error: incomplete definition of type 'struct qat_sym_op_cookie'
dst_data_start = cookie->qat_sgl_dst_phys_addr;
~~~~~~^
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:146:24: note: forward declaration of 'struct qat_sym_op_cookie'
void *opaque, struct qat_sym_op_cookie *cookie,
^
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:279:29: error: use of undeclared identifier 'QAT_SYM_SGL_MAX_NUMBER'
cipher_len, in_sgl->vec, QAT_SYM_SGL_MAX_NUMBER);
^
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:292:5: error: use of undeclared identifier 'QAT_SYM_SGL_MAX_NUMBER'
QAT_SYM_SGL_MAX_NUMBER);
^
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:313:10: error: declaration of 'struct qat_sym_op_cookie' will not be visible outside of this function [-Werror,-Wvisibility]
struct qat_sym_op_cookie *cookie)
^
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:354:4: error: use of undeclared identifier 'QAT_SYM_SGL_MAX_NUMBER'
QAT_SYM_SGL_MAX_NUMBER);
^
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:367:5: error: use of undeclared identifier 'QAT_SYM_SGL_MAX_NUMBER'
QAT_SYM_SGL_MAX_NUMBER);
^
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:380:24: error: incomplete definition of type 'struct qat_sym_op_cookie'
digest->iova = cookie->digest_null_phys_addr;
~~~~~~^
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:313:10: note: forward declaration of 'struct qat_sym_op_cookie'
struct qat_sym_op_cookie *cookie)
^
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:394:10: error: declaration of 'struct qat_sym_op_cookie' will not be visible outside of this function [-Werror,-Wvisibility]
struct qat_sym_op_cookie *cookie)
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[536/1914] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/efx_bootcfg.c.o
[537/1914] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_asym.c.o
[538/1914] Generating drivers/rte_common_cpt.pmd.c with a custom command
[539/1914] Generating drivers/rte_bus_auxiliary.pmd.c with a custom command
[540/1914] Generating drivers/rte_bus_ifpga.pmd.c with a custom command
[541/1914] Generating drivers/rte_common_iavf.pmd.c with a custom command
[542/1914] Generating drivers/rte_bus_vdev.pmd.c with a custom command
[543/1914] Generating drivers/rte_bus_pci.pmd.c with a custom command
[544/1914] Generating drivers/rte_common_idpf.pmd.c with a custom command
ninja: build stopped
*Build Failed #3:
OS: FreeBSD13-64
Target: x86_64-native-bsdapp-gcc+shared
FAILED: drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_asym_pmd_gen1.c.o
gcc -Idrivers/libtmp_rte_common_qat.a.p -Idrivers -I../drivers -Idrivers/common/qat -I../drivers/common/qat -I../drivers/common/qat/qat_adf -I../drivers/crypto/qat -I../drivers/compress/qat -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/pci -I../lib/pci -Ilib/cryptodev -I../lib/cryptodev -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Ilib/net -I../lib/net -Ilib/compressdev -I../lib/compressdev -Ilib/security -I../lib/security -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DBUILD_QAT_ASYM -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.qat -MD -MQ drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_asym_pmd_gen1.c.o -MF drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_asym_pmd_gen1.c.o.d -o drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_asym_pmd_gen1.c.o -c ../drivers/crypto/qat/dev/qat_asym_pmd_gen1.c
In file included from ../drivers/crypto/qat/dev/qat_asym_pmd_gen1.c:9:
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h: In function 'qat_bpicipher_preprocess':
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:98:17: error: implicit declaration of function 'bpi_cipher_ipsec' [-Werror=implicit-function-declaration]
98 | bpi_cipher_ipsec(last_block, dst, iv, last_block_len, ctx->expkey,
| ^~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:98:17: error: nested extern declaration of 'bpi_cipher_ipsec' [-Werror=nested-externs]
In file included from ../lib/eal/x86/include/rte_spinlock.h:15,
from ../lib/mempool/rte_mempool.h:43,
from ../lib/mbuf/rte_mbuf.h:38,
from ../lib/cryptodev/rte_crypto.h:19,
from ../lib/cryptodev/rte_cryptodev.h:23,
from ../drivers/crypto/qat/dev/qat_asym_pmd_gen1.c:5:
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h: In function 'qat_auth_is_len_in_bits':
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:120:59: error: 'BYTE_LENGTH' undeclared (first use in this function)
120 | if (unlikely((op->sym->auth.data.offset % BYTE_LENGTH != 0) ||
| ^~~~~~~~~~~
../lib/eal/include/rte_branch_prediction.h:47:45: note: in definition of macro 'unlikely'
47 | #define unlikely(x) __builtin_expect(!!(x), 0)
| ^
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:120:59: note: each undeclared identifier is reported only once for each function it appears in
120 | if (unlikely((op->sym->auth.data.offset % BYTE_LENGTH != 0) ||
| ^~~~~~~~~~~
../lib/eal/include/rte_branch_prediction.h:47:45: note: in definition of macro 'unlikely'
47 | #define unlikely(x) __builtin_expect(!!(x), 0)
| ^
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h: In function 'qat_cipher_is_len_in_bits':
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:135:61: error: 'BYTE_LENGTH' undeclared (first use in this function)
135 | if (unlikely((op->sym->cipher.data.length % BYTE_LENGTH != 0) ||
| ^~~~~~~~~~~
../lib/eal/include/rte_branch_prediction.h:47:45: note: in definition of macro 'unlikely'
47 | #define unlikely(x) __builtin_expect(!!(x), 0)
| ^
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h: At top level:
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:146:38: error: 'struct qat_sym_op_cookie' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
146 | void *opaque, struct qat_sym_op_cookie *cookie,
| ^~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h: In function 'qat_sym_build_req_set_data':
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:156:43: error: 'QAT_SYM_SGL_MAX_NUMBER' undeclared (first use in this function)
156 | if (unlikely(n_src < 1 || n_src > QAT_SYM_SGL_MAX_NUMBER ||
| ^~~~~~~~~~~~~~~~~~~~~~
../lib/eal/include/rte_branch_prediction.h:47:45: note: in definition of macro 'unlikely'
47 | #define unlikely(x) __builtin_expect(!!(x), 0)
| ^
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:180:49: error: invalid use of undefined type 'struct qat_sym_op_cookie'
180 | list = (struct qat_sgl *)&cookie->qat_sgl_src;
| ^~
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:193:40: error: invalid use of undefined type 'struct qat_sym_op_cookie'
193 | src_data_start = cookie->qat_sgl_src_phys_addr;
| ^~
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:198:57: error: invalid use of undefined type 'struct qat_sym_op_cookie'
198 | list = (struct qat_sgl *)&cookie->qat_sgl_dst;
| ^~
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:215:48: error: invalid use of undefined type 'struct qat_sym_op_cookie'
215 | dst_data_start = cookie->qat_sgl_dst_phys_addr;
| ^~
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h: In function 'qat_sym_convert_op_to_vec_cipher':
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:279:50: error: 'QAT_SYM_SGL_MAX_NUMBER' undeclared (first use in this function)
279 | cipher_len, in_sgl->vec, QAT_SYM_SGL_MAX_NUMBER);
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h: At top level:
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:313:24: error: 'struct qat_sym_op_cookie' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
313 | struct qat_sym_op_cookie *cookie)
| ^~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h: In function 'qat_sym_convert_op_to_vec_auth':
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:354:25: error: 'QAT_SYM_SGL_MAX_NUMBER' undeclared (first use in this function)
354 | QAT_SYM_SGL_MAX_NUMBER);
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:380:38: error: invalid use of undefined type 'struct qat_sym_op_cookie'
380 | digest->iova = cookie->digest_null_phys_addr;
| ^~
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h: At top level:
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:394:24: error: 'struct qat_sym_op_cookie' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
394 | struct qat_sym_op_cookie *cookie)
| ^~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h: In function 'qat_sym_convert_op_to_vec_chain':
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:421:38: error: invalid use of undefined type 'struct qat_sym_op_cookie'
421 | digest->iova = cookie->digest_null_phys_addr;
| ^~
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:514:38: error: 'QAT_SYM_SGL_MAX_NUMBER' undeclared (first use in this function)
514 | in_sgl->vec, QAT_SYM_SGL_MAX_NUMBER);
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h: In function 'qat_sym_convert_op_to_vec_aead':
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:566:38: error: 'QAT_SYM_SGL_MAX_NUMBER' undeclared (first use in this function)
566 | in_sgl->vec, QAT_SYM_SGL_MAX_NUMBER);
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h: At top level:
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:622:16: error: 'struct qat_sym_op_cookie' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
622 | struct qat_sym_op_cookie *cookie)
| ^~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h: In function 'enqueue_one_cipher_job_gen1':
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:640:23: error: invalid use of undefined type 'struct qat_sym_op_cookie'
640 | cookie->status = RTE_CRYPTO_OP_STATUS_INVALID_ARGS;
| ^~
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h: At top level:
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:699:16: error: 'struct qat_sym_op_cookie' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
699 | struct qat_sym_op_cookie *cookie)
| ^~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h: In function 'enqueue_one_chain_job_gen1':
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:741:23: error: invalid use of undefined type 'struct qat_sym_op_cookie'
741 | cookie->status = RTE_CRYPTO_OP_STATUS_INVALID_ARGS;
| ^~
cc1: all warnings being treated as errors
[597/1809] Generating symbol file drivers/librte_common_idpf.so.24.1.p/librte_common_idpf.so.24.1.symbols
[598/1809] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/efx_filter.c.o
[599/1809] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/efx_hash.c.o
[600/1809] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/efx_intr.c.o
[601/1809] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/efx_lic.c.o
[602/1809] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/efx_mac.c.o
[603/1809] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/efx_mae.c.o
[604/1809] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_asym.c.o
[605/1809] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o
ninja: build stopped
*Build Failed #4:
OS: SUSE15-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_asym_pmd_gen1.c.o
clang -Idrivers/libtmp_rte_common_qat.a.p -Idrivers -I../drivers -Idrivers/common/qat -I../drivers/common/qat -I../drivers/common/qat/qat_adf -I../drivers/crypto/qat -I../drivers/compress/qat -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/pci -I../lib/pci -Ilib/cryptodev -I../lib/cryptodev -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Ilib/net -I../lib/net -Ilib/compressdev -I../lib/compressdev -Ilib/security -I../lib/security -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DBUILD_QAT_ASYM -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.qat -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_asym_pmd_gen1.c.o -MF drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_asym_pmd_gen1.c.o.d -o drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_asym_pmd_gen1.c.o -c ../drivers/crypto/qat/dev/qat_asym_pmd_gen1.c
In file included from ../drivers/crypto/qat/dev/qat_asym_pmd_gen1.c:9:
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:98:3: error: call to undeclared function 'bpi_cipher_ipsec'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
bpi_cipher_ipsec(last_block, dst, iv, last_block_len, ctx->expkey,
^
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:120:45: error: use of undeclared identifier 'BYTE_LENGTH'
if (unlikely((op->sym->auth.data.offset % BYTE_LENGTH != 0) ||
^
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:121:34: error: use of undeclared identifier 'BYTE_LENGTH'
(op->sym->auth.data.length % BYTE_LENGTH != 0)))
^
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:135:47: error: use of undeclared identifier 'BYTE_LENGTH'
if (unlikely((op->sym->cipher.data.length % BYTE_LENGTH != 0) ||
^
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:137:4: error: use of undeclared identifier 'BYTE_LENGTH'
BYTE_LENGTH) != 0)))
^
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:146:24: error: declaration of 'struct qat_sym_op_cookie' will not be visible outside of this function [-Werror,-Wvisibility]
void *opaque, struct qat_sym_op_cookie *cookie,
^
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:156:36: error: use of undeclared identifier 'QAT_SYM_SGL_MAX_NUMBER'
if (unlikely(n_src < 1 || n_src > QAT_SYM_SGL_MAX_NUMBER ||
^
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:157:12: error: use of undeclared identifier 'QAT_SYM_SGL_MAX_NUMBER'
n_dst > QAT_SYM_SGL_MAX_NUMBER))
^
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:180:35: error: incomplete definition of type 'struct qat_sym_op_cookie'
list = (struct qat_sgl *)&cookie->qat_sgl_src;
~~~~~~^
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:146:24: note: forward declaration of 'struct qat_sym_op_cookie'
void *opaque, struct qat_sym_op_cookie *cookie,
^
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:193:26: error: incomplete definition of type 'struct qat_sym_op_cookie'
src_data_start = cookie->qat_sgl_src_phys_addr;
~~~~~~^
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:146:24: note: forward declaration of 'struct qat_sym_op_cookie'
void *opaque, struct qat_sym_op_cookie *cookie,
^
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:198:36: error: incomplete definition of type 'struct qat_sym_op_cookie'
list = (struct qat_sgl *)&cookie->qat_sgl_dst;
~~~~~~^
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:146:24: note: forward declaration of 'struct qat_sym_op_cookie'
void *opaque, struct qat_sym_op_cookie *cookie,
^
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:215:27: error: incomplete definition of type 'struct qat_sym_op_cookie'
dst_data_start = cookie->qat_sgl_dst_phys_addr;
~~~~~~^
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:146:24: note: forward declaration of 'struct qat_sym_op_cookie'
void *opaque, struct qat_sym_op_cookie *cookie,
^
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:279:29: error: use of undeclared identifier 'QAT_SYM_SGL_MAX_NUMBER'
cipher_len, in_sgl->vec, QAT_SYM_SGL_MAX_NUMBER);
^
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:292:5: error: use of undeclared identifier 'QAT_SYM_SGL_MAX_NUMBER'
QAT_SYM_SGL_MAX_NUMBER);
^
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:313:10: error: declaration of 'struct qat_sym_op_cookie' will not be visible outside of this function [-Werror,-Wvisibility]
struct qat_sym_op_cookie *cookie)
^
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:354:4: error: use of undeclared identifier 'QAT_SYM_SGL_MAX_NUMBER'
QAT_SYM_SGL_MAX_NUMBER);
^
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:367:5: error: use of undeclared identifier 'QAT_SYM_SGL_MAX_NUMBER'
QAT_SYM_SGL_MAX_NUMBER);
^
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:380:24: error: incomplete definition of type 'struct qat_sym_op_cookie'
digest->iova = cookie->digest_null_phys_addr;
~~~~~~^
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:313:10: note: forward declaration of 'struct qat_sym_op_cookie'
struct qat_sym_op_cookie *cookie)
^
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:394:10: error: declaration of 'struct qat_sym_op_cookie' will not be visible outside of this function [-Werror,-Wvisibility]
struct qat_sym_op_cookie *cookie)
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[798/2859] Compiling C object drivers/librte_common_cnxk.so.24.1.p/meson-generated_.._rte_common_cnxk.pmd.c.o
[799/2859] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/efx_ev.c.o
[800/2859] Generating drivers/rte_common_nfp.sym_chk with a custom command (wrapped by meson to capture output)
[801/2859] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/efx_evb.c.o
[802/2859] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/efx_filter.c.o
[803/2859] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/efx_hash.c.o
[804/2859] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/efx_intr.c.o
[805/2859] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_asym.c.o
[806/2859] Generating drivers/rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped
*Build Failed #5:
OS: SUSE15-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_asym_pmd_gen1.c.o
gcc -Idrivers/libtmp_rte_common_qat.a.p -Idrivers -I../drivers -Idrivers/common/qat -I../drivers/common/qat -I../drivers/common/qat/qat_adf -I../drivers/crypto/qat -I../drivers/compress/qat -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/pci -I../lib/pci -Ilib/cryptodev -I../lib/cryptodev -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Ilib/net -I../lib/net -Ilib/compressdev -I../lib/compressdev -Ilib/security -I../lib/security -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DBUILD_QAT_ASYM -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.qat -MD -MQ drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_asym_pmd_gen1.c.o -MF drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_asym_pmd_gen1.c.o.d -o drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_asym_pmd_gen1.c.o -c ../drivers/crypto/qat/dev/qat_asym_pmd_gen1.c
In file included from ../drivers/crypto/qat/dev/qat_asym_pmd_gen1.c:9:0:
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h: In function ‘qat_bpicipher_preprocess’:
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:98:3: error: implicit declaration of function ‘bpi_cipher_ipsec’ [-Werror=implicit-function-declaration]
bpi_cipher_ipsec(last_block, dst, iv, last_block_len, ctx->expkey,
^~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:98:3: error: nested extern declaration of ‘bpi_cipher_ipsec’ [-Werror=nested-externs]
In file included from ../lib/eal/x86/include/rte_spinlock.h:15:0,
from ../lib/mempool/rte_mempool.h:43,
from ../lib/mbuf/rte_mbuf.h:38,
from ../lib/cryptodev/rte_crypto.h:19,
from ../lib/cryptodev/rte_cryptodev.h:23,
from ../drivers/crypto/qat/dev/qat_asym_pmd_gen1.c:5:
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h: In function ‘qat_auth_is_len_in_bits’:
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:120:45: error: ‘BYTE_LENGTH’ undeclared (first use in this function)
if (unlikely((op->sym->auth.data.offset % BYTE_LENGTH != 0) ||
^
../lib/eal/include/rte_branch_prediction.h:47:41: note: in definition of macro ‘unlikely’
#define unlikely(x) __builtin_expect(!!(x), 0)
^
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:120:45: note: each undeclared identifier is reported only once for each function it appears in
if (unlikely((op->sym->auth.data.offset % BYTE_LENGTH != 0) ||
^
../lib/eal/include/rte_branch_prediction.h:47:41: note: in definition of macro ‘unlikely’
#define unlikely(x) __builtin_expect(!!(x), 0)
^
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h: In function ‘qat_cipher_is_len_in_bits’:
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:135:47: error: ‘BYTE_LENGTH’ undeclared (first use in this function)
if (unlikely((op->sym->cipher.data.length % BYTE_LENGTH != 0) ||
^
../lib/eal/include/rte_branch_prediction.h:47:41: note: in definition of macro ‘unlikely’
#define unlikely(x) __builtin_expect(!!(x), 0)
^
In file included from ../drivers/crypto/qat/dev/qat_asym_pmd_gen1.c:9:0:
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h: At top level:
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:146:24: error: ‘struct qat_sym_op_cookie’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
void *opaque, struct qat_sym_op_cookie *cookie,
^~~~~~~~~~~~~~~~~
In file included from ../lib/eal/x86/include/rte_spinlock.h:15:0,
from ../lib/mempool/rte_mempool.h:43,
from ../lib/mbuf/rte_mbuf.h:38,
from ../lib/cryptodev/rte_crypto.h:19,
from ../lib/cryptodev/rte_cryptodev.h:23,
from ../drivers/crypto/qat/dev/qat_asym_pmd_gen1.c:5:
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h: In function ‘qat_sym_build_req_set_data’:
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:156:36: error: ‘QAT_SYM_SGL_MAX_NUMBER’ undeclared (first use in this function); did you mean ‘QAT_ASYM_MAX_PARAMS’?
if (unlikely(n_src < 1 || n_src > QAT_SYM_SGL_MAX_NUMBER ||
^
../lib/eal/include/rte_branch_prediction.h:47:41: note: in definition of macro ‘unlikely’
#define unlikely(x) __builtin_expect(!!(x), 0)
^
In file included from ../drivers/crypto/qat/dev/qat_asym_pmd_gen1.c:9:0:
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:180:35: error: dereferencing pointer to incomplete type ‘struct qat_sym_op_cookie’
list = (struct qat_sgl *)&cookie->qat_sgl_src;
^~
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h: In function ‘qat_sym_convert_op_to_vec_cipher’:
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:279:29: error: ‘QAT_SYM_SGL_MAX_NUMBER’ undeclared (first use in this function); did you mean ‘QAT_ASYM_MAX_PARAMS’?
cipher_len, in_sgl->vec, QAT_SYM_SGL_MAX_NUMBER);
^~~~~~~~~~~~~~~~~~~~~~
QAT_ASYM_MAX_PARAMS
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h: At top level:
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:313:10: error: ‘struct qat_sym_op_cookie’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct qat_sym_op_cookie *cookie)
^~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h: In function ‘qat_sym_convert_op_to_vec_auth’:
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:354:4: error: ‘QAT_SYM_SGL_MAX_NUMBER’ undeclared (first use in this function); did you mean ‘QAT_ASYM_MAX_PARAMS’?
QAT_SYM_SGL_MAX_NUMBER);
^~~~~~~~~~~~~~~~~~~~~~
QAT_ASYM_MAX_PARAMS
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:380:24: error: dereferencing pointer to incomplete type ‘struct qat_sym_op_cookie’
digest->iova = cookie->digest_null_phys_addr;
^~
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h: At top level:
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:394:10: error: ‘struct qat_sym_op_cookie’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct qat_sym_op_cookie *cookie)
^~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h: In function ‘qat_sym_convert_op_to_vec_chain’:
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:421:24: error: dereferencing pointer to incomplete type ‘struct qat_sym_op_cookie’
digest->iova = cookie->digest_null_phys_addr;
^~
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:514:17: error: ‘QAT_SYM_SGL_MAX_NUMBER’ undeclared (first use in this function); did you mean ‘QAT_ASYM_MAX_PARAMS’?
in_sgl->vec, QAT_SYM_SGL_MAX_NUMBER);
^~~~~~~~~~~~~~~~~~~~~~
QAT_ASYM_MAX_PARAMS
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h: In function ‘qat_sym_convert_op_to_vec_aead’:
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:566:17: error: ‘QAT_SYM_SGL_MAX_NUMBER’ undeclared (first use in this function); did you mean ‘QAT_ASYM_MAX_PARAMS’?
in_sgl->vec, QAT_SYM_SGL_MAX_NUMBER);
^~~~~~~~~~~~~~~~~~~~~~
QAT_ASYM_MAX_PARAMS
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h: At top level:
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:622:9: error: ‘struct qat_sym_op_cookie’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct qat_sym_op_cookie *cookie)
^~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h: In function ‘enqueue_one_cipher_job_gen1’:
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:640:9: error: dereferencing pointer to incomplete type ‘struct qat_sym_op_cookie’
cookie->status = RTE_CRYPTO_OP_STATUS_INVALID_ARGS;
^~
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h: At top level:
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:699:9: error: ‘struct qat_sym_op_cookie’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct qat_sym_op_cookie *cookie)
^~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h: In function ‘enqueue_one_chain_job_gen1’:
../drivers/crypto/qat/dev/qat_crypto_pmd_gens.h:741:9: error: dereferencing pointer to incomplete type ‘struct qat_sym_op_cookie’
cookie->status = RTE_CRYPTO_OP_STATUS_INVALID_ARGS;
^~
cc1: all warnings being treated as errors
[790/2857] Linking static target drivers/librte_common_cnxk.a
[791/2857] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/efx_ev.c.o
[792/2857] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/efx_evb.c.o
[793/2857] Generating drivers/rte_common_nfp.sym_chk with a custom command (wrapped by meson to capture output)
[794/2857] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/efx_intr.c.o
[795/2857] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/efx_hash.c.o
[796/2857] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/efx_filter.c.o
[797/2857] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o
[798/2857] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_asym.c.o
ninja: build stopped
DPDK STV team
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-12-21 15:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-21 15:05 compilation|FAILURE| pw(135430) sid(30645) job(PER_PATCH_BUILD10511)[v1] common/qat: option to disable asym driver 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).