* |FAILURE| pw151805-151808 [v3 6/6] test/crypto: add tests for virtio user PMD [not found] <588565de4bf61dbb0068ff4098ac436d1cc3d90e.1740156584.git.gmuthukrishn@marvell.com> @ 2025-02-21 17:16 ` qemudev 2025-02-21 17:42 ` |SUCCESS| pw151808 " checkpatch 2025-02-21 19:04 ` |FAILURE| " 0-day Robot 2 siblings, 0 replies; 3+ messages in thread From: qemudev @ 2025-02-21 17:16 UTC (permalink / raw) To: test-report; +Cc: Gowrishankar Muthukrishnan, zhoumin Test-Label: loongarch-compilation Test-Status: FAILURE http://dpdk.org/patch/151808 _ninja build failure_ Submitter: Gowrishankar Muthukrishnan <gmuthukrishn@marvell.com> Date: Fri, 21 Feb 2025 23:11:11 +0530 DPDK git baseline: Repo:dpdk-next-crypto Branch: for-main CommitID: 95ff85f8acb0c7c912fd29b01428377fcbf1112a 151805-151808 --> 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_crypto_virtio.a.p/crypto_virtio_virtio_user_cryptodev.c.o cc -Idrivers/libtmp_rte_crypto_virtio.a.p -Idrivers -I../drivers -Idrivers/crypto/virtio -I../drivers/crypto/virtio -Ilib/vhost -I../lib/vhost -Ilib/cryptodev -I../lib/cryptodev -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 -I../kernel/linux -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/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-decl arations -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 -DRTE_LOG_DEFAULT_LOGTYPE=pmd.crypto.virtio -MD -MQ drivers/libtmp_rte_crypto_virtio.a.p/crypto_virtio_virtio_user_cryptodev.c.o -MF drivers/libtmp_rte_crypto_virtio.a.p/crypto_virtio_virtio_user_cryptodev.c.o.d -o drivers/libtmp_rte_crypto_virtio.a.p/crypto_virtio_virtio_user_cryptodev.c.o -c ../drivers/crypto/virtio/virtio_user_cryptodev.c ./drivers/crypto/virtio/virtio_user_cryptodev.c: In function ‘virtio_user_get_features’: ./drivers/crypto/virtio/virtio_user_cryptodev.c:124:11: error: ‘VIRTIO_CRYPTO_SERVICE_AKCIPHER’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_SERVICE_CIPHER’? 1ULL << VIRTIO_CRYPTO_SERVICE_AKCIPHER | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./drivers/crypto/virtio/virtio_user_cryptodev.c:139:3: note: in expansion of macro ‘VIRTIO_USER_CRYPTO_PMD_GUEST_FEATURES’ VIRTIO_USER_CRYPTO_PMD_GUEST_FEATURES; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./drivers/crypto/virtio/virtio_user_cryptodev.c:124:11: note: each undeclared identifier is reported only once for each function it appears in 1ULL << VIRTIO_CRYPTO_SERVICE_AKCIPHER | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./drivers/crypto/virtio/virtio_user_cryptodev.c:139:3: note: in expansion of macro ‘VIRTIO_USER_CRYPTO_PMD_GUEST_FEATURES’ VIRTIO_USER_CRYPTO_PMD_GUEST_FEATURES; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./drivers/crypto/virtio/virtio_user_cryptodev.c: In function ‘virtio_user_pmd_probe’: ./drivers/crypto/virtio/virtio_user_cryptodev.c:124:11: error: ‘VIRTIO_CRYPTO_SERVICE_AKCIPHER’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_SERVICE_CIPHER’? 1ULL << VIRTIO_CRYPTO_SERVICE_AKCIPHER | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./drivers/crypto/virtio/virtio_user_cryptodev.c:463:40: note: in expansion of macro ‘VIRTIO_USER_CRYPTO_PMD_GUEST_FEATURES’ if (crypto_virtio_dev_init(cryptodev, VIRTIO_USER_CRYPTO_PMD_GUEST_FEATURES, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./drivers/crypto/virtio/virtio_user_cryptodev.c: In function ‘virtio_user_get_features’: ./drivers/crypto/virtio/virtio_user_cryptodev.c:140:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ [1995/2704] Linking target drivers/librte_net_vmxnet3.so.25.1 [1996/2704] Linking static target drivers/librte_net_qede.a [1997/2704] Compiling C object drivers/libtmp_rte_crypto_virtio.a.p/crypto_virtio_virtio_cryptodev.c.o FAILED: drivers/libtmp_rte_crypto_virtio.a.p/crypto_virtio_virtio_cryptodev.c.o cc -Idrivers/libtmp_rte_crypto_virtio.a.p -Idrivers -I../drivers -Idrivers/crypto/virtio -I../drivers/crypto/virtio -Ilib/vhost -I../lib/vhost -Ilib/cryptodev -I../lib/cryptodev -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 -I../kernel/linux -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/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-decl arations -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 -DRTE_LOG_DEFAULT_LOGTYPE=pmd.crypto.virtio -MD -MQ drivers/libtmp_rte_crypto_virtio.a.p/crypto_virtio_virtio_cryptodev.c.o -MF drivers/libtmp_rte_crypto_virtio.a.p/crypto_virtio_virtio_cryptodev.c.o.d -o drivers/libtmp_rte_crypto_virtio.a.p/crypto_virtio_virtio_cryptodev.c.o -c ../drivers/crypto/virtio/virtio_cryptodev.c ./drivers/crypto/virtio/virtio_cryptodev.c: In function ‘virtio_crypto_asym_clear_session’: ./drivers/crypto/virtio/virtio_cryptodev.c:1076:24: error: ‘VIRTIO_CRYPTO_AKCIPHER_DESTROY_SESSION’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_DESTROY_SESSION’? ctrl->header.opcode = VIRTIO_CRYPTO_AKCIPHER_DESTROY_SESSION; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ VIRTIO_CRYPTO_CIPHER_DESTROY_SESSION ./drivers/crypto/virtio/virtio_cryptodev.c:1076:24: note: each undeclared identifier is reported only once for each function it appears in ./drivers/crypto/virtio/virtio_cryptodev.c: At top level: ./drivers/crypto/virtio/virtio_cryptodev.c:1530:10: warning: ‘struct virtio_crypto_akcipher_session_para’ declared inside parameter list will not be visible outside of this definition or declaration struct virtio_crypto_akcipher_session_para *para) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./drivers/crypto/virtio/virtio_cryptodev.c: In function ‘virtio_crypto_asym_rsa_configure_session’: ./drivers/crypto/virtio/virtio_cryptodev.c:1532:6: error: dereferencing pointer to incomplete type ‘struct virtio_crypto_akcipher_session_para’ para->algo = VIRTIO_CRYPTO_AKCIPHER_RSA; ^~ ./drivers/crypto/virtio/virtio_cryptodev.c:1532:15: error: ‘VIRTIO_CRYPTO_AKCIPHER_RSA’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ARC4’? para->algo = VIRTIO_CRYPTO_AKCIPHER_RSA; ^~~~~~~~~~~~~~~~~~~~~~~~~~ VIRTIO_CRYPTO_CIPHER_ARC4 ./drivers/crypto/virtio/virtio_cryptodev.c:1534:19: error: ‘VIRTIO_CRYPTO_AKCIPHER_KEY_TYPE_PUBLIC’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_AES_CBC’? para->keytype = VIRTIO_CRYPTO_AKCIPHER_KEY_TYPE_PUBLIC; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ VIRTIO_CRYPTO_CIPHER_AES_CBC ./drivers/crypto/virtio/virtio_cryptodev.c:1536:19: error: ‘VIRTIO_CRYPTO_AKCIPHER_KEY_TYPE_PRIVATE’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ENCRYPT’? para->keytype = VIRTIO_CRYPTO_AKCIPHER_KEY_TYPE_PRIVATE; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ VIRTIO_CRYPTO_CIPHER_ENCRYPT ./drivers/crypto/virtio/virtio_cryptodev.c:1539:30: error: ‘VIRTIO_CRYPTO_RSA_RAW_PADDING’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_S_HW_READY’? para->u.rsa.padding_algo = VIRTIO_CRYPTO_RSA_RAW_PADDING; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ VIRTIO_CRYPTO_S_HW_READY ./drivers/crypto/virtio/virtio_cryptodev.c:1541:30: error: ‘VIRTIO_CRYPTO_RSA_PKCS1_PADDING’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_RX_LOG_DBG’? para->u.rsa.padding_algo = VIRTIO_CRYPTO_RSA_PKCS1_PADDING; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ VIRTIO_CRYPTO_RX_LOG_DBG ./drivers/crypto/virtio/virtio_cryptodev.c:1544:28: error: ‘VIRTIO_CRYPTO_RSA_SHA1’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_HASH_SHA1’? para->u.rsa.hash_algo = VIRTIO_CRYPTO_RSA_SHA1; ^~~~~~~~~~~~~~~~~~~~~~ VIRTIO_CRYPTO_HASH_SHA1 ./drivers/crypto/virtio/virtio_cryptodev.c:1547:28: error: ‘VIRTIO_CRYPTO_RSA_SHA224’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_HASH_SHA_224’? para->u.rsa.hash_algo = VIRTIO_CRYPTO_RSA_SHA224; ^~~~~~~~~~~~~~~~~~~~~~~~ VIRTIO_CRYPTO_HASH_SHA_224 ./drivers/crypto/virtio/virtio_cryptodev.c:1550:28: error: ‘VIRTIO_CRYPTO_RSA_SHA256’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_HASH_SHA_256’? para->u.rsa.hash_algo = VIRTIO_CRYPTO_RSA_SHA256; ^~~~~~~~~~~~~~~~~~~~~~~~ VIRTIO_CRYPTO_HASH_SHA_256 ./drivers/crypto/virtio/virtio_cryptodev.c:1553:28: error: ‘VIRTIO_CRYPTO_RSA_SHA512’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_HASH_SHA_512’? para->u.rsa.hash_algo = VIRTIO_CRYPTO_RSA_SHA512; ^~~~~~~~~~~~~~~~~~~~~~~~ VIRTIO_CRYPTO_HASH_SHA_512 ./drivers/crypto/virtio/virtio_cryptodev.c:1556:28: error: ‘VIRTIO_CRYPTO_RSA_MD5’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_HASH_MD5’? para->u.rsa.hash_algo = VIRTIO_CRYPTO_RSA_MD5; ^~~~~~~~~~~~~~~~~~~~~ VIRTIO_CRYPTO_HASH_MD5 ./drivers/crypto/virtio/virtio_cryptodev.c:1559:28: error: ‘VIRTIO_CRYPTO_RSA_NO_HASH’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_NO_HASH’? para->u.rsa.hash_algo = VIRTIO_CRYPTO_RSA_NO_HASH; ^~~~~~~~~~~~~~~~~~~~~~~~~ VIRTIO_CRYPTO_NO_HASH ./drivers/crypto/virtio/virtio_cryptodev.c: In function ‘virtio_crypto_asym_configure_session’: ./drivers/crypto/virtio/virtio_cryptodev.c:1597:28: error: ‘VIRTIO_CRYPTO_AKCIPHER_CREATE_SESSION’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_CREATE_SESSION’? ctrl_req->header.opcode = VIRTIO_CRYPTO_AKCIPHER_CREATE_SESSION; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ VIRTIO_CRYPTO_CIPHER_CREATE_SESSION ./drivers/crypto/virtio/virtio_cryptodev.c:1599:22: error: ‘union <anonymous>’ has no member named ‘akcipher_create_session’; did you mean ‘hash_create_session’? para = &ctrl_req->u.akcipher_create_session.para; ^~~~~~~~~~~~~~~~~~~~~~~ hash_create_session ./drivers/crypto/virtio/virtio_cryptodev.c:1603:27: error: ‘VIRTIO_CRYPTO_AKCIPHER_RSA’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ARC4’? ctrl_req->header.algo = VIRTIO_CRYPTO_AKCIPHER_RSA; ^~~~~~~~~~~~~~~~~~~~~~~~~~ VIRTIO_CRYPTO_CIPHER_ARC4 ./drivers/crypto/virtio/virtio_cryptodev.c:1604:63: warning: passing argument 2 of ‘virtio_crypto_asym_rsa_configure_session’ from incompatible pointer type [-Wincompatible-pointer-types] ret = virtio_crypto_asym_rsa_configure_session(&xform->rsa, para); ^~~~ ./drivers/crypto/virtio/virtio_cryptodev.c:1530:47: note: expected ‘struct virtio_crypto_akcipher_session_para *’ but argument is of type ‘struct virtio_crypto_akcipher_session_para *’ struct virtio_crypto_akcipher_session_para *para) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./drivers/crypto/virtio/virtio_cryptodev.c:1616:15: error: ‘union <anonymous>’ has no member named ‘akcipher_create_session’; did you mean ‘hash_create_session’? ctrl_req->u.akcipher_create_session.para.keylen = ret; ^~~~~~~~~~~~~~~~~~~~~~~ hash_create_session ./drivers/crypto/virtio/virtio_cryptodev.c:1619:7: error: dereferencing pointer to incomplete type ‘struct virtio_crypto_akcipher_session_para’ para->algo = VIRTIO_CRYPTO_NO_AKCIPHER; ^~ ./drivers/crypto/virtio/virtio_cryptodev.c:1619:16: error: ‘VIRTIO_CRYPTO_NO_AKCIPHER’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_NO_CIPHER’? para->algo = VIRTIO_CRYPTO_NO_AKCIPHER; ^~~~~~~~~~~~~~~~~~~~~~~~~ VIRTIO_CRYPTO_NO_CIPHER [1998/2704] Compiling C object drivers/libtmp_rte_raw_ntb.a.p/raw_ntb_ntb.c.o [1999/2704] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_rte_cryptodev_scheduler.c.o [2000/2704] Linking target drivers/librte_net_qede.so.25.1 [2001/2704] Compiling C object drivers/libtmp_rte_crypto_dpaa_sec.a.p/crypto_dpaa_sec_dpaa_sec_raw_dp.c.o [2002/2704] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_pmd.c.o [2003/2704] Compiling C object drivers/libtmp_rte_crypto_virtio.a.p/crypto_virtio_virtio_rxtx.c.o FAILED: drivers/libtmp_rte_crypto_virtio.a.p/crypto_virtio_virtio_rxtx.c.o cc -Idrivers/libtmp_rte_crypto_virtio.a.p -Idrivers -I../drivers -Idrivers/crypto/virtio -I../drivers/crypto/virtio -Ilib/vhost -I../lib/vhost -Ilib/cryptodev -I../lib/cryptodev -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 -I../kernel/linux -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/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-decl arations -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 -DRTE_LOG_DEFAULT_LOGTYPE=pmd.crypto.virtio -MD -MQ drivers/libtmp_rte_crypto_virtio.a.p/crypto_virtio_virtio_rxtx.c.o -MF drivers/libtmp_rte_crypto_virtio.a.p/crypto_virtio_virtio_rxtx.c.o.d -o drivers/libtmp_rte_crypto_virtio.a.p/crypto_virtio_virtio_rxtx.c.o -c ../drivers/crypto/virtio/virtio_rxtx.c ./drivers/crypto/virtio/virtio_rxtx.c: In function ‘virtqueue_crypto_asym_pkt_header_arrange’: ./drivers/crypto/virtio/virtio_rxtx.c:599:7: error: ‘VIRTIO_CRYPTO_AKCIPHER_RSA’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ARC4’? case VIRTIO_CRYPTO_AKCIPHER_RSA: ^~~~~~~~~~~~~~~~~~~~~~~~~~ VIRTIO_CRYPTO_CIPHER_ARC4 ./drivers/crypto/virtio/virtio_rxtx.c:599:7: note: each undeclared identifier is reported only once for each function it appears in ./drivers/crypto/virtio/virtio_rxtx.c:602:30: error: ‘VIRTIO_CRYPTO_AKCIPHER_SIGN’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_MAX_CIPHER_SIZE’? req_data->header.opcode = VIRTIO_CRYPTO_AKCIPHER_SIGN; ^~~~~~~~~~~~~~~~~~~~~~~~~~~ VIRTIO_CRYPTO_MAX_CIPHER_SIZE ./drivers/crypto/virtio/virtio_rxtx.c:603:15: error: ‘union <anonymous>’ has no member named ‘akcipher_req’ req_data->u.akcipher_req.para.src_data_len ^ ./drivers/crypto/virtio/virtio_rxtx.c:605:15: error: ‘union <anonymous>’ has no member named ‘akcipher_req’ req_data->u.akcipher_req.para.dst_data_len ^ ./drivers/crypto/virtio/virtio_rxtx.c:608:30: error: ‘VIRTIO_CRYPTO_AKCIPHER_VERIFY’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_AES_F8’? req_data->header.opcode = VIRTIO_CRYPTO_AKCIPHER_VERIFY; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ VIRTIO_CRYPTO_CIPHER_AES_F8 ./drivers/crypto/virtio/virtio_rxtx.c:609:15: error: ‘union <anonymous>’ has no member named ‘akcipher_req’ req_data->u.akcipher_req.para.src_data_len ^ ./drivers/crypto/virtio/virtio_rxtx.c:611:15: error: ‘union <anonymous>’ has no member named ‘akcipher_req’ req_data->u.akcipher_req.para.dst_data_len ^ ./drivers/crypto/virtio/virtio_rxtx.c:614:30: error: ‘VIRTIO_CRYPTO_AKCIPHER_ENCRYPT’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ENCRYPT’? req_data->header.opcode = VIRTIO_CRYPTO_AKCIPHER_ENCRYPT; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ VIRTIO_CRYPTO_CIPHER_ENCRYPT ./drivers/crypto/virtio/virtio_rxtx.c:615:15: error: ‘union <anonymous>’ has no member named ‘akcipher_req’ req_data->u.akcipher_req.para.src_data_len ^ ./drivers/crypto/virtio/virtio_rxtx.c:617:15: error: ‘union <anonymous>’ has no member named ‘akcipher_req’ req_data->u.akcipher_req.para.dst_data_len ^ ./drivers/crypto/virtio/virtio_rxtx.c:620:30: error: ‘VIRTIO_CRYPTO_AKCIPHER_DECRYPT’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_DECRYPT’? req_data->header.opcode = VIRTIO_CRYPTO_AKCIPHER_DECRYPT; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ VIRTIO_CRYPTO_CIPHER_DECRYPT ./drivers/crypto/virtio/virtio_rxtx.c:621:15: error: ‘union <anonymous>’ has no member named ‘akcipher_req’ req_data->u.akcipher_req.para.src_data_len ^ ./drivers/crypto/virtio/virtio_rxtx.c:623:15: error: ‘union <anonymous>’ has no member named ‘akcipher_req’ req_data->u.akcipher_req.para.dst_data_len ^ ./drivers/crypto/virtio/virtio_rxtx.c:631:27: error: ‘VIRTIO_CRYPTO_NO_AKCIPHER’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_NO_CIPHER’? req_data->header.algo = VIRTIO_CRYPTO_NO_AKCIPHER; ^~~~~~~~~~~~~~~~~~~~~~~~~ VIRTIO_CRYPTO_NO_CIPHER [2004/2704] Compiling C object drivers/libtmp_rte_crypto_virtio.a.p/crypto_virtio_virtio_pci.c.o [2005/2704] Compiling C object drivers/libtmp_rte_crypto_virtio.a.p/crypto_virtio_virtqueue.c.o [2006/2704] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_pmd_ops.c.o [2007/2704] Compiling C object drivers/libtmp_rte_crypto_virtio.a.p/crypto_virtio_virtio_user_virtio_user_dev.c.o FAILED: drivers/libtmp_rte_crypto_virtio.a.p/crypto_virtio_virtio_user_virtio_user_dev.c.o cc -Idrivers/libtmp_rte_crypto_virtio.a.p -Idrivers -I../drivers -Idrivers/crypto/virtio -I../drivers/crypto/virtio -Ilib/vhost -I../lib/vhost -Ilib/cryptodev -I../lib/cryptodev -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 -I../kernel/linux -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/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-decl arations -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 -DRTE_LOG_DEFAULT_LOGTYPE=pmd.crypto.virtio -MD -MQ drivers/libtmp_rte_crypto_virtio.a.p/crypto_virtio_virtio_user_virtio_user_dev.c.o -MF drivers/libtmp_rte_crypto_virtio.a.p/crypto_virtio_virtio_user_virtio_user_dev.c.o.d -o drivers/libtmp_rte_crypto_virtio.a.p/crypto_virtio_virtio_user_virtio_user_dev.c.o -c ../drivers/crypto/virtio/virtio_user/virtio_user_dev.c ./drivers/crypto/virtio/virtio_user/virtio_user_dev.c: In function ‘crypto_virtio_user_dev_init’: ./drivers/crypto/virtio/virtio_user/virtio_user_dev.c:581:11: error: ‘VIRTIO_CRYPTO_SERVICE_AKCIPHER’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_SERVICE_CIPHER’? 1ULL << VIRTIO_CRYPTO_SERVICE_AKCIPHER | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./drivers/crypto/virtio/virtio_user/virtio_user_dev.c:622:32: note: in expansion of macro ‘VIRTIO_USER_SUPPORTED_FEATURES’ dev->unsupported_features = ~(VIRTIO_USER_SUPPORTED_FEATURES | backend_features); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./drivers/crypto/virtio/virtio_user/virtio_user_dev.c:581:11: note: each undeclared identifier is reported only once for each function it appears in 1ULL << VIRTIO_CRYPTO_SERVICE_AKCIPHER | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./drivers/crypto/virtio/virtio_user/virtio_user_dev.c:622:32: note: in expansion of macro ‘VIRTIO_USER_SUPPORTED_FEATURES’ dev->unsupported_features = ~(VIRTIO_USER_SUPPORTED_FEATURES | backend_features); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2008/2704] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_rxtx.c.o [2009/2704] Generating rte_crypto_nitrox.pmd.c with a custom command [2010/2704] Compiling C object drivers/libtmp_rte_crypto_null.a.p/crypto_null_null_crypto_pmd.c.o [2011/2704] Compiling C object drivers/libtmp_rte_crypto_cnxk.a.p/crypto_cnxk_cnxk_cryptodev_ops.c.o [2012/2704] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_roundrobin.c.o [2013/2704] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_failover.c.o [2014/2704] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_pkt_size_distr.c.o [2015/2704] Generating rte_crypto_ionic.pmd.c with a custom command [2016/2704] Compiling C object drivers/libtmp_rte_crypto_virtio.a.p/crypto_virtio_virtio_user_vhost_vdpa.c.o [2017/2704] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_rxtx.c.o [2018/2704] Compiling C object drivers/libtmp_rte_crypto_ccp.a.p/crypto_ccp_ccp_crypto.c.o [2019/2704] Compiling C object drivers/libtmp_rte_crypto_caam_jr.a.p/crypto_caam_jr_caam_jr.c.o [2020/2704] Compiling C object drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o [2021/2704] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_multicore.c.o [2022/2704] Compiling C object drivers/libtmp_rte_crypto_dpaa_sec.a.p/crypto_dpaa_sec_dpaa_sec.c.o [2023/2704] Compiling C object drivers/libtmp_rte_crypto_dpaa2_sec.a.p/crypto_dpaa2_sec_dpaa2_sec_dpseci.c.o [2024/2704] Generating rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output) [2025/2704] Compiling C object drivers/libtmp_rte_crypto_cnxk.a.p/crypto_cnxk_cn9k_cryptodev_ops.c.o [2026/2704] Compiling C object drivers/libtmp_rte_crypto_octeontx.a.p/crypto_octeontx_otx_cryptodev_ops.c.o [2027/2704] Compiling C object drivers/libtmp_rte_crypto_cnxk.a.p/crypto_cnxk_cn10k_cryptodev_ops.c.o ninja: build stopped: subcommand failed. -------------------------------END LOGS------------------------------ ^ permalink raw reply [flat|nested] 3+ messages in thread
* |SUCCESS| pw151808 [v3 6/6] test/crypto: add tests for virtio user PMD [not found] <588565de4bf61dbb0068ff4098ac436d1cc3d90e.1740156584.git.gmuthukrishn@marvell.com> 2025-02-21 17:16 ` |FAILURE| pw151805-151808 [v3 6/6] test/crypto: add tests for virtio user PMD qemudev @ 2025-02-21 17:42 ` checkpatch 2025-02-21 19:04 ` |FAILURE| " 0-day Robot 2 siblings, 0 replies; 3+ messages in thread From: checkpatch @ 2025-02-21 17:42 UTC (permalink / raw) To: test-report Test-Label: checkpatch Test-Status: SUCCESS http://dpdk.org/patch/151808 _coding style OK_ ^ permalink raw reply [flat|nested] 3+ messages in thread
* |FAILURE| pw151808 [v3 6/6] test/crypto: add tests for virtio user PMD [not found] <588565de4bf61dbb0068ff4098ac436d1cc3d90e.1740156584.git.gmuthukrishn@marvell.com> 2025-02-21 17:16 ` |FAILURE| pw151805-151808 [v3 6/6] test/crypto: add tests for virtio user PMD qemudev 2025-02-21 17:42 ` |SUCCESS| pw151808 " checkpatch @ 2025-02-21 19:04 ` 0-day Robot 2 siblings, 0 replies; 3+ messages in thread From: 0-day Robot @ 2025-02-21 19:04 UTC (permalink / raw) To: test-report; +Cc: gmuthukrishn, robot From: robot@bytheb.org Test-Label: github-robot: build Test-Status: FAILURE http://patchwork.dpdk.org/patch/151808/ _github build: failed_ Build URL: https://github.com/ovsrobot/dpdk/actions/runs/13462600336 Build Logs: -----------------------Summary of failed steps----------------------- "ubuntu-22.04-clang-stdatomic" failed at step Build and test "ubuntu-22.04-clang-asan+doc+tests" failed at step Build and test "fedora:39-clang" failed at step Build ----------------------End summary of failed steps-------------------- -------------------------------BEGIN LOGS---------------------------- #################################################################################### #### [Begin job log] "ubuntu-22.04-clang-stdatomic" at step Build and test #################################################################################### rsa->message.data = get_data_ptr(vc_req, desc, VHOST_ACCESS_RO); ^ ../lib/vhost/vhost_crypto.c:1426:24: error: calling function 'get_data_ptr' requires holding mutex 'vc_req->vq->iotlb_lock' [-Werror,-Wthread-safety-analysis] rsa->message.data = get_data_ptr(vc_req, desc, VHOST_ACCESS_RO); ^ ../lib/vhost/vhost_crypto.c:1437:23: error: calling function 'get_data_ptr' requires holding mutex 'vc_req->vq->iotlb_lock' [-Werror,-Wthread-safety-analysis] rsa->cipher.data = get_data_ptr(vc_req, desc, VHOST_ACCESS_RW); ^ ../lib/vhost/vhost_crypto.c:1446:23: error: calling function 'get_data_ptr' requires holding mutex 'vc_req->vq->iotlb_lock' [-Werror,-Wthread-safety-analysis] rsa->cipher.data = get_data_ptr(vc_req, desc, VHOST_ACCESS_RO); ^ ../lib/vhost/vhost_crypto.c:1449:24: error: calling function 'get_data_ptr' requires holding mutex 'vc_req->vq->iotlb_lock' [-Werror,-Wthread-safety-analysis] rsa->message.data = get_data_ptr(vc_req, desc, VHOST_ACCESS_RO); ^ ../lib/vhost/vhost_crypto.c:1465:18: error: calling function 'get_data_ptr' requires holding mutex 'vc_req->vq->iotlb_lock' [-Werror,-Wthread-safety-analysis] vc_req->inhdr = get_data_ptr(vc_req, desc, VHOST_ACCESS_WO); ^ 9 errors generated. [426/3231] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net_ctrl.c.o [427/3231] Compiling C object lib/librte_vhost.a.p/vhost_vduse.c.o [428/3231] Compiling C object lib/librte_vhost.a.p/vhost_vhost.c.o [429/3231] Compiling C object lib/librte_vhost.a.p/vhost_vhost_user.c.o [430/3231] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o ninja: build stopped: subcommand failed. ##[error]Process completed with exit code 1. #################################################################################### #### [End job log] "ubuntu-22.04-clang-stdatomic" at step Build and test #################################################################################### #################################################################################### #### [Begin job log] "ubuntu-22.04-clang-asan+doc+tests" at step Build and test #################################################################################### rsa->message.data = get_data_ptr(vc_req, desc, VHOST_ACCESS_RO); ^ ../lib/vhost/vhost_crypto.c:1426:24: error: calling function 'get_data_ptr' requires holding mutex 'vc_req->vq->iotlb_lock' [-Werror,-Wthread-safety-analysis] rsa->message.data = get_data_ptr(vc_req, desc, VHOST_ACCESS_RO); ^ ../lib/vhost/vhost_crypto.c:1437:23: error: calling function 'get_data_ptr' requires holding mutex 'vc_req->vq->iotlb_lock' [-Werror,-Wthread-safety-analysis] rsa->cipher.data = get_data_ptr(vc_req, desc, VHOST_ACCESS_RW); ^ ../lib/vhost/vhost_crypto.c:1446:23: error: calling function 'get_data_ptr' requires holding mutex 'vc_req->vq->iotlb_lock' [-Werror,-Wthread-safety-analysis] rsa->cipher.data = get_data_ptr(vc_req, desc, VHOST_ACCESS_RO); ^ ../lib/vhost/vhost_crypto.c:1449:24: error: calling function 'get_data_ptr' requires holding mutex 'vc_req->vq->iotlb_lock' [-Werror,-Wthread-safety-analysis] rsa->message.data = get_data_ptr(vc_req, desc, VHOST_ACCESS_RO); ^ ../lib/vhost/vhost_crypto.c:1465:18: error: calling function 'get_data_ptr' requires holding mutex 'vc_req->vq->iotlb_lock' [-Werror,-Wthread-safety-analysis] vc_req->inhdr = get_data_ptr(vc_req, desc, VHOST_ACCESS_WO); ^ 9 errors generated. [441/6679] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net_ctrl.c.o [442/6679] Compiling C object lib/librte_vhost.a.p/vhost_vduse.c.o [443/6679] Compiling C object lib/librte_vhost.a.p/vhost_vhost_user.c.o [444/6679] Compiling C object lib/librte_vhost.a.p/vhost_vhost.c.o [445/6679] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o ninja: build stopped: subcommand failed. ##[error]Process completed with exit code 1. #################################################################################### #### [End job log] "ubuntu-22.04-clang-asan+doc+tests" at step Build and test #################################################################################### #################################################################################### #### [Begin job log] "fedora:39-clang" at step Build #################################################################################### #################################################################################### #### [End job log] "fedora:39-clang" at step Build #################################################################################### --------------------------------END LOGS----------------------------- ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-02-21 19:04 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <588565de4bf61dbb0068ff4098ac436d1cc3d90e.1740156584.git.gmuthukrishn@marvell.com> 2025-02-21 17:16 ` |FAILURE| pw151805-151808 [v3 6/6] test/crypto: add tests for virtio user PMD qemudev 2025-02-21 17:42 ` |SUCCESS| pw151808 " checkpatch 2025-02-21 19:04 ` |FAILURE| " 0-day Robot
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).