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 BF738A056D; Tue, 3 Mar 2020 06:24:15 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 94B6C1BFF2; Tue, 3 Mar 2020 06:24:15 +0100 (CET) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id ACC9E3B5 for ; Tue, 3 Mar 2020 06:24:13 +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 fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Mar 2020 21:24:12 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,510,1574150400"; d="scan'208";a="412617571" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga005.jf.intel.com with ESMTP; 02 Mar 2020 21:24:12 -0800 Received: from fmsmsx111.amr.corp.intel.com (10.18.116.5) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 2 Mar 2020 21:24:11 -0800 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by fmsmsx111.amr.corp.intel.com (10.18.116.5) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 2 Mar 2020 21:24:11 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.43]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.137]) with mapi id 14.03.0439.000; Tue, 3 Mar 2020 13:24:10 +0800 From: "Tu, Lijuan" To: "Chen, Zhaoyan" , "dts@dpdk.org" CC: "Chen, Zhaoyan" , "Chen@dpdk.org" Thread-Topic: [dts] [PATCH V1] Add ABI stable test cases Thread-Index: AQHV5Way40y328uIT0WQMnjr6iSTY6g2bRaA Date: Tue, 3 Mar 2020 05:24:08 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BBE8E10@SHSMSX101.ccr.corp.intel.com> References: <20200217074311.190784-1-zhaoyan.chen@intel.com> In-Reply-To: <20200217074311.190784-1-zhaoyan.chen@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-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 ABI stable test cases 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 Chen, Zhaoyan > Sent: Monday, February 17, 2020 3:43 PM > To: dts@dpdk.org > Cc: Chen, Zhaoyan ; Chen@dpdk.org > Subject: [dts] [PATCH V1] Add ABI stable test cases >=20 > Define compiling steps and common test steps. > Reuse exisiting test suites to cover ABI stable checking. >=20 > Signed-off-by: Chen, Zhaoyan >=20 > --- > test_plans/ABI_stable_test.rst | 150 +++++++++++++++++++++++++++++++++ > 1 file changed, 150 insertions(+) > create mode 100644 test_plans/ABI_stable_test.rst >=20 > diff --git a/test_plans/ABI_stable_test.rst b/test_plans/ABI_stable_test.= rst > new file mode 100644 index 0000000..bc8deb4 > --- /dev/null > +++ b/test_plans/ABI_stable_test.rst > @@ -0,0 +1,150 @@ > +.. Copyright (c) <2019-2020>, 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 > +DPDK ABI Stable Tests > +=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 test suite includes both functional and performance test cases to > +ensure that DPDK point releases (xx.02, xx.05, xx.08) are not only > +binary compatible, but are also functionally and reasonably performance > +compatibly with the previous vxx.11 release. > + > + > +Compiling Steps > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > + > +Compile shared library/application from DPDK xx.11 release. > +Change the option in config/common_base configuration file:: > + > + CONFIG_RTE_BUILD_SHARED_LIB=3Dy > + > +And then, compile the DPDK:: > + > + make install -j T=3Dx86_64-native-linuxapp-gcc > + > +Keep this DPDK folder as , e.g. . > + > +Compile shared library from DPDK point releasees (xx.02, xx.05, xx.08). > +Command lines are same to above. > +Keep this DPDK folder as . e.g. > + > +Setup library path in environment:: > + > + export LD_LIBRARY_PATH=3D$LD_LIBRARY_PATH, > + > + > +Common Test Steps > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > + > +Comparing to test static dpdk application, ABI stable checking use > +dynamic dpdk application, and shared library. Launching dynamic dpdk > +application steps are below, > + > +Go into directory, launch application with specific library:= : > + > + testpmd -c 0xf -n 4 -d -- -i > + > +Expect the application could launch successfully. > + > +Then, execute test steps with the application. > + > +Reuse our existing test suites for ABI stable checking. > + > + > +Execute Test Suites > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > + > + +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D+=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D+ > + | Test Suites | Type | > + +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D+=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D+ > + | unit_tests_cmdline | functional | > + +-------------------------------+------------------------+ > + | unit_tests_crc | functional | > + +-------------------------------+------------------------+ > + | unit_tests_dump | functional | > + +-------------------------------+------------------------+ > + | unit_tests_eal | functional | > + +-------------------------------+------------------------+ > + | unit_tests_kni | functional | > + +-------------------------------+------------------------+ > + | unit_tests_loopback | functional | > + +-------------------------------+------------------------+ > + | unit_tests_lpm | functional | > + +-------------------------------+------------------------+ > + | unit_tests_mbuf | functional | > + +-------------------------------+------------------------+ > + | unit_tests_mempool | functional | > + +-------------------------------+------------------------+ > + | unit_tests_pmd_perf | functional | > + +-------------------------------+------------------------+ > + | unit_tests_power | functional | > + +-------------------------------+------------------------+ > + | unit_tests_qos | functional | > + +-------------------------------+------------------------+ > + | unit_tests_ringpmd | functional | > + +-------------------------------+------------------------+ > + | unit_tests_ring | functional | > + +-------------------------------+------------------------+ > + | unit_tests_timer | functional | > + +-------------------------------+------------------------+ > + | vhost_1024_ethports | functional | > + +-------------------------------+------------------------+ > + | vhost_dequeue_zero_copy | functional | > + +-------------------------------+------------------------+ > + | vhost_enqueue_interrupt | functional | > + +-------------------------------+------------------------+ > + | vhost_event_idx_interrupt | functional | > + +-------------------------------+------------------------+ > + | vhost_multi_queue_qemu | functional | > + +-------------------------------+------------------------+ > + | vhost_pmd_xstats | functional | > + +-------------------------------+------------------------+ > + | vhost_virtio_user_interrupt | functional | > + +-------------------------------+------------------------+ > + | vhost_user_live_migration | functional | > + +-------------------------------+------------------------+ > + | flow_classify | functional | > + +-------------------------------+------------------------+ > + | flow_classify_softnic | functional | > + +-------------------------------+------------------------+ > + | vhost_virtio_pmd_interrupt | functional | > + +-------------------------------+------------------------+ > + | l2fwd | performance | > + +-------------------------------+------------------------+ > + | nic_single_core_perf | performance | > + +-------------------------------+------------------------+ > + | l3fwd | performance | > + +-------------------------------+------------------------+ > -- > 2.22.0