mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
crypto: qat - change bufferlist logic interface
[ Upstream commit3ed330d0db] The functions qat_alg_sgl_to_bufl() and qat_alg_free_bufl() take as argument a qat_crypto_instance and a qat_crypto_request structure. These two structures are used only to get a reference to the adf_accel_dev and qat_crypto_request_buffs. In order to reuse these functions for the compression service, change the signature so that they take adf_accel_dev and qat_crypto_request_buffs. Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com> Reviewed-by: Wojciech Ziemba <wojciech.ziemba@intel.com> Reviewed-by: Adam Guerin <adam.guerin@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Stable-dep-of:9b2f33a1bf("crypto: qat - fix unregistration of crypto algorithms") Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
2ad909a408
commit
380f0a1de2
3 changed files with 49 additions and 45 deletions
Loading…
Add table
Add a link
Reference in a new issue