]> git.baikalelectronics.ru Git - 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)
commit4d21e0a8331b89090a574fd6f87a26fb81848f02
treeaa04e1418105db04f1d9517999aefa78f837fd74
parent9b710b6040f69a585ca10a961f6e0bce64fe50d9
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