Loading
crypto: qat - fix ring to service map for dcc in 4xxx
mainline inclusion from mainline-v6.9-rc1 commit df018f82002a8b4dc407bc9a6f416b9241d14415 category: feature bugzilla: https://gitee.com/openeuler/intel-kernel/issues/I9A5BW CVE: N/A Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=df018f82002a8b4dc407bc9a6f416b9241d14415 ------------------------------------- If a device is configured for data compression chaining (dcc), half of the engines are loaded with the symmetric crypto image and the rest are loaded with the compression image. However, in such configuration all rings can handle compression requests. Fix the ring to service mapping so that when a device is configured for dcc, the ring to service mapping reports that all rings in a bank can be used for compression. Intel-SIG: commit df018f82002a crypto: qat - fix ring to service map for dcc in 4xxx Backport to support QAT in-tree driver Fixes: a238487f7965 ("crypto: qat - fix ring to service map for QAT GEN4") Signed-off-by:Damian Muszynski <damian.muszynski@intel.com> Reviewed-by:
Giovanni Cabiddu <giovanni.cabiddu@intel.com> Signed-off-by:
Herbert Xu <herbert@gondor.apana.org.au> [ Aichun Shi: amend commit log ] Signed-off-by:
Aichun Shi <aichun.shi@intel.com>