New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
qat fw_counter计数不增长,停留在0值。 #1928
Comments
QAT驱动计数fw_counter 不是tengine负责写入 |
参照上述配置的,没看到啥异常。 如果fw_counter没有计数,那怎么验证tengine使用了qat来做异步卸载ssl呢? @lianglli 能否说明tengine已经在使用qat进行卸载ssl了呢? |
QAT_Engine-1.5.0 ,QAT驱动:QAT.L.4.23.0-00001,OpenSSL 1.1.1w |
看下 《Ice Lake SSL/TLS加速实践》 |
Ⅰ. Issue Description
QAT_Engine-1.5.0 ,QAT驱动:QAT.L.4.23.0-00001,OpenSSL 1.1.1w
qat fw_counter计数不增长,停留在0值。
Ⅱ. Describe what happened
qat fw_counter计数不增长,停留在0值。
Ⅲ. Describe what you expected to happen
cat /sys/kernel/debug/qat_dh895xcc_0000:60:00.0/fw_counters 计数为0,没有出现任何增长。
+------------------------------------------------+
| FW Statistics for Qat Device |
+------------------------------------------------+
| Firmware Requests [AE 0]: 0 |
| Firmware Responses[AE 0]: 0 |
| RAS Events [AE 0]: 0 |
Ⅳ. How to reproduce it (as minimally and precisely as possible)
Ⅴ. Anything else we need to know?
Ⅵ. Environment:
Tengine version (use
sbin/nginx -V
):-./sbin/nginx -V
Tengine version: Tengine/2.4.0
nginx version: nginx/1.22.1
built with OpenSSL 1.1.1w 11 Sep 2023
TLS SNI support enabled
configure arguments: --prefix=/home/test/third/tengine --with-openssl-async --with-openssl=/usr/local/openssl
OS (e.g. from /etc/os-release):
centos7u5
Kernel (e.g.
uname -a
):-5.10
Others:
nginx.conf
server {
listen 8443 ssl;
server_name localhost;
access_log off;
ssl_certificate server.crt;
ssl_certificate_key server.key;
ssl_async on; #### enable async mode
ssl_session_cache shared:SSL:1m;
ssl_session_timeout 5m;
ssl_ciphers HIGH:!aNULL:!MD5;
ssl_prefer_server_ciphers on;
location / {
root html;
index index.html index.htm;
}
}
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
The text was updated successfully, but these errors were encountered: