diff options
Diffstat (limited to 'meta-crystalforest/recipes-extended/qat/qat16/qat-1.6-app-dynamiccompression.patch')
-rw-r--r-- | meta-crystalforest/recipes-extended/qat/qat16/qat-1.6-app-dynamiccompression.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/meta-crystalforest/recipes-extended/qat/qat16/qat-1.6-app-dynamiccompression.patch b/meta-crystalforest/recipes-extended/qat/qat16/qat-1.6-app-dynamiccompression.patch new file mode 100644 index 00000000..796c861a --- /dev/null +++ b/meta-crystalforest/recipes-extended/qat/qat16/qat-1.6-app-dynamiccompression.patch | |||
@@ -0,0 +1,35 @@ | |||
1 | From 8f042b72e96f306196f92c39caa32d4cfbed3812 Mon Sep 17 00:00:00 2001 | ||
2 | From: venkatasubramanian pattu <venkatasubramanianx.pattu@intel.com> | ||
3 | Date: Fri, 12 Jun 2015 17:13:21 +0800 | ||
4 | Subject: [PATCH] app: Enable the Dynamic Compression feature | ||
5 | |||
6 | This Patch is used to enable the Dynamic Compression feature | ||
7 | |||
8 | This will fix for qat applications failure. | ||
9 | ERROR : dcStatelessSample(): cpaDcQueryCapabilities | ||
10 | dcStatelessSample(): cpaDcGetSessionSize | ||
11 | [error] dcCheckSessionData() - : Invalid API Param - Invalid huffType value, | ||
12 | dynamic sessions not supported | ||
13 | |||
14 | Upstream Status: Inappropriate | ||
15 | |||
16 | Signed-off-by: venkatasubramanian pattu <venkatasubramanianx.pattu@intel.com> | ||
17 | --- | ||
18 | .../lookaside/access_layer/src/common/compression/include/dc_session.h | 2 +- | ||
19 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
20 | |||
21 | diff --git a/quickassist/lookaside/access_layer/src/common/compression/include/dc_session.h b/quickassist/lookaside/access_layer/src/common/compression/include/dc_session.h | ||
22 | index b7dc943..7fda6bb 100755 | ||
23 | --- a/quickassist/lookaside/access_layer/src/common/compression/include/dc_session.h | ||
24 | +++ b/quickassist/lookaside/access_layer/src/common/compression/include/dc_session.h | ||
25 | @@ -80,7 +80,7 @@ | ||
26 | #include "sal_qat_cmn_msg.h" | ||
27 | |||
28 | /* Defeature Dynamic Compression */ | ||
29 | -#define ICP_DC_DYN_NOT_SUPPORTED (1) | ||
30 | +/*#define ICP_DC_DYN_NOT_SUPPORTED (1) */ | ||
31 | |||
32 | /* Maximum number of intermediate buffers SGLs */ | ||
33 | #define DC_MAX_NUM_INTERMEDIATE_BUFFERS (12) | ||
34 | -- | ||
35 | 1.9.1 | ||