DPDK patches and discussions
 help / color / mirror / Atom feed
* [DPDK/cryptodev Bug 1395] crypto/qat debug build failure with RTE_ENABLE_ASSERT (ICP_QAT_FW_SYM_COMM_ADDR_SGL undeclared)
@ 2024-03-05  6:29 bugzilla
  0 siblings, 0 replies; only message in thread
From: bugzilla @ 2024-03-05  6:29 UTC (permalink / raw)
  To: dev

[-- Attachment #1: Type: text/plain, Size: 3582 bytes --]

https://bugs.dpdk.org/show_bug.cgi?id=1395

            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)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #2: Type: text/html, Size: 5550 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-03-05  6:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-05  6:29 [DPDK/cryptodev Bug 1395] crypto/qat debug build failure with RTE_ENABLE_ASSERT (ICP_QAT_FW_SYM_COMM_ADDR_SGL undeclared) bugzilla

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).