diff options
author | Zaibo Xu <xuzaibo@huawei.com> | 2020-01-11 03:41:51 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-01-16 08:18:14 +0100 |
commit | 7c7d902aa4059bd4637f8ba59f0bd49e57b4825d (patch) | |
tree | c112c00c3653d41d2a5512952fabeb7679d124e0 /drivers/cpufreq/cpufreq_performance.c | |
parent | crypto: hisilicon - Update some names on SEC V2 (diff) | |
download | linux-7c7d902aa4059bd4637f8ba59f0bd49e57b4825d.tar.xz linux-7c7d902aa4059bd4637f8ba59f0bd49e57b4825d.zip |
crypto: hisilicon - Update QP resources of SEC V2
1.Put resource including request and resource list into
QP context structure to avoid allocate memory repeatedly.
2.Add max context queue number to void kcalloc large memory for QP context.
3.Remove the resource allocation operation.
4.Redefine resource allocation APIs to be shared by other algorithms.
5.Move resource allocation and free inner functions out of
operations 'struct sec_req_op', and they are called directly.
Signed-off-by: Zaibo Xu <xuzaibo@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/cpufreq/cpufreq_performance.c')
0 files changed, 0 insertions, 0 deletions