From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 6F264D088 for ; Tue, 8 May 2018 17:48:01 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 May 2018 08:48:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,378,1520924400"; d="scan'208";a="39381450" Received: from irsmsx108.ger.corp.intel.com ([163.33.3.3]) by orsmga007.jf.intel.com with ESMTP; 08 May 2018 08:47:58 -0700 Received: from irsmsx112.ger.corp.intel.com (10.108.20.5) by IRSMSX108.ger.corp.intel.com (163.33.3.3) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 8 May 2018 16:47:57 +0100 Received: from irsmsx103.ger.corp.intel.com ([169.254.3.179]) by irsmsx112.ger.corp.intel.com ([169.254.1.237]) with mapi id 14.03.0319.002; Tue, 8 May 2018 16:47:57 +0100 From: "Trahe, Fiona" To: "De Lara Guarch, Pablo" , "dev@dpdk.org" CC: "Daly, Lee" , "shally.verma@cavium.com" , "ahmed.mansour@nxp.com" , "Ashish.Gupta@cavium.com" , "Trahe, Fiona" Thread-Topic: [PATCH v4 0/5] Initial compressdev unit tests Thread-Index: AQHT45HfIydQWawcl0afM0R9i/G6lqQmAGHw Date: Tue, 8 May 2018 15:47:56 +0000 Message-ID: <348A99DA5F5B7549AA880327E580B4358947CE29@IRSMSX103.ger.corp.intel.com> References: <20180228140010.27251-1-pablo.de.lara.guarch@intel.com> <20180504102218.30672-1-pablo.de.lara.guarch@intel.com> In-Reply-To: <20180504102218.30672-1-pablo.de.lara.guarch@intel.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZDM2Njc5MGQtNTJjMy00NTk0LWIyN2MtZmM4YzQ4NjhjZDljIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6IjczeDd4UnFWOVMxdStCdUNHcEFycGVieVJsaFYza2RXWDNhdldpeDA2Ylk9In0= x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.200.100 dlp-reaction: no-action x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v4 0/5] Initial compressdev unit tests 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: , X-List-Received-Date: Tue, 08 May 2018 15:48:02 -0000 > -----Original Message----- > From: De Lara Guarch, Pablo > Sent: Friday, May 4, 2018 11:22 AM > To: dev@dpdk.org > Cc: Trahe, Fiona ; Daly, Lee ;= shally.verma@cavium.com; > ahmed.mansour@nxp.com; Ashish.Gupta@cavium.com; De Lara Guarch, Pablo > > Subject: [PATCH v4 0/5] Initial compressdev unit tests >=20 > Added initial tests for Compressdev library. > The tests are performed compressing a test buffer (or multiple test buffe= rs) with > compressdev or Zlib, and decompressing it/them with the other library (if= compression is > done with compressdev, decompression is done with Zlib, and viceversa). >=20 > Tests added so far are based on the deflate algorithm, > including: > - Fixed huffman on single buffer > - Dynamic huffman on single buffer > - Multi compression level test on single buffer > - Multi buffer > - Multi xform using the same buffer >=20 > Due to a dependency on Zlib, the test is not enabled by default. > Once the library is installed, the configuration option CONFIG_RTE_COMPRE= SSDEV_TEST must be set to Y. > However, if building with Meson, the test will be built automatically, if= Zlib is installed. >=20 > The test requires a compressdev PMD to be initialized, when running the t= est app. For example: >=20 > ./build/app/test --vdev=3D"compress_X" >=20 > RTE>>compressdev_autotest >=20 > This patchset depends on the Compressdev API patchset: > http://dpdk.org/ml/archives/dev/2018-April/099580.html > ("[PATCH v6 00/14] Implement compression API") >=20 > Changes in v4: > - Free memory when malloc fails >=20 > Changes in v3: > - Remove next pointer in xform setting > - Remove unneeded DIV_CEIL macro > - Add rte_compressdev_close() call after finishing test cases >=20 > Changes in v2: > - Add meson build > - Add invalid configuration tests > - Use new Compressdev API: > * Substitute session with priv xform > * Check if priv xform is shareable and create one per operation if not >=20 > Pablo de Lara (5): > test/compress: add initial unit tests > test/compress: add multi op test > test/compress: add multi level test > test/compress: add multi xform test > test/compress: add invalid configuration tests >=20 > config/common_base | 5 + > test/test/Makefile | 9 + > test/test/meson.build | 8 + > test/test/test_compressdev.c | 1137 ++++++++++++++++++++++ > test/test/test_compressdev_test_buffer.h | 295 ++++++ > 5 files changed, 1454 insertions(+) > create mode 100644 test/test/test_compressdev.c > create mode 100644 test/test/test_compressdev_test_buffer.h >=20 > -- > 2.17.0 Series Acked-by: Fiona Trahe