diff options
author | Chengfei ZHu <[email protected]> | 2019-09-13 04:33:44 +0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2019-09-12 13:33:44 -0700 |
commit | 7238cbd4d3ee7eadb3131c890d0692a49ea844af (patch) | |
tree | 0d3cf641e51ebb80e53dc03b0a5154cfb4ece9c7 /include/sys/qat.h | |
parent | 4f342e45be19d0bb8e32f38664dc29a12092dfe9 (diff) |
QAT related bug fixes
1. Fix issue: Kernel BUG with QAT during decompression #9276.
Now it is uninterruptible for a specific given QAT request,
but Ctrl-C interrupt still works in user-space process.
2. Copy the digest result to the buffer only when doing encryption,
and vise-versa for decryption.
Reviewed-by: Tom Caputi <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Chengfei Zhu <[email protected]>
Closes #9276
Closes #9303
Diffstat (limited to 'include/sys/qat.h')
-rw-r--r-- | include/sys/qat.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/sys/qat.h b/include/sys/qat.h index fdd608139..9ae8eb173 100644 --- a/include/sys/qat.h +++ b/include/sys/qat.h @@ -41,11 +41,6 @@ typedef enum qat_encrypt_dir { #include "lac/cpa_cy_sym.h" /* - * Timeout - no response from hardware after 0.5 seconds - */ -#define QAT_TIMEOUT_MS 500 - -/* * The minimal and maximal buffer size which are not restricted * in the QAT hardware, but with the input buffer size between 4KB * and 128KB the hardware can provide the optimal performance. |