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
410 stars 128 forks source link

C627 chipset failed with Asym query #327

Open ossacomu opened 3 months ago

ossacomu commented 3 months ago

[root@localhost build]# lspci | grep -i quick 4e:00.0 Co-processor: Intel Corporation C62x Chipset QuickAssist Technology (rev 05) 4f:00.0 Co-processor: Intel Corporation C62x Chipset QuickAssist Technology (rev 05) 50:00.0 Co-processor: Intel Corporation C62x Chipset QuickAssist Technology (rev 05)

[root@localhost build]# ./du_mgr query 4e:00.0 0

DevUtil: Operation: query ADF_UIO_PROXY err: du_user_ioctl: Failed to execute ioctl command ADF_UIO_PROXY err: icp_adf_userDuQuery: Failed to send device utilization query

[root@localhost build]# ./sla_mgr caps 4e:00.0 ADF_UIO_PROXY err: icp_adf_userSlaGetCaps: Failed to get SLA capabilities [error] Failed to get SLA caps for 4e:00.0 [error] Failed to execute SLA command [root@localhost build]#

[root@localhost build]# lsmod | grep -i qat qat_c62x 18064 0 intel_qat 251126 2 usdm_drv,qat_c62x uio 19338 1 intel_qat [root@localhost build]#

[root@localhost build]# modinfo qat_c62x filename: /lib/modules/3.10.0-1160.el7.x86_64/updates/drivers/crypto/qat/qat_c62x/qat_c62x.ko version: 4.15.0 description: Intel(R) QuickAssist Technology firmware: qat_c62x_mmp.bin firmware: qat_c62x.bin author: Intel license: Dual BSD/GPL retpoline: Y rhelversion: 7.9 srcversion: 39C1168CAEC5B7DC47A118F alias: pci:v00008086d000037C8svsdbcsci* depends: intel_qat vermagic: 3.10.0-1160.el7.x86_64 SMP mod_unload modversions [root@localhost build]#

venkatesh6911 commented 3 months ago

For du_mgr, you can refer the README file under quickassist/utilities/apps/du_mgr directory. Please check the "ServicesProfile" parameter is set to one of the values: CRYPTO, CUSTOM1, COMPRESSION in device config files (/etc/c6xx_devX.conf). Please restart the device if device config files are modified.

The order of du_mgr should be:

  1. du_mgr start. (wait for 5-10 seconds)
  2. du_mgr stop
  3. du_mgr query