From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 790EDA04E0; Wed, 27 Nov 2019 10:39:16 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6F0FA7CBC; Wed, 27 Nov 2019 10:39:16 +0100 (CET) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 32BF028EE for ; Wed, 27 Nov 2019 10:39:15 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Nov 2019 01:39:14 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,249,1571727600"; d="scan'208";a="203017583" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by orsmga008.jf.intel.com with ESMTP; 27 Nov 2019 01:39:14 -0800 Received: from fmsmsx102.amr.corp.intel.com (10.18.124.200) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 27 Nov 2019 01:39:13 -0800 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by FMSMSX102.amr.corp.intel.com (10.18.124.200) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 27 Nov 2019 01:39:13 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.213]) by shsmsx102.ccr.corp.intel.com ([169.254.2.108]) with mapi id 14.03.0439.000; Wed, 27 Nov 2019 17:39:12 +0800 From: "Tu, Lijuan" To: "Wan, Zhe" , "dts@dpdk.org" CC: "Wan, Zhe" Thread-Topic: [dts] [PATCH V1] test_plans: add test cases for compressdev_qat_pmd Thread-Index: AQHVpC1D3ZKmpXw3OEi43E99ESWSf6eexKgQ Date: Wed, 27 Nov 2019 09:39:11 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BB69848@SHSMSX101.ccr.corp.intel.com> References: <1574781901-72423-1-git-send-email-zhe.wan@intel.com> In-Reply-To: <1574781901-72423-1-git-send-email-zhe.wan@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNTdhNmM4ZGQtZDM2Yi00MjIxLThmNjQtNTBlYjIxOGM4ZTUxIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiSzBRVlwvTFFvV1hHd0NkQUtGTGh3MWRvRElueEhPNDdwNGVwZ0lQNEtsZUI4UURHMGZjQjRkXC9ZZjI5K05ib1IzIn0= x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH V1] test_plans: add test cases for compressdev_qat_pmd X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" Applied, thanks > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Zhe > Sent: Tuesday, November 26, 2019 11:25 PM > To: dts@dpdk.org > Cc: Wan, Zhe > Subject: [dts] [PATCH V1] test_plans: add test cases for > compressdev_qat_pmd >=20 > From: Zhe Wan >=20 > Signed-off-by: Zhe Wan > --- > test_plans/compressdev_qat_pmd_test_plan.rst | 120 > ++++++++++++++++++++++++++- > 1 file changed, 117 insertions(+), 3 deletions(-) >=20 > diff --git a/test_plans/compressdev_qat_pmd_test_plan.rst > b/test_plans/compressdev_qat_pmd_test_plan.rst > index 1fea1dc..a286d2c 100644 > --- a/test_plans/compressdev_qat_pmd_test_plan.rst > +++ b/test_plans/compressdev_qat_pmd_test_plan.rst > @@ -69,14 +69,128 @@ Start test application and run qat pmd unit test:: >=20 > Verify all test cases passed in the test. >=20 > -Test Case: Compressdev QAT PMD test > ---------------------------------------------------------- > +Test Case: Compressdev QAT PMD fixed function test > +---------------------------------------------------------------------- > Run Compressdev qat pmd test with below sample commands:: >=20 > ./app/dpdk-test-compress-perf -w qat_device_bus_id -l 4 \ > -- --driver-name compress_qat --input-file file_name \ > --compress-level level --num-iter number --huffman-enc fixed >=20 > -Perform the test with huffman-enc fixed and dynamic accordingly. > +Perform the test with fixed huffman-enc. >=20 > Test all the file types in calgary corpus, all files should pass the tes= t. > + > +Test Case: Compressdev QAT PMD dynamic function test > +----------------------------------------------------------------------- > +Run Compressdev qat pmd test with below sample commands:: > + > + ./app/dpdk-test-compress-perf -w qat_device_bus_id -l 4 \ > + -- --driver-name compress_qat --input-file file_name \ > + --compress-level level --num-iter number --huffman-enc dynamic > + > +Perform the test with dynamic huffman-enc. > + > +Test all the file types in calgary corpus, all files should pass the tes= t. > + > +Test Case: Compressdev QAT PMD big sgl fixed function test > +----------------------------------------------------------------------- > +--- Run Compressdev qat pmd test with below sample commands:: > + > + ./app/dpdk-test-compress-perf -w qat_device_bus_id -l 4 \ > + -- --driver-name compress_qat --input-file file_name --seg-sz segsiz= e \ > + --compress-level level --num-iter number --extended-input-sz size \ > + --max-num-sgl-segs seg --huffman-enc fixed > + > +Perform the test with big max-num-sgl-segs and fixed huffman-enc. > + > +Test all the file types in calgary corpus, all files should pass the tes= t. > + > +Test Case: Compressdev QAT PMD big sgl dynamic function test > +----------------------------------------------------------------------- > +--- Run Compressdev qat pmd test with below sample commands:: > + > + ./app/dpdk-test-compress-perf -w qat_device_bus_id -l 4 \ > + -- --driver-name compress_qat --input-file file_name --seg-sz segsiz= e \ > + --compress-level level --num-iter number --extended-input-sz size \ > + --max-num-sgl-segs seg --huffman-enc dynamic > + > +Perform the test with big max-num-sgl-segs and dynamic huffman-enc. > + > +Test all the file types in calgary corpus, all files should pass the tes= t. > + > +Test Case: Compressdev QAT PMD big seg-sz fixed function test > +----------------------------------------------------------------------- > +--- Run Compressdev qat pmd test with below sample commands:: > + > + ./app/dpdk-test-compress-perf -w qat_device_bus_id -l 4 \ > + -- --driver-name compress_qat --input-file file_name --seg-sz segsiz= e \ > + --compress-level level --num-iter number --extended-input-sz size \ > + --max-num-sgl-segs seg --huffman-enc fixed > + > +Perform the test with big seg-sz and fixed huffman-enc. > + > +Test all the file types in calgary corpus, all files should pass the tes= t. > + > +Test Case: Compressdev QAT PMD big seg-sz dynamic function test > +----------------------------------------------------------------------- > +---- Run Compressdev qat pmd test with below sample commands:: > + > + ./app/dpdk-test-compress-perf -w qat_device_bus_id -l 4 \ > + -- --driver-name compress_qat --input-file file_name --seg-sz segsiz= e \ > + --compress-level level --num-iter number --extended-input-sz size \ > + --max-num-sgl-segs seg --huffman-enc dynamic > + > +Perform the test with big seg-sz and dynamic huffman-enc. > + > +Test all the file types in calgary corpus, all files should pass the tes= t. > + > +Test Case: Compressdev QAT PMD external mbufs fixed function test > +----------------------------------------------------------------------- > +-- Run Compressdev qat pmd test with below sample commands:: > + > + ./app/dpdk-test-compress-perf -w qat_device_bus_id -l 4 \ > + -- --driver-name compress_qat --input-file file_name \ > + --compress-level level --num-iter number --external-mbufs \ > + --huffman-enc fixed > + > +Perform the test with external-mbufs option and fixed huffman-enc. > + > +Test all the file types in calgary corpus, all files should pass the tes= t. > + > +Test Case: Compressdev QAT PMD external mbufs dynamic function test > +----------------------------------------------------------------------- > +--- Run Compressdev qat pmd test with below sample commands:: > + > + ./app/dpdk-test-compress-perf -w qat_device_bus_id -l 4 \ > + -- --driver-name compress_qat --input-file file_name \ > + --compress-level level --num-iter number --external-mbufs \ > + --huffman-enc dynamic > + > +Perform the test with external-mbufs option and dynamic huffman-enc. > + > +Test all the file types in calgary corpus, all files should pass the tes= t. > + > +Test Case: Compressdev QAT PMD fixed performance test > +----------------------------------------------------------------------- > +--- Run Compressdev qat pmd test with below sample commands:: > + > + ./app/dpdk-test-compress-perf -w qat_device_bus_id -l 4 \ > + -- --driver-name compress_qat --input-file file_name \ > + --compress-level level --num-iter number --huffman-enc fixed > + > +Perform the test with fixed huffman-enc and calgary file. > + > +Run the test with seg-sz 1k, 2k, 4k, 8k, 16k and 32k respectively. > + > +Test Case: Compressdev QAT PMD dynamic performance test > +----------------------------------------------------------------------- > +---- Run Compressdev qat pmd test with below sample commands:: > + > + ./app/dpdk-test-compress-perf -w qat_device_bus_id -l 4 \ > + -- --driver-name compress_qat --input-file file_name \ > + --compress-level level --num-iter number --huffman-enc dynamic > + > +Perform the test with dynamic huffman-enc and calgary file. > + > +Run the test with seg-sz 1k, 2k, 4k, 8k, 16k and 32k respectively. > -- > 1.8.3.1