alibaba / tengine

A distribution of Nginx with some advanced features
https://tengine.taobao.org
BSD 2-Clause "Simplified" License
12.84k stars 2.52k forks source link

qat支持2.6.32的内核吗? #1422

Open lizj3624 opened 4 years ago

lizj3624 commented 4 years ago

Question

环境: centos6.6,内核: 2.6.32 qat驱动:qat1.7.l.4.7.0-00006 qat_engine:https://github.com/intel/QAT_Engine.git
在编译驱动时,提示如下错误:应该是找不到“pci_ignore_hotplug”,不知道是否越到类似的问题? make all-am make[1]: Entering directory /root/qat/QAT-1.7' make[2]: Entering directory/root/qat/QAT-1.7/quickassist/qat' make -C /lib/modules/2.6.32-431.17.1.el6.x86_64/build M=/root/qat/QAT-1.7/quickassist/qat modules make[3]: Entering directory /usr/src/kernels/2.6.32-431.17.1.el6.haproxy.x86_64' CC [M] /root/qat/QAT-1.7/quickassist/qat/drivers/crypto/qat/qat_common/adf_aer.o /root/qat/QAT-1.7/quickassist/qat/drivers/crypto/qat/qat_common/adf_aer.c: 在函数‘adf_reset_sbr’中: /root/qat/QAT-1.7/quickassist/qat/drivers/crypto/qat/qat_common/adf_aer.c:109: 错误:隐式声明函数‘pci_ignore_hotplug’ make[6]: *** [/root/qat/QAT-1.7/quickassist/qat/drivers/crypto/qat/qat_common/adf_aer.o] 错误 1 make[5]: *** [/root/qat/QAT-1.7/quickassist/qat/drivers/crypto/qat/qat_common] 错误 2 make[4]: *** [/root/qat/QAT-1.7/quickassist/qat/drivers/crypto/qat] 错误 2 make[3]: *** [_module_/root/qat/QAT-1.7/quickassist/qat] 错误 2 make[3]: Leaving directory/usr/src/kernels/2.6.32-431.17.1.el6.x86_64' make[2]: [modules] 错误 2 make[2]: Leaving directory `/root/qat/QAT-1.7/quickassist/qat' make[1]: [qat-driver-all] 错误 2 make[1]: Leaving directory `/root/qat/QAT-1.7' make: *** [all] 错误 2

wangfakang commented 4 years ago

@lizj3624 QAT Driver问题可以直接在这里https://github.com/intel/QAT_Engine/issues 提issue。 image