Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When building QAT PMD, the following issue comes up: intel-ipsec-mb.h:333: error: "AES_BLOCK_SIZE" redefined 333 | #define AES_BLOCK_SIZE IMB_AES_BLOCK_SIZE In file included from drivers/crypto/qat/qat_sym_session.c:8: /usr/include/openssl/aes.h:26: previous definition 26 | # define AES_BLOCK_SIZE 16 By defining NO_COMPAT_IMB_API_053, it prevents legacy macros like AES_BLOCK_SIZE from being defined from IPSec MB library, avoiding the redefinition. Fixes: 3227bc7 ("crypto/qat: use intel-ipsec-mb for partial hash and AES") Cc: stable@dpdk.org Reported-by: Thomas Monjalon <thomas@monjalon.net> Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com> (cherry-picked from commit 2a21107 (DPDK main)) Change-Id: Ie4b89baea230cdfb632ce82bf76dae55a579498a Signed-off-by: Krzysztof Karas <krzysztof.karas@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/dpdk/+/16358 Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
- Loading branch information