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 EBA35A0093; Thu, 21 May 2020 10:33:43 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D55B91D65B; Thu, 21 May 2020 10:33:43 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 7887F1D65A for ; Thu, 21 May 2020 10:33:42 +0200 (CEST) IronPort-SDR: uzVIkF5O3ZABWZlhhAZ4wAZFePkOpVhOQgy5rzrVjqo3KzqqjGy0QDdcwNGvmZLavJgbgAK5Zj jp+BG7pSc05Q== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 May 2020 01:33:42 -0700 IronPort-SDR: sYyDVLit8AbkFo00ivi8cGUT4Vrk5cMnvMBGAYoKmiE2nwit7Av0PUNcR2RtPSJFl9QVHjphv9 +j02JCxmQu6g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,417,1583222400"; d="scan'208";a="466700718" Received: from unknown (HELO dpdk-xinfengx-dut.sh.intel.com) ([10.67.117.16]) by fmsmga005.fm.intel.com with ESMTP; 21 May 2020 01:33:41 -0700 From: xinfengx To: dts@dpdk.org Cc: xinfengx Date: Thu, 21 May 2020 16:32:35 +0800 Message-Id: <20200521083235.21329-2-xinfengx.zhao@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200521083235.21329-1-xinfengx.zhao@intel.com> References: <20200521083235.21329-1-xinfengx.zhao@intel.com> Subject: [dts] [PATCH V1 2/2] tests/compressdev_qat_pmd: add new cases in test script 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" Signed-off-by: xinfengx --- tests/TestSuite_compressdev_qat_pmd.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/tests/TestSuite_compressdev_qat_pmd.py b/tests/TestSuite_compressdev_qat_pmd.py index 696ad1d..601ed62 100644 --- a/tests/TestSuite_compressdev_qat_pmd.py +++ b/tests/TestSuite_compressdev_qat_pmd.py @@ -123,6 +123,18 @@ class TestCompressdevQatPmd(TestCase): "seg-sz": 2048, "external-mbufs": '', "extended-input-sz": 300000}) result = cc.run_compress_func(self) + def test_qat_pmd_im_fixed_func(self): + cc.default_eals['w'] = ' -w '.join(self.get_perf_default_device()) + cc.default_opts.update({"huffman-enc": "fixed", "seg-sz": 59460, + "max-num-sgl-segs": 54, "extended-input-sz": 3251493}) + result = cc.run_compress_func(self) + + def test_qat_pmd_im_dynamic_func(self): + cc.default_eals['w'] = ' -w '.join(self.get_perf_default_device()) + cc.default_opts.update({"huffman-enc": "dynamic", "seg-sz": 59460, + "max-num-sgl-segs": 54, "extended-input-sz": 3251493}) + result = cc.run_compress_func(self) + def test_qat_pmd_fixed_perf(self): cc.default_eals['w'] = ' -w '.join(self.get_perf_default_device()) cc.default_opts.update({"huffman-enc": "fixed", "extended-input-sz": 3244032, -- 2.17.1