crypto: qat - add support for compression for 4xxx
Add the logic required to enable the compression service for 4xxx devices. This allows to load the compression firmware image and report the appropriate compression capabilities. The firmware image selection for a given device is based on the 'ServicesEnabled' key stored in the internal configuration, which is added statically at the probe of the device according to the following rule, by default: - odd numbered devices assigned to compression services - even numbered devices assigned to crypto services In addition, restore the 'ServicesEnabled' key, if present, when SRIOV is enabled on the device. Signed-off-by: NTomasz Kowalik <tomaszx.kowalik@intel.com> Co-developed-by: NMateuszx Potrola <mateuszx.potrola@intel.com> Signed-off-by: NMateuszx Potrola <mateuszx.potrola@intel.com> Co-developed-by: NGiovanni Cabiddu <giovanni.cabiddu@intel.com> Signed-off-by: NGiovanni Cabiddu <giovanni.cabiddu@intel.com> Signed-off-by: NMarco Chiappero <marco.chiappero@intel.com> Reviewed-by: NFiona Trahe <fiona.trahe@intel.com> Reviewed-by: NMarco Chiappero <marco.chiappero@intel.com> Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
Showing
想要评论请 注册 或 登录