test/compress: fix size of test buffer
PATCH 1/1 test/compress: fix size of test buffer
Changed size of test buffer to 100 to allow qat to run compress unit-test, qat_comp_process_response():
QAT intermediate buffer may be too small for output, try configuring a larger size
Fixes c1bbb613ce96 ("test/compress: add out of space test")
Signed-off-by Marko Kovacevic <[email protected]>
--- test/test/test_compressdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
test/test/test_compressdev.c +1 -1
@@ -42,7 +42,7 @@#define GZIP_HEADER_SIZE 10#define GZIP_TRAILER_SIZE 8 -#define OUT_OF_SPACE_BUF 1 +#define OUT_OF_SPACE_BUF 100const char * huffman_type_strings[] = {
Signature · 1 line
2.9.5
Quoted 18 lines
Changed size of test buffer to 100 to allow qat to run compress unit-test,
qat_comp_process_response():
QAT intermediate buffer may be too small for output, try configuring a larger sizeFixes c1bbb613ce96 ("test/compress: add out of space test")Signed-off-by Marko Kovacevic <[email protected]>--- test/test/test_compressdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)test/test/test_compressdev.c +0
-0
test/test/test_compressdev.c line 44
Quoted 3 lines
test/test/test_compressdev.c +0
-0@@ -42,7 +42,7 @@#define GZIP_HEADER_SIZE 10#define GZIP_TRAILER_SIZE 8
Changing this caused the isal_compression to fail and not run Need more investigation
Self Nack