intel / QAT_Engine

Intel QuickAssist Technology( QAT) OpenSSL Engine (an OpenSSL Plug-In Engine) which provides cryptographic acceleration for both hardware and optimized software using Intel QuickAssist Technology enabled Intel platforms. https://developer.intel.com/quickassist
BSD 3-Clause "New" or "Revised" License
396 stars 127 forks source link

QAT_Engine-1.5.0 with QAT.L.4.23.0-00001 fw_counter can not work? #307

Closed lastpepole closed 3 months ago

lastpepole commented 4 months ago

openssl version /usr/local/openssl/bin/openssl version OpenSSL 1.1.1w 11 Sep 2023

openssl.cnf cat /usr/local/openssl/ssl/openssl.cnf openssl_conf = openssl_def [openssl_def] engines = engine_section

[engine_section] qatengine = qatengine_section

[qatengine_section] engine_id = qatengine dynamic_path = /usr/local/openssl/lib/engines-1.1/qatengine.so default_algorithms = ALL

but,

cat /sys/kernel/debug/qat_dh895xcc_0000\:60\:00.0/fw_counters is zero, not work.

venkatesh6911 commented 4 months ago

Hi @lastpepole , Can you share the configure command you used to configure the QAT Engine. Also would like to know what algorithm you are trying to offload via QAT ?

lastpepole commented 4 months ago

Hi @lastpepole , Can you share the configure command you used to configure the QAT Engine. Also would like to know what algorithm you are trying to offload via QAT ?

Hi @venkatesh6911 , openssl.conf as below:

cat /usr/local/openssl/ssl/openssl.cnf openssl_conf = openssl_def [openssl_def] engines = engine_section

[engine_section] qatengine = qatengine_section

[qatengine_section] engine_id = qatengine dynamic_path = /usr/local/openssl/lib/engines-1.1/qatengine.so default_algorithms = ALL

venkatesh6911 commented 4 months ago

Hi @lastpepole , Can you share the configure command you used to configure the QAT Engine. Also would like to know what algorithm you are trying to offload via QAT ?

Hi @venkatesh6911 , openssl.conf as below:

cat /usr/local/openssl/ssl/openssl.cnf openssl_conf = openssl_def [openssl_def] engines = engine_section

[engine_section] qatengine = qatengine_section

[qatengine_section] engine_id = qatengine dynamic_path = /usr/local/openssl/lib/engines-1.1/qatengine.so default_algorithms = ALL

I meant the ./configure command in the QAT Engine. ./configure --with-qat_hw_dir= --with-openssl_install_dir=