-
Notifications
You must be signed in to change notification settings - Fork 129
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
engine ctrl cmd failure(ENABLE_EVENT_DRIVEN_POLLING_MODE)? #312
Comments
Hi @lastpepole , engine specific messages should be specified before the default_algorithms setting or incorrect behaviour may result. |
my machine information as below:
same phenomenon. /var/log/qat_engine_debug.log information as below:
|
@venkatesh6911 Can you reproduce this case? or any new result? |
@lastpepole I am able to reproduce "Error removing fd from epoll" with event driven polling mode enabled. I am working to root cause this. We will keep you updated. |
hi @venkatesh6911 |
hi, @venkatesh6911 Have any result? Thank you very much. |
Hi @lastpepole , sorry for the delayed reply.. We will create an issue internally and get this resolved with the next release. |
Hi @lastpepole , we checked internally and found that only one epoll instance can be configured per bank due to performance reasons. Please check if you have configured more than epoll instance in your QAT device config... |
hi @venkatesh6911 , can't start qat engine, new problem. step 1: edit /etc/c6xx_dev0.conf......c6xx_dev5.conf
step 2: start qat engine.
error log: Ioctl failed
dmesg log: Don't have enough rings for instance UserCY0 in process SHIM_INT_16
|
There is a limit on the NumProcesses parameter for a single CY instance. Can you update NumProcesses to 16 in the device confs and give a try ? |
@venkatesh6911 @Yogaraj-Alamenda
[root@hostname QAT_Engine]# /usr/local/openssl/bin/openssl engine -t -c -vvvv qatengine
(qatengine) Reference implementation of QAT crypto engine(qat_hw) v1.5.0
[RSA, AES-128-CBC-HMAC-SHA256, AES-256-CBC-HMAC-SHA256, id-aes128-CCM, id-aes192-CCM, id-aes256-CCM, TLS1-PRF, X25519, X448]
[ available ]
ENABLE_EXTERNAL_POLLING: Enables the external polling interface to the engine.
(input flags): NO_INPUT
........
SET_INTERNAL_POLL_INTERVAL: Set internal polling interval
(input flags): NUMERIC
GET_EXTERNAL_POLLING_FD: Returns non blocking fd for crypto engine
(input flags): NO_INPUT
ENABLE_EVENT_DRIVEN_POLLING_MODE: Set event driven polling mode
(input flags): NO_INPUT
........
1024:error:800A60A5:lib(128):qat_engine_ctrl:engine ctrl cmd failure:e_qat.c:1043:
1024:error:260BC066:engine routines:int_engine_configure:engine configuration error:crypto/engine/eng_cnf.c:141:section=qat_section, name=ENABLE_EVENT_DRIVEN_POLLING_MODE, value=EMPTY
1024:error:0E07606D:configuration file routines:module_run:module initialization error:crypto/conf/conf_mod.c:177:module=engines, value=engine_section, retcode=-1
openssl.cnf:
openssl_conf = openssl_def
[openssl_def]
engines = engine_section
[engine_section]
qatengine = qat_section
[qat_section]
engine_id = qatengine
dynamic_path = /usr/local/openssl/lib/engines-1.1/qatengine.so
default_algorithms = ALL
ENABLE_EVENT_DRIVEN_POLLING_MODE = EMPTY
The text was updated successfully, but these errors were encountered: