Intel® QuickAssist Technology (Intel® QAT)
For questions and discussions related to Intel® QuickAssist Technology (Intel® QAT).
72 Discussions

QAT_HW device not available & QAT_SW not enabled. Using OpenSSL_SW!

padmanabhanvg
Beginner
131 Views

Hi,

This is INTEL(R) XEON(R) GOLD 6548Y+, Debian 12 (kernel 6.1.123) Physical Server.

root@10.62.130.82/home/sas/QAT_Engine#openssl engine -t -c -v qatengine
QAT_HW device not available & QAT_SW not enabled. Using OpenSSL_SW!
(qatengine) Reference implementation of QAT cr*pto engine(qat_hw) v1.9.0
[RSA, AES-256-CBC-HMAC-SHA256, ChaCha20-Poly1305, id-aes128-CCM, id-aes192-CCM, id-aes256-CCM, SHA3-256, SHA3-384, SHA3-512, TLS1-PRF, X25519, X448]
[ available ]
ENABLE_EXTERNAL_POLLING, POLL, SET_INSTANCE_FOR_THREAD,
GET_NUM_OP_RETRIES, SET_MAX_RETRY_COUNT, SET_INTERNAL_POLL_INTERVAL,
GET_EXTERNAL_POLLING_FD, ENABLE_EVENT_DRIVEN_POLLING_MODE,
GET_NUM_CR*PTO_INSTANCES, DISABLE_EVENT_DRIVEN_POLLING_MODE,
SET_EPOLL_TIMEOUT, SET_CR*PTO_SMALL_PACKET_OFFLOAD_THRESHOLD,
ENABLE_INLINE_POLLING, ENABLE_HEURISTIC_POLLING,
GET_NUM_REQUESTS_IN_FLIGHT, INIT_ENGINE, SET_CONFIGURATION_SECTION_NAME,
ENABLE_SW_FALLBACK, HEARTBEAT_POLL, DISABLE_QAT_OFFLOAD, HW_ALGO_BITMAP
root@10.62.130.82/home/sas/QAT_Engine#systemctl status qat
● qat.service - QAT service
Loaded: loaded (/lib/systemd/system/qat.service; enabled; preset: enabled)
Active: active (exited) since Thu 2025-05-08 15:43:28 IST; 2h 34min ago
Process: 2637 ExecStart=/etc/init.d/qat_service start (code=exited, status=0/SUCCESS)
Main PID: 2637 (code=exited, status=0/SUCCESS)
root@10.62.130.82/home/sas/QAT_Engine#lsmod | grep qat
qat_4xxx 28672 0
intel_qat 729088 2 qat_4xxx,usdm_drv
uio 28672 1 intel_qat
root@10.62.130.82/home/sas/QAT_Engine#lspci -d 8086:4942
f3:00.0 Co-processor: Intel Corporation 401xx Series QAT (rev 01)
root@10.62.130.82/home/sas/QAT_Engine#uname -a
Linux 10.62.130.82 6.1.123 #ZSIGNED SMP PREEMPT_DYNAMIC Thu Apr 17 18:38:48 IST 2025 x86_64 GNU/Linux
root@10.62.130.82/home/sas/QAT_Engine#ls -la /dev/qat*
crw-rw---- 1 root qat 242, 0 May 8 15:43 /dev/qat_adf_ctl
crw-rw---- 1 root qat 241, 0 May 8 15:43 /dev/qat_dev_processes
root@10.62.130.82/home/sas/QAT_Engine#cat /boot/config-$(uname -r) | grep -i qat
CONFIG_CR*PTO_DEV_QAT=m
CONFIG_CR*PTO_DEV_QAT_DH895xCC=m
CONFIG_CR*PTO_DEV_QAT_C3XXX=m
CONFIG_CR*PTO_DEV_QAT_C62X=m
CONFIG_CR*PTO_DEV_QAT_4XXX=m
CONFIG_CR*PTO_DEV_QAT_DH895xCCVF=m
CONFIG_CR*PTO_DEV_QAT_C3XXXVF=m
CONFIG_CR*PTO_DEV_QAT_C62XVF=m
root@10.62.130.82/home/sas/QAT_Engine#ls /lib/firmware/{qat_4xxx,qat_402xx,qat_420xx}.bin* 2>/dev/null
/lib/firmware/qat_402xx.bin /lib/firmware/qat_420xx.bin /lib/firmware/qat_4xxx.bin
root@10.62.130.82/home/sas/QAT_Engine#ls /lib/firmware/{qat_4xxx,qat_402xx,qat_420xx}_mmp.bin* 2>/dev/null
/lib/firmware/qat_402xx_mmp.bin /lib/firmware/qat_4xxx_mmp.bin
root@10.62.130.82/home/sas/QAT_Engine#echo `(lspci -d 8086:4940 && lspci -d 8086:4941 && lspci -d 8086:4942 && lspci -d 8086:4943 && lspci -d 8086:4944 && lspci -d 8086:4945 && lspci -d 8086:4946 && lspci -d 8086:4947) | wc -l` supported devices found.
1 supported devices found.
root@10.62.130.82/home/sas/QAT_Engine#echo `(lspci -vvv -d 8086:4940 && lspci -vvv -d 8086:4942 && lspci -vvv -d 8086:4944 && lspci -vvv -d 8086:4946) | grep "Kernel driver"`
Kernel driver in use: 4xxx
root@10.62.130.82/home/sas/QAT_Engine#  

In /etc/default/grub
 GRUB_CMDLINE_LINUX="crashkernel=256M,high panic=30 biosdevname=0 net.ifnames=0 intel_pstate=disable fsck.repair=yes systemd.unified_cgroup_hierarchy=0 intel_iommu=off"

I have installed intree qat kernel driver modules, so used, 
./configure --prefix=/opt/openssl/3.0.15 --with-openssl_install_dir=/opt/openssl/3.0.15 --with-openssl_dir=/home/sas/openssl-3.0.15 --host=x86_64-linux-gnu --build=x86_64-linux-gnu --enable-qat_hw

in qat engine.

Could you please advise what I might be missing?

Thank you

Labels (1)
0 Kudos
2 Replies
Ronny_G_Intel
Moderator
80 Views

Hi padmanabhanvg,


I'm looking into this issue at the moment. Meanwhile, could you please provide the icp_dump? You can generate it by executing the script found at $ICP_ROOT/quickassist/utilities/debug_tool/icp_dump.sh. This will produce a tar file that includes your complete system setup and configuration files.


Regards,

Ronny G



0 Kudos
padmanabhanvg
Beginner
41 Views

Hi Ronny,

Please find the attached file from icp dump.


Thanks,
Padmanabhan V.

0 Kudos
Reply