|FAILURE| pw127647 [PATCH v2] crypto/qat: add SM3 HMAC to gen4 devices

qemudev at loongson.cn qemudev at loongson.cn
Mon May 29 02:45:49 CEST 2023


Test-Label: loongarch-compilation
Test-Status: FAILURE
http://dpdk.org/patch/127647

_ninja build failure_

Submitter: Kusztal, ArkadiuszX <arkadiuszx.kusztal at intel.com>
Date: Sun, 28 May 2023 17:36:25 +0000
DPDK git baseline: Repo:dpdk-next-crypto
  Branch: for-main
  CommitID: 4f59fbae91a2f10ce2ff5617ee693c5f3066e235

127647 --> ninja build failed

Test environment and result as below:

+---------------------+----------------+
|     Environment     | compilation    |
+---------------------+----------------+
| Loongnix-Server 8.3 | FAIL           |
+---------------------+----------------+

Loongnix-Server 8.3
    Kernel: 4.19.190+
    Compiler: gcc 8.3


Ninja build logs:
-------------------------------BEGIN LOGS----------------------------
FAILED: drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_sym_session.c.o
cc -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/loongarch/include -I../lib/eal/loongarch/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/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 -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -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=loongarch64 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DBUILD_QAT_SYM -DBUILD_QAT_ASYM -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.qat -MD -MQ drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_sym_session.c.o -MF drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_sym_session.c.o.d -o drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_sym_session.c.o -c ../drivers/crypto/qat/qat_sym_session.c
./drivers/crypto/qat/qat_sym_session.c: In function ‘qat_sym_session_configure_auth’:
./drivers/crypto/qat/qat_sym_session.c:757:7: error: ‘RTE_CRYPTO_AUTH_SM3_HMAC’ undeclared (first use in this function); did you mean ‘RTE_CRYPTO_AUTH_SHA1_HMAC’?
case RTE_CRYPTO_AUTH_SM3_HMAC:
^~~~~~~~~~~~~~~~~~~~~~~~
RTE_CRYPTO_AUTH_SHA1_HMAC
./drivers/crypto/qat/qat_sym_session.c:757:7: note: each undeclared identifier is reported only once for each function it appears in
[599/2869] Compiling C object drivers/libtmp_rte_common_qat.a.p/common_qat_dev_qat_dev_gen4.c.o
[600/2869] Compiling C object drivers/libtmp_rte_common_cnxk.a.p/common_cnxk_cnxk_security.c.o
[601/2869] Compiling C object drivers/libtmp_rte_common_qat.a.p/common_qat_qat_device.c.o
[602/2869] Compiling C object drivers/libtmp_rte_common_cnxk.a.p/common_cnxk_roc_sso.c.o
[603/2869] Compiling C object drivers/libtmp_rte_common_qat.a.p/compress_qat_qat_comp_pmd.c.o
[604/2869] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.c.o
FAILED: drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.c.o
cc -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/loongarch/include -I../lib/eal/loongarch/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/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 -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -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=loongarch64 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DBUILD_QAT_SYM -DBUILD_QAT_ASYM -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.qat -MD -MQ drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.c.o -MF drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.c.o.d -o drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.c.o -c ../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c
In file included from ../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c:8:
./drivers/crypto/qat/qat_sym.h:62:13: error: ‘RTE_CRYPTO_AUTH_SM3_HMAC’ undeclared here (not in a function); did you mean ‘RTE_CRYPTO_AUTH_SHA1_HMAC’?
.algo = RTE_CRYPTO_AUTH_##n, ^~~~~~~~~~~~~~~~
./drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c:106:2: note: in expansion of macro ‘QAT_SYM_AUTH_CAP’
QAT_SYM_AUTH_CAP(SM3_HMAC,
^~~~~~~~~~~~~~~~
[605/2869] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_crypto.c.o
[606/2869] Compiling C object drivers/libtmp_rte_common_cnxk.a.p/common_cnxk_cnxk_telemetry_nix.c.o
[607/2869] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_asym_pmd_gen1.c.o
[608/2869] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_sym.c.o
[609/2869] Compiling C object drivers/libtmp_rte_mempool_cnxk.a.p/mempool_cnxk_cnxk_mempool_telemetry.c.o
[610/2869] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen2.c.o
[611/2869] Compiling C object drivers/libtmp_rte_mempool_cnxk.a.p/mempool_cnxk_cnxk_mempool.c.o
[612/2869] Generating rte_bus_dpaa.pmd.c with a custom command
[613/2869] Compiling C object drivers/libtmp_rte_mempool_cnxk.a.p/mempool_cnxk_cn9k_mempool_ops.c.o
[614/2869] Compiling C object drivers/libtmp_rte_common_qat.a.p/common_qat_qat_qp.c.o
[615/2869] Compiling C object drivers/libtmp_rte_mempool_cnxk.a.p/mempool_cnxk_cnxk_mempool_ops.c.o
[616/2869] Compiling C object drivers/libtmp_rte_common_qat.a.p/compress_qat_qat_comp.c.o
[617/2869] Generating rte_bus_vmbus.sym_chk with a custom command (wrapped by meson to capture output)
[618/2869] Compiling C object drivers/libtmp_rte_raw_skeleton.a.p/raw_skeleton_skeleton_rawdev_test.c.o
[619/2869] Generating rte_bus_pci.sym_chk with a custom command (wrapped by meson to capture output)
[620/2869] Compiling C object drivers/libtmp_rte_common_cnxk.a.p/common_cnxk_roc_nix_tm.c.o
[621/2869] Compiling C object drivers/libtmp_rte_common_cnxk.a.p/common_cnxk_roc_npc_mcam.c.o
[622/2869] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_asym.c.o
[623/2869] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.c.o
[624/2869] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_sym_pmd_gen1.c.o
[625/2869] Generating rte_common_idpf.sym_chk with a custom command (wrapped by meson to capture output)
[626/2869] Compiling C object drivers/libtmp_rte_mempool_bucket.a.p/mempool_bucket_rte_mempool_bucket.c.o
[627/2869] Generating rte_bus_fslmc.sym_chk with a custom command (wrapped by meson to capture output)
[628/2869] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_swx_pipeline.c.o
[629/2869] Generating ethdev.sym_chk with a custom command (wrapped by meson to capture output)
[630/2869] Generating eal.sym_chk with a custom command (wrapped by meson to capture output)
[631/2869] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o
ninja: build stopped: subcommand failed.
-------------------------------END LOGS------------------------------



More information about the test-report mailing list