OpenCloudOS-Kernel/drivers/crypto/qat/qat_c3xxxvf
Giovanni Cabiddu 1198ae56c9 crypto: qat - expose deflate through acomp api for QAT GEN2
Add infrastructure for implementing the acomp APIs in the QAT driver and
expose the deflate algorithm for QAT GEN2 devices.
This adds
  (1) the compression service which includes logic to create, allocate
  and handle compression instances;
  (2) logic to create configuration entries at probe time for the
  compression instances;
  (3) updates to the firmware API for allowing the compression service;
  and;
  (4) a back-end for deflate that implements the acomp api for QAT GEN2
  devices.

The implementation configures the device to produce data compressed
statically, optimized for throughput over compression ratio.

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>
2022-12-09 18:44:59 +08:00
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
adf_c3xxxvf_hw_data.c crypto: qat - expose deflate through acomp api for QAT GEN2 2022-12-09 18:44:59 +08:00
adf_c3xxxvf_hw_data.h crypto: qat - relocate PFVF VF related logic 2021-11-26 16:20:46 +11:00
adf_drv.c crypto: qat - remove ADF_STATUS_PF_RUNNING flag from probe 2022-11-11 18:14:59 +08:00