Skip to content

Commit 910240d

Browse files
naghaabiramibjayanax
authored andcommitted
Bug fixes, README update and version bump.
- Version bump to 1.9.0 and README update - QAT2.0's icp_sal_userIsQatAvailable() API enabled to check QAT_HW device availability Signed-off-by: Nagha Abirami <naghax.abirami@intel.com> Co-authored-by: Jaya Naga Venkata Sudhakar <bavirisettyx.jaya.naga.venkata.sudhakar@intel.com>
1 parent c6c6cb3 commit 910240d

12 files changed

+33
-28
lines changed

configure.ac

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Process this file with autoconf to produce a configure script.
33

44
AC_PREREQ([2.68])
5-
AC_INIT([qatengine], [1.8.1], [])
5+
AC_INIT([qatengine], [1.9.0], [])
66
AC_CONFIG_SRCDIR([config.h.in])
77
AC_CONFIG_HEADERS([config.h])
88
AC_CONFIG_AUX_DIR([.])
@@ -447,7 +447,7 @@ fi
447447
AM_CONDITIONAL([QAT_HW], [test "x$cflags_qat_hw" != "x"])
448448
case "$host_os" in
449449
linux*)
450-
AS_IF([test `lspci -vnd 8086: | grep -c 4940` != "0"], [AC_SUBST([enable_qat20_oot], ["-DQAT20_OOT"])])
450+
AS_IF([test `lspci -vnd 8086: | grep -c -E '4940|4942|4944|4946'` != "0"], [AC_SUBST([enable_qat20_oot], ["-DQAT20_OOT"])])
451451
esac
452452
AM_CONDITIONAL([QAT_4XXX], [test "x$enable_qat20_oot" != "x"])
453453

cryptography-primitives

docs/bssl_support.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ This document details the capabilities, interfaces and limitations of the Boring
1414
## Limitations
1515
Some limitations specific for the current BoringSSL\* Library:
1616
* NIST Binary Curves and NIST Koblitz Curves are not supported by BoringSSL\.
17-
* Supports QAT_HW and QAT_SW on Linux. QAT_SW and QAT_HW FreeBSD is not supported.
17+
* QAT_HW and QAT_SW Co-existence is not supported.
1818
* `RSA_padding_add_PKCS1_OAEP` function is exported by BoringSSL\* `libdecrepit.so`,
1919
so it needs to be linked in the BoringSSL\* Library. It may cause linking error while
2020
building with the system lack of that library.

docs/hardware_requirements.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ QAT_HW acceleration is supported on the platforms with the following QAT devices
99

1010
QAT_SW acceleration is supported in the platforms starting with [3rd Generation Intel&reg; Xeon&reg; Scalable Processors family][6] and later.
1111

12-
[1]:https://www.intel.com/content/www/us/en/products/details/processors/xeon/scalable.html
12+
[1]:https://www.intel.com/content/www/us/en/products/details/processors/xeon.html
1313
[2]:https://www.intel.com/content/www/us/en/products/sku/125200/intel-quickassist-adapter-8970/downloads.html
1414
[3]:https://www.intel.com/content/www/us/en/products/sku/125199/intel-quickassist-adapter-8960/downloads.html
1515
[4]:https://www.intel.com/content/www/us/en/products/sku/80371/intel-communications-chipset-8950/specifications.html

docs/limitations.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,3 +107,5 @@
107107
behaviour is observed in OpenSSL_SW as well [OpenSSL#21833](https://github.com/openssl/openssl/issues/21833)
108108
* Performance scaling is not linear in QAT2.0 supported platforms for ECDSA and Chacha-Poly algorithms.
109109
* Performance drop observed with ECDSAP256 algorithm in the OpenSSL speed tests with FreeBSD 14 intree driver.
110+
* Performance drop observed in QAT Engine with [async-nginx](https://github.com/intel/asynch_mode_nginx/tree/master) on FreeBSD OS with asymmetric and symmetric ciphers.
111+
* BoringSSL on FreeBSD OS is validated functionally with limited performance validation on Nginx QUIC POC.

docs/software_requirements.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,18 @@ This release was validated on the following versions and expected to work on all
1111
and also from the latest versions from the links below.
1212

1313
## QAT_HW Drivers:
14-
* [Intel® QuickAssist Technology Driver for Linux\* HW Version 2.0][4] - **QAT20.L.1.1.50-00003**
15-
* [Intel® QuickAssist Technology Driver for Linux\* HW Version 1.x][5] - **QAT.L.4.26.0-00008**
14+
* [Intel® QuickAssist Technology Driver for Linux\* HW Version 2.0][4] - **QAT20.L.1.2.30-00078**
15+
* [Intel® QuickAssist Technology Driver for Linux\* HW Version 1.x][5] - **QAT.L.4.27.0-00006**
1616
* Intel® QuickAssist Technology Driver for FreeBSD\* HW Version 1.x and 2.0 - **QAT.B.3.14.31-00003** (FreeBSD 13.2)
1717
* [Intel® QATlib for Linux with intree driver][7] - **QATlib 24.09.0** & **QATlib 24.02.0** (for Dockerfile only)
1818
* [Intel® QATlib for FreeBSD with intree driver(FreeBSD 14)][8] - **FreeBSD QATlib 23.09.0** (FreeBSD 14)
1919

2020
## QAT_SW Libraries:
21-
* [Intel&reg; Crypto Multi-buffer library][2] - **IPP Crypto v1.0.0** & **IPP Crypto 2021.10** (for BoringSSL only)
21+
* [Intel&reg; Crypto Multi-buffer library][2] - **IPP Crypto v1.1.0** & **IPP Crypto 2021.10** (for BoringSSL only)
2222
* [Intel&reg; Multi-Buffer crypto for IPsec Library release version][3] **v2.0**
2323

2424
## Crypto Libraries:
25-
* [OpenSSL\*][9] 3.0.15 & 3.2.3
25+
* [OpenSSL\*][9] 3.0.16, 3.2.4, 3.3.3 & 3.4.1
2626
* BoringSSL\* commit - [23ed9d3][10]
2727
* [Tongsuo][11] - 8.4.0 (BabaSSL)
2828

driver_install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22

33
#QAT_HW OOT driver Location
44
QAT17_DRIVER=https://downloadmirror.intel.com/838409/QAT.L.4.27.0-00006.tar.gz
5-
QAT20_DRIVER=https://downloadmirror.intel.com/822703/QAT20.L.1.1.50-00003.tar.gz
5+
QAT20_DRIVER=https://downloadmirror.intel.com/843052/QAT20.L.1.2.30-00078.tar.gz
66

77
#Supported Devices
88
numC62xDevice=`lspci -vnd 8086: | grep -c "37c8\|37c9"`
99
numDh895xDevice=`lspci -vnd 8086: | grep -c "0435\|0443"`
1010
numC3xxxDevice=`lspci -vnd 8086: | grep -c "19e2\|19e3"`
1111
num200xxDevice=`lspci -vnd 8086: | grep -c "18ee\|18ef"`
1212
numC4xxxDevice=`lspci -vnd 8086: | grep -c "18a0\|18a1"`
13-
num4xxxDevice=`lspci -vnd 8086: | grep -c "4940"`
13+
num4xxxDevice=`lspci -vnd 8086: | grep -c "4940\|4942"`
1414

1515
QAT_ENGINE_ROOT=$PWD
1616

e_qat.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -169,13 +169,13 @@ int qat_fips_kat_test;
169169
const char *engine_qat_id = STR(QAT_ENGINE_ID);
170170
#if defined(QAT_HW) && defined(QAT_SW)
171171
const char *engine_qat_name =
172-
"Reference implementation of QAT crypto engine(qat_hw & qat_sw) v1.8.1";
172+
"Reference implementation of QAT crypto engine(qat_hw & qat_sw) v1.9.0";
173173
#elif QAT_HW
174174
const char *engine_qat_name =
175-
"Reference implementation of QAT crypto engine(qat_hw) v1.8.1";
175+
"Reference implementation of QAT crypto engine(qat_hw) v1.9.0";
176176
#else
177177
const char *engine_qat_name =
178-
"Reference implementation of QAT crypto engine(qat_sw) v1.8.1";
178+
"Reference implementation of QAT crypto engine(qat_sw) v1.9.0";
179179
#endif
180180
unsigned int engine_inited = 0;
181181
int fallback_to_openssl = 0;
@@ -1117,7 +1117,7 @@ int bind_qat(ENGINE *e, const char *id)
11171117
int ret = 0;
11181118
#ifdef QAT_HW
11191119
char *config_section = NULL;
1120-
# if !defined(QAT_HW_INTREE) && (defined(QAT20_OOT) || defined(__FreeBSD__))
1120+
#ifdef ENABLE_QAT_HW_KPT
11211121
Cpa32U dev_count = 0;
11221122
# endif
11231123
#endif
@@ -1132,7 +1132,7 @@ int bind_qat(ENGINE *e, const char *id)
11321132

11331133
/* For QAT_HW, Check if the QAT_HW device is available */
11341134
#ifdef QAT_HW
1135-
# if !defined(QAT_HW_INTREE) && (defined(QAT20_OOT) || defined(__FreeBSD__))
1135+
# ifdef ENABLE_QAT_HW_KPT
11361136
if (icp_adf_get_numDevices(&dev_count) == CPA_STATUS_SUCCESS) {
11371137
if (dev_count > 0) {
11381138
qat_hw_offload = 1;
@@ -1144,7 +1144,7 @@ int bind_qat(ENGINE *e, const char *id)
11441144
qat_hw_offload = 1;
11451145
DEBUG("QAT HW device available\n");
11461146
}
1147-
#endif
1147+
# endif
11481148
if (!qat_hw_offload) {
11491149
# ifndef QAT_SW
11501150
# ifdef QAT_BORINGSSL

openssl

Submodule openssl updated 183 files

qat_provider.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@
5151
# include <openssl/bio.h>
5252
# include <openssl/core_dispatch.h>
5353

54-
# define QAT_PROVIDER_VERSION_STR "v1.8.1"
55-
# define QAT_PROVIDER_FULL_VERSION_STR "QAT Provider v1.8.1"
54+
# define QAT_PROVIDER_VERSION_STR "v1.9.0"
55+
# define QAT_PROVIDER_FULL_VERSION_STR "QAT Provider v1.9.0"
5656

5757
# if defined(QAT_HW) && defined(QAT_SW)
5858
# define QAT_PROVIDER_NAME_STR "QAT Provider for QAT_HW and QAT_SW"

0 commit comments

Comments
 (0)