]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
crypto: hisilicon/zip - permit users to specify NUMA node
authorBarry Song <song.bao.hua@hisilicon.com>
Sun, 5 Jul 2020 09:18:59 +0000 (21:18 +1200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 9 Jul 2020 08:25:23 +0000 (18:25 +1000)
commit813ec3f1fe517acd533d44536195910edaaeebef
treeaa04e1418105db04f1d9517999aefa78f837fd74
parent7bc13b5b60e9412a7ddef300ce2c661eecd1fd5d
crypto: hisilicon/zip - permit users to specify NUMA node

If users don't specify NUMA node, the driver will use the ZIP module near
the CPU allocating acomp. Otherwise, it uses the ZIP module according to
the requirement of users.

Cc: Zhou Wang <wangzhou1@hisilicon.com>
Signed-off-by: Barry Song <song.bao.hua@hisilicon.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/zip/zip.h
drivers/crypto/hisilicon/zip/zip_crypto.c
drivers/crypto/hisilicon/zip/zip_main.c