mirror of
https://github.com/torvalds/linux.git
synced 2026-04-20 15:53:59 -04:00
Enable deflate for QAT GEN4 devices. This adds (1) logic to create configuration entries at probe time for the compression instances for QAT GEN4 devices; (2) the implementation of QAT GEN4 specific compression operations, required since the creation of the compression request template is different between GEN2 and GEN4; and (3) updates to the firmware API related to compression for GEN4. The implementation configures the device to produce data compressed dynamically, 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>
11 lines
245 B
C
11 lines
245 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/* Copyright(c) 2022 Intel Corporation */
|
|
#ifndef ADF_GEN4_DC_H
|
|
#define ADF_GEN4_DC_H
|
|
|
|
#include "adf_accel_devices.h"
|
|
|
|
void adf_gen4_init_dc_ops(struct adf_dc_ops *dc_ops);
|
|
|
|
#endif /* ADF_GEN4_DC_H */
|