<html>
    <head>
      <base href="https://bugs.dpdk.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8" class="bz_new_table">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - crypto/qat debug build failure with RTE_ENABLE_ASSERT (ICP_QAT_FW_SYM_COMM_ADDR_SGL undeclared)"
   href="https://bugs.dpdk.org/show_bug.cgi?id=1395">1395</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>crypto/qat debug build failure with RTE_ENABLE_ASSERT (ICP_QAT_FW_SYM_COMM_ADDR_SGL undeclared)
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>DPDK
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>23.11
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>cryptodev
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>dev@dpdk.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>alialnu@nvidia.com
          </td>
        </tr>

        <tr>
          <th>Target Milestone</th>
          <td>---
          </td>
        </tr></table>
      <p>
        <div class="bz_comment_block">
          <pre class="bz_comment_text">$ 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)
          </pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
      <div itemscope itemtype="http://schema.org/EmailMessage">
        <div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
          
          <link itemprop="url" href="https://bugs.dpdk.org/show_bug.cgi?id=1395">
          <meta itemprop="name" content="View bug">
        </div>
        <meta itemprop="description" content="Bugzilla bug update notification">
      </div>
    </body>
</html>