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 42A554C8D for ; Mon, 21 Jan 2019 05:34:09 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Jan 2019 20:34:07 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,501,1539673200"; d="scan'208";a="293080653" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga005.jf.intel.com with ESMTP; 20 Jan 2019 20:34:07 -0800 Received: from fmsmsx158.amr.corp.intel.com (10.18.116.75) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.408.0; Sun, 20 Jan 2019 20:34:06 -0800 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx158.amr.corp.intel.com (10.18.116.75) with Microsoft SMTP Server (TLS) id 14.3.408.0; Sun, 20 Jan 2019 20:34:07 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.196]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.71]) with mapi id 14.03.0415.000; Mon, 21 Jan 2019 12:34:04 +0800 From: "Tu, Lijuan" To: "Zhao, XinfengX" , "dts@dpdk.org" CC: "Zhao, XinfengX" Thread-Topic: [dts] [PATCH V1] add the test plan of cryptodev unit-test Thread-Index: AQHUq8VV3wF7PTFdyU2du4/v0fWZxKW5LVHg Date: Mon, 21 Jan 2019 04:34:03 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BA051C4@SHSMSX101.ccr.corp.intel.com> References: <1547441903-32337-1-git-send-email-xinfengx.zhao@intel.com> In-Reply-To: <1547441903-32337-1-git-send-email-xinfengx.zhao@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.0.400.15 dlp-reaction: no-action x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNTgxYmUwZGMtYzM5Ni00OGMyLThmNDktNzkxZWMyMGRmMGM1IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoieGx5T0NIb29qRGRON1lKYzJXTHFDYkdOMXR2Rm4wTFwvWUNGTXpROUkyZ0d2WTlKd3FoWFhnVXh0eFdHUDJFeHEifQ== 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] add the test plan of cryptodev unit-test 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: , X-List-Received-Date: Mon, 21 Jan 2019 04:34:09 -0000 Sorry, this is duplicated with unit_tests_cryptodev_test_plan.rst which is = already in the DTS. > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Xinfeng Zhao > Sent: Monday, January 14, 2019 12:58 PM > To: dts@dpdk.org > Cc: Zhao, XinfengX > Subject: [dts] [PATCH V1] add the test plan of cryptodev unit-test >=20 > From: xinfengx >=20 > Signed-off-by: xinfengx > --- > test_plans/cryptodev_func_unit-test_test_plan.rst | 79 > +++++++++++++++++++++++ > 1 file changed, 79 insertions(+) > create mode 100644 test_plans/cryptodev_func_unit-test_test_plan.rst >=20 > diff --git a/test_plans/cryptodev_func_unit-test_test_plan.rst > b/test_plans/cryptodev_func_unit-test_test_plan.rst > new file mode 100644 > index 0000000..6cb6c5e > --- /dev/null > +++ b/test_plans/cryptodev_func_unit-test_test_plan.rst > @@ -0,0 +1,79 @@ > +.. Copyright (c) 2016-2017 Intel Corporation > + All rights reserved. > + > + Redistribution and use in source and binary forms, with or without > + modification, are permitted provided that the following conditions > + are met: > + > + - Redistributions of source code must retain the above copyright > + notice, this list of conditions and the following disclaimer. > + > + - Redistributions in binary form must reproduce the above copyright > + notice, this list of conditions and the following disclaimer in > + the documentation and/or other materials provided with the > + distribution. > + > + - Neither the name of Intel Corporation nor the names of its > + contributors may be used to endorse or promote products derived > + from this software without specific prior written permission. > + > + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND > CONTRIBUTORS > + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT > + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS > + FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE > + COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, > INDIRECT, > + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES > + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS > OR > + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) > + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN > CONTRACT, > + STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) > + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED > + OF THE POSSIBILITY OF SUCH DAMAGE. > + > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > +Unit Tests: Cryptodev > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > + > + > +Description > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > + > +This document provides the plan for testing Cryptodev API via Cryptodev = unit > tests. > +Unit tests include supported Hardware and Software PMD(polling mode devi= ce) > and supported algorithms. > +Cryptodev API provides ability to do encryption/decryption by > +integrating QAT(Intel@ QuickAssist > +Technology) into DPDK. The QAT provides poll mode crypto driver support > +for Intel@ QuickAssist Adapter 8950 hardware accelerator. > + > +The testing of Crytpodev API should be tested under either Intel > +QuickAssist Technology DH895xxC hardware accelerator or AES-NI library. > + > +This test suite will run all cryptodev related unit test cases. > +Alternatively, you could execute the unit tests manually by app/test DPD= K > application. > + > +Unit Test List > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > + > +- cryptodev_qat_autotest > +- cryptodev_aesni_mb_autotest > +- cryptodev_openssl_autotest > +- cryptodev_aesni_gcm_autotest > +- cryptodev_null_autotest > +- cryptodev_sw_snow3g_autotest > +- cryptodev_sw_kasumi_autotest > +- cryptodev_sw_zuc_autotest > +- cryptodev_scheduler_autotest > + > + > +Test Case Setup > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > + > +#. Build DPDK and app/test app > +#. Bind cryptodev devices to igb_uio driver #. Manually verify the > +app/test by this command, as example, in your build folder:: > + > + ./app/test -c 1 -n 1 > + RTE>> cryptodev_qat_autotest > + > +All Unit Test Cases are listed above. > + > +Expected all tests could pass in testing. > -- > 2.7.4