From patchwork Tue Jan 22 11:17:37 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "Kovacevic, Marko" X-Patchwork-Id: 49993 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9C15C2C52; Tue, 22 Jan 2019 12:17:43 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 2DE682C36 for ; Tue, 22 Jan 2019 12:17:42 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 Jan 2019 03:17:41 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,506,1539673200"; d="scan'208";a="140272511" Received: from silpixa00399502.ir.intel.com (HELO silpixa00399502.ger.corp.intel.com) ([10.237.222.111]) by fmsmga001.fm.intel.com with ESMTP; 22 Jan 2019 03:17:39 -0800 From: Marko Kovacevic To: dev@dpdk.org Cc: akhil.goyal@nxp.com, Marko Kovacevic Date: Tue, 22 Jan 2019 11:17:37 +0000 Message-Id: <20190122111737.11871-1-marko.kovacevic@intel.com> X-Mailer: git-send-email 2.9.5 MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH] test/compress: fix size of test buffer X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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") Cc: marko.kovacevic@intel.com Signed-off-by: Marko Kovacevic --- test/test/test_compressdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test/test_compressdev.c b/test/test/test_compressdev.c index e8476ed..99cc390 100644 --- a/test/test/test_compressdev.c +++ b/test/test/test_compressdev.c @@ -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 100 const char * huffman_type_strings[] = {