From patchwork Wed Jan 19 06:18:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Zhang, Peng1X" X-Patchwork-Id: 106057 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id E2FDCA0352; Wed, 19 Jan 2022 07:40:20 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D017140DF5; Wed, 19 Jan 2022 07:40:20 +0100 (CET) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id 4EFBF4013F for ; Wed, 19 Jan 2022 07:40:17 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1642574418; x=1674110418; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=E+uE1bsdjlPoSNRB/TxJPfLSPxU8QMwANL0hB/AnaaY=; b=cXZxB249wtu9cFSeFIs27dGeJXQ8K51D/bwR/MhO8c/WiYyheX3q0c0p OxmbsJDoGTtExUh5Nqph3QXA3eIqexuIfMQP0qdhEOHn0g63OoQ9mIxz1 P6cJl45VhdYiVygloP02DFf29CybKItzJqmE7RIlIk01uTBxXkxGYbQoa KWp9qIpUC/A1U+wN+BM/qPGphw+W8EhdOrTLHwoNsrwjFwYNwbOcQmnsH bg031jA/MAkVnEHbPXtOGCWxRy8QDJnzdRUPvM3lgmtJosSzUduXpz7eJ gU3DdtmeFVNzQ5gPjHbI7uz24Ybl6+PSJX4dQ0BCjWIQQONTRgA8Lu1Q8 A==; X-IronPort-AV: E=McAfee;i="6200,9189,10231"; a="244792922" X-IronPort-AV: E=Sophos;i="5.88,299,1635231600"; d="scan'208";a="244792922" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Jan 2022 22:40:16 -0800 X-IronPort-AV: E=Sophos;i="5.88,299,1635231600"; d="scan'208";a="518057444" Received: from unknown (HELO localhost.localdomain) ([10.239.251.111]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Jan 2022 22:40:14 -0800 From: Peng Zhang To: dts@dpdk.org Cc: Peng Zhang Subject: [dts] [PATCH V1] test_plans/*:Modify testplans including app name/build method Date: Wed, 19 Jan 2022 14:18:05 +0800 Message-Id: <20220119061805.56991-1-peng1x.zhang@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 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 Modify testplans including app name or compile method which are out of date. Signed-off-by: Peng Zhang --- test_plans/coremask_test_plan.rst | 8 ++++---- ...package_download_in_ice_driver_test_plan.rst | 3 ++- test_plans/example_build_test_plan.rst | 17 ++++++++--------- test_plans/inline_ipsec_test_plan.rst | 3 ++- test_plans/keep_alive_test_plan.rst | 3 ++- test_plans/multicast_test_plan.rst | 3 ++- test_plans/userspace_ethtool_test_plan.rst | 3 ++- test_plans/vf_interrupt_pmd_test_plan.rst | 3 ++- 8 files changed, 24 insertions(+), 19 deletions(-) diff --git a/test_plans/coremask_test_plan.rst b/test_plans/coremask_test_plan.rst index 769e0ddd..706c622e 100644 --- a/test_plans/coremask_test_plan.rst +++ b/test_plans/coremask_test_plan.rst @@ -47,7 +47,7 @@ Test Case: individual coremask Launch ``test`` once per core, set the core mask for the core:: - ./x86_64-default-linuxapp-gcc/app/test -c -n 4 + ./x86_64-default-linuxapp-gcc/app/test/dpdk-test -c -n 4 Verify: every time the application is launched the core is properly detected @@ -61,7 +61,7 @@ Test Case: big coremask Launch ``test`` with a mask bigger than the available cores:: - ./x86_64-default-linuxapp-gcc/app/test -c <128 bits mask> -n 4 + ./x86_64-default-linuxapp-gcc/app/test/dpdk-test -c <128 bits mask> -n 4 Verify: the application handles the mask properly and all the available cores @@ -74,7 +74,7 @@ Test Case: all cores Launch ``test`` with all the available cores:: - ./x86_64-default-linuxapp-gcc/app/test -c -n 4 + ./x86_64-default-linuxapp-gcc/app/test/dpdk-test -c -n 4 Verify: all the cores have been detected and used by the application. @@ -86,7 +86,7 @@ Test Case: wrong coremask Launch ``test`` with several wrong masks:: - ./x86_64-default-linuxapp-gcc/app/test -c -n 4 + ./x86_64-default-linuxapp-gcc/app/test/dpdk-test -c -n 4 Verify: the application complains about the mask and does not start. diff --git a/test_plans/enable_package_download_in_ice_driver_test_plan.rst b/test_plans/enable_package_download_in_ice_driver_test_plan.rst index 578ba30e..6de17a0b 100644 --- a/test_plans/enable_package_download_in_ice_driver_test_plan.rst +++ b/test_plans/enable_package_download_in_ice_driver_test_plan.rst @@ -172,7 +172,8 @@ For example, Compile DPDK and testpmd:: - make install -j T=x86_64-native-linuxapp-gcc + CC=gcc meson -Denable_kmods=True -Dlibdir=lib --default-library=static x86_64-native-linuxapp-gcc + ninja -C x86_64-native-linuxapp-gcc Launch testpmd with 1 default interface and 1 specific interface:: diff --git a/test_plans/example_build_test_plan.rst b/test_plans/example_build_test_plan.rst index 34feb4ae..d057b859 100644 --- a/test_plans/example_build_test_plan.rst +++ b/test_plans/example_build_test_plan.rst @@ -56,16 +56,15 @@ Test case: example build compile the applications of examples successfully:: - make -j 70 -C examples + meson configure -Dexamples=all x86_64-native-linuxapp-gcc + ninja -C x86_64-native-linuxapp-gcc If the compilation is successful, it will be the same as the shown in the terminal. :: ... - LD load_balancer - INSTALL-APP l3fwd-thread - INSTALL-MAP l3fwd-thread.map - INSTALL-APP ipsec-secgw - INSTALL-MAP ipsec-secgw.map - INSTALL-MAP load_balancer.map - INSTALL-APP load_balancer - make: Leaving directory '/root/dpdk/examples' + [188/193] Linking target examples/dpdk-efd_node + [189/193] Linking target examples/dpdk-vhost_crypto + [190/193] Linking target examples/dpdk-pipeline + [191/193] Linking target examples/dpdk-efd_server + [192/193] Linking target examples/dpdk-vhost + [193/193] Linking target examples/dpdk-vmdq diff --git a/test_plans/inline_ipsec_test_plan.rst b/test_plans/inline_ipsec_test_plan.rst index 11dfedad..f3b0a8cc 100644 --- a/test_plans/inline_ipsec_test_plan.rst +++ b/test_plans/inline_ipsec_test_plan.rst @@ -107,7 +107,8 @@ Add print code in IPSEC app:: Re-compile examples/ipsec-secgw:: - make -C examples/ipsec-secgw + meson configure -Dexamples=ipsec-secgw x86_64-native-linuxapp-gcc + ninja -C x86_64-native-linuxapp-gcc Test Case: Inline cfg parsing ============================= diff --git a/test_plans/keep_alive_test_plan.rst b/test_plans/keep_alive_test_plan.rst index 249c2278..81c1c74f 100644 --- a/test_plans/keep_alive_test_plan.rst +++ b/test_plans/keep_alive_test_plan.rst @@ -61,7 +61,8 @@ Set the target (a default target is used if not specified). For example:: See the DPDK Getting Started Guide for possible RTE_TARGET values. Build the application:: - make + meson configure -Dexamples=l2fwd-keepalive x86_64-native-linuxapp-gcc + ninja -C x86_64-native-linuxapp-gcc Running the Application ======================= diff --git a/test_plans/multicast_test_plan.rst b/test_plans/multicast_test_plan.rst index a190170a..368c857c 100644 --- a/test_plans/multicast_test_plan.rst +++ b/test_plans/multicast_test_plan.rst @@ -217,7 +217,8 @@ These flows do not change across the test cases. And re-compile examples/ipv4_multicast:: - make -C examples/ipv4_multicast + meson configure -Dexamples=ipv4_multicast x86_64-native-linuxapp-gcc + ninja -C x86_64-native-linuxapp-gcc Test Case: IP4 Multicast Forwarding =================================== diff --git a/test_plans/userspace_ethtool_test_plan.rst b/test_plans/userspace_ethtool_test_plan.rst index ca86beaf..790e25e8 100644 --- a/test_plans/userspace_ethtool_test_plan.rst +++ b/test_plans/userspace_ethtool_test_plan.rst @@ -168,7 +168,8 @@ enable vlan filter flag in main.c of dpdk's ethtool:: re-compile examples/ethtool:: - make -C examples/ethtool + meson configure -Dexamples=ethtool x86_64-native-linuxapp-gcc + ninja -C x86_64-native-linuxapp-gcc Add vlan 0 to port 0 and vlan 1 to port1, send packet without vlan to port0,1 Verify port0 and port1 received vlan packets:: diff --git a/test_plans/vf_interrupt_pmd_test_plan.rst b/test_plans/vf_interrupt_pmd_test_plan.rst index a8ed3d8e..964bc834 100644 --- a/test_plans/vf_interrupt_pmd_test_plan.rst +++ b/test_plans/vf_interrupt_pmd_test_plan.rst @@ -63,7 +63,8 @@ Modify the DPDK-l3fwd-power source code and recompile the l3fwd-power:: export RTE_TARGET=x86_64-native-linuxapp-gcc export RTE_SDK=`/root/DPDK` - make -C examples/l3fwd-power + meson configure -Dexamples=l3fwd-power x86_64-native-linuxapp-gcc + ninja -C x86_64-native-linuxapp-gcc Support igb_uio and vfio driver, if used vfio, kernel need 3.6+ and enable vt-d in bios. When used vfio, requested to insmod two drivers vfio and vfio-pci.