Hi Brian, > -----Original Message----- > From: Brian Dooley <brian.doo...@intel.com> > Sent: Friday, May 26, 2023 11:27 AM > To: Ji, Kai <kai...@intel.com> > Cc: dev@dpdk.org; gak...@marvell.com; Dooley, Brian > <brian.doo...@intel.com> > Subject: [PATCH v4] crypto/qat: default to IPsec MB for computations > > Pre and post computations currently use the OpenSSL library by default. > This patch changes the default option to Intel IPsec MB library version > 1.4 for the required computations. If this version of IPsec is not met > it will fallback to use OpenSSL. > > Added version checks for libipsecmb and libcrypto into meson build. > Added directives for detecting IPsec MB or OpenSSL. >
.. > +++ b/drivers/crypto/qat/qat_sym_session.c > @@ -9,7 +9,7 @@ > #include <openssl/md5.h> /* Needed to calculate pre-compute values */ > #include <openssl/evp.h> /* Needed for bpi runt block processing */ > > -#ifdef RTE_QAT_LIBIPSECMB > +#ifndef RTE_QAT_OPENSSL > #define NO_COMPAT_IMB_API_053 We have removed this macro in IPSec MB 1.4, so no need to define it. > #if defined(RTE_ARCH_ARM) > #include <ipsec-mb.h> > @@ -34,6 +34,7 @@ > #include "qat_sym_session.h" > #include "qat_sym.h" Apart from this: Acked-by: Pablo de Lara <pablo.de.lara.gua...@intel.com>