summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorWeili Qian <qianweili@huawei.com>2023-09-28 17:21:47 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2023-10-05 18:16:31 +0800
commitb42ab1c61a77832040ad42ebf9adf237360e49f7 (patch)
treedbd6399b5cf72b8954b359db9c653f9b4b7ea09b /tools/perf/scripts/python
parentff3ddca9ca153d8a0ba0ed9325b15bdca92df769 (diff)
downloadlinux-b42ab1c61a77832040ad42ebf9adf237360e49f7.tar.gz
linux-b42ab1c61a77832040ad42ebf9adf237360e49f7.zip
crypto: hisilicon/qm - check function qp num before alg register
When the Kunpeng accelerator executes tasks such as encryption and decryption have minimum requirements on the number of device queues. If the number of queues does not meet the requirement, the process initialization will fail. Therefore, the driver checks the number of queues on the device before registering the algorithm. If the number does not meet the requirements, the driver does not register the algorithm to crypto subsystem, the device is still added to the qm_list. Signed-off-by: Weili Qian <qianweili@huawei.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions