]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
crypto: qat - set CIPHER capability for QAT GEN2
authorGiovanni Cabiddu <giovanni.cabiddu@intel.com>
Thu, 16 Dec 2021 09:13:12 +0000 (09:13 +0000)
committerStefan Bader <stefan.bader@canonical.com>
Wed, 10 Aug 2022 07:24:44 +0000 (09:24 +0200)
commit0a8e88c58dd4949a7c200dffd980a0d4d2020b14
treef96d57c8b0ee7d6c1b577e7660684a983f10844c
parent4c64a8c34d0807ca85b54d842916e704a2e83ac6
crypto: qat - set CIPHER capability for QAT GEN2

BugLink: https://bugs.launchpad.net/bugs/1981864
[ Upstream commit 547bde7bd4ecd78f36f98744e6c9a0999e52da5a ]

Set the CIPHER capability for QAT GEN2 devices if the hardware supports
it. This is done if both the CIPHER and the AUTHENTICATION engines are
available on the device.

Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: Marco Chiappero <marco.chiappero@intel.com>
Reviewed-by: Fiona Trahe <fiona.trahe@intel.com>
Reviewed-by: Marco Chiappero <marco.chiappero@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
drivers/crypto/qat/qat_common/adf_gen2_hw_data.c