| Bug ID | 1395 |
|---|---|
| Summary | crypto/qat debug build failure with RTE_ENABLE_ASSERT (ICP_QAT_FW_SYM_COMM_ADDR_SGL undeclared) |
| Product | DPDK |
| Version | 23.11 |
| Hardware | All |
| OS | All |
| Status | UNCONFIRMED |
| Severity | normal |
| Priority | Normal |
| Component | cryptodev |
| Assignee | dev@dpdk.org |
| Reporter | alialnu@nvidia.com |
| Target Milestone | --- |
$ meson --werror --buildtype=debug -Dc_args='-DRTE_ENABLE_ASSERT' build && ninja -C build """ In file included from ../../root/dpdk/lib/eal/x86/include/rte_spinlock.h:15, from ../../root/dpdk/lib/mempool/rte_mempool.h:43, from ../../root/dpdk/lib/mbuf/rte_mbuf.h:38, from ../../root/dpdk/lib/cryptodev/rte_crypto.h:19, from ../../root/dpdk/lib/cryptodev/rte_cryptodev.h:23, from ../../root/dpdk/drivers/crypto/qat/dev/qat_crypto_pmd_gen_lce.c:5: ../../root/dpdk/drivers/crypto/qat/dev/qat_crypto_pmd_gen_lce.c: In function 'qat_sym_build_op_aead_gen_lce': ../../root/dpdk/drivers/crypto/qat/dev/qat_crypto_pmd_gen_lce.c:160:56: error: 'ICP_QAT_FW_SYM_COMM_ADDR_SGL' undeclared (first use in this function); did you mean 'ICP_QAT_FW_SYM_AEAD_ALGO_SET'? 160 | RTE_ASSERT((qat_req->comn_hdr.comn_req_flags & ICP_QAT_FW_SYM_COMM_ADDR_SGL) == 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../root/dpdk/lib/eal/include/rte_branch_prediction.h:47:45: note: in definition of macro 'unlikely' 47 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^ ../../root/dpdk/lib/eal/include/rte_debug.h:47:25: note: in expansion of macro 'RTE_VERIFY' 47 | #define RTE_ASSERT(exp) RTE_VERIFY(exp) | ^~~~~~~~~~ ../../root/dpdk/drivers/crypto/qat/dev/qat_crypto_pmd_gen_lce.c:160:9: note: in expansion of macro 'RTE_ASSERT' 160 | RTE_ASSERT((qat_req->comn_hdr.comn_req_flags & ICP_QAT_FW_SYM_COMM_ADDR_SGL) == 1); | ^~~~~~~~~~ ../../root/dpdk/drivers/crypto/qat/dev/qat_crypto_pmd_gen_lce.c:160:56: note: each undeclared identifier is reported only once for each function it appears in 160 | RTE_ASSERT((qat_req->comn_hdr.comn_req_flags & ICP_QAT_FW_SYM_COMM_ADDR_SGL) == 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../root/dpdk/lib/eal/include/rte_branch_prediction.h:47:45: note: in definition of macro 'unlikely' 47 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^ ../../root/dpdk/lib/eal/include/rte_debug.h:47:25: note: in expansion of macro 'RTE_VERIFY' 47 | #define RTE_ASSERT(exp) RTE_VERIFY(exp) | ^~~~~~~~~~ ../../root/dpdk/drivers/crypto/qat/dev/qat_crypto_pmd_gen_lce.c:160:9: note: in expansion of macro 'RTE_ASSERT' 160 | RTE_ASSERT((qat_req->comn_hdr.comn_req_flags & ICP_QAT_FW_SYM_COMM_ADDR_SGL) == 1); | ^~~~~~~~~~ [826/2503] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/ef10_nic.c.o ninja: build stopped: subcommand failed. """ Doesn't reproduce without -Dc_args='-DRTE_ENABLE_ASSERT'. OS: Debian 12 Meson: 1.0.1 gcc: 12.2.0 (Debian 12.2.0-14)