From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id E3B70A0353; Thu, 24 Feb 2022 06:47:09 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DDEFC41156; Thu, 24 Feb 2022 06:47:09 +0100 (CET) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id 249AC41171 for ; Thu, 24 Feb 2022 06:47:07 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1645681628; x=1677217628; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=km0tfUXdh+ArAyhIMiDDXBc0AZ2mq+XSG+r24gJfpzM=; b=IcA+g/IjJ9DhUhYtfQ+uEEEQph2Bf/BVszdKRUAQWlPfItPTEcW9wgaC MNK8taFZqu395OQ/wBGRRlnSpnCKrQk9vFo5PuSLos4IgD66h5Yb3zFqK tKOSoFPHpmW12QD9WTbpv8VuGsG95b1Gplzee53YMBBpQXy9RbqK8fnxc 0DkbMcqaYqYuBj+87ZBlj63vbP3drJBUteE5dKGvdOGif+QMT3lTbzrVi S50CgwxIcH7/x/60VjONudRmFu6iiWslDKnx8f5qIuokLdqHk/T+h/MXN Vkw+IXdnDtjv6YTzKiEAg0OZCikuR6busISWUpBcjJDZJAbG7ZUV7g4BJ Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10267"; a="315382130" X-IronPort-AV: E=Sophos;i="5.88,393,1635231600"; d="scan'208";a="315382130" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Feb 2022 21:47:07 -0800 X-IronPort-AV: E=Sophos;i="5.88,393,1635231600"; d="scan'208";a="548590629" Received: from unknown (HELO localhost.localdomain) ([10.239.251.226]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Feb 2022 21:47:06 -0800 From: Yu Jiang To: lijuan.tu@intel.com, dts@dpdk.org Cc: Yu Jiang Subject: [dts][PATCH V3 3/5] test_plans/*: modify test plan to adapt meson build Date: Thu, 24 Feb 2022 13:46:33 +0000 Message-Id: <20220224134635.1501581-4-yux.jiang@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220224134635.1501581-1-yux.jiang@intel.com> References: <20220224134635.1501581-1-yux.jiang@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 test_plans/*: modify test plan to adapt meson build, including iavf,ipsec_gw_and_library,keep_alive,kernelpf_iavf Signed-off-by: Yu Jiang --- test_plans/iavf_test_plan.rst | 8 ++++---- test_plans/ipsec_gw_and_library_test_plan.rst | 2 -- test_plans/keep_alive_test_plan.rst | 13 ++----------- test_plans/kernelpf_iavf_test_plan.rst | 2 +- 4 files changed, 7 insertions(+), 18 deletions(-) diff --git a/test_plans/iavf_test_plan.rst b/test_plans/iavf_test_plan.rst index c055cd83..ddd7fbb9 100644 --- a/test_plans/iavf_test_plan.rst +++ b/test_plans/iavf_test_plan.rst @@ -54,7 +54,7 @@ Prerequisites 2. Start testpmd on host to configure VF ports' mac:: - ./x86_64-native-linuxapp-gcc/app/testpmd -l 1-5 -n 4 -- -i + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-5 -n 4 -- -i testpmd>set vf mac addr 0 0 00:12:34:56:78:01 testpmd>set vf mac addr 1 0 00:12:34:56:78:02 @@ -79,7 +79,7 @@ Test case: VF basic RX/TX --------------------------- 1. Start testpmd on VM:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x3 -n 1 -- -i + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x3 -n 1 -- -i 2. Check and verify packets which received and forwarded @@ -89,7 +89,7 @@ Test Cases: VF mac filter Start testpmd on VM:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x3 -n 1 -- -i + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x3 -n 1 -- -i Test Case: unicast test ------------------------ @@ -141,7 +141,7 @@ Test Cases: VF VLAN feature vlan filter only work with promisc mode off Start testpmd on VM:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x3 -n 1 -- -i + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x3 -n 1 -- -i Test Case: vlan filter --------------------------- diff --git a/test_plans/ipsec_gw_and_library_test_plan.rst b/test_plans/ipsec_gw_and_library_test_plan.rst index 1cd80783..8d51b684 100644 --- a/test_plans/ipsec_gw_and_library_test_plan.rst +++ b/test_plans/ipsec_gw_and_library_test_plan.rst @@ -125,8 +125,6 @@ The test commands of ipsec-secgw is below:: compile the applications:: - make -C ./examples/ipsec-secgw - meson: meson configure -Dexamples=ipsec-secgw ninja -C diff --git a/test_plans/keep_alive_test_plan.rst b/test_plans/keep_alive_test_plan.rst index 81c1c74f..41b5e4e0 100644 --- a/test_plans/keep_alive_test_plan.rst +++ b/test_plans/keep_alive_test_plan.rst @@ -49,15 +49,6 @@ Compiling the Application ========================= To compile the application: - -Go to the sample application directory:: - - export RTE_SDK=/path/to/rte_sdk cd ${RTE_SDK}/examples/keep_alive - -Set the target (a default target is used if not specified). For example:: - - export RTE_TARGET=x86_64-native-linuxapp-gcc - See the DPDK Getting Started Guide for possible RTE_TARGET values. Build the application:: @@ -69,7 +60,7 @@ Running the Application The application has a number of command line options:: - ./build/l2fwd-keepalive [EAL options] -- -p PORTMASK [-q NQ] [-K PERIOD] [-T PERIOD] + .//examples/dpdk-l2fwd-keepalive [EAL options] -- -p PORTMASK [-q NQ] [-K PERIOD] [-T PERIOD] where, @@ -80,6 +71,6 @@ where, To run the application in linuxapp environment with 4 lcores, 16 ports 8 RX queues per lcore and a ping interval of 10ms, issue the command:: - ./build/l2fwd-keepalive -c f -n 4 -- -q 8 -p ffff -K 10 + .//examples/dpdk-l2fwd-keepalive -c f -n 4 -- -q 8 -p ffff -K 10 Refer to the DPDK Getting Started Guide for general information on running applications and the Environment Abstraction Layer (EAL) options. diff --git a/test_plans/kernelpf_iavf_test_plan.rst b/test_plans/kernelpf_iavf_test_plan.rst index 45c217e4..9c10b125 100644 --- a/test_plans/kernelpf_iavf_test_plan.rst +++ b/test_plans/kernelpf_iavf_test_plan.rst @@ -653,7 +653,7 @@ Bind VFs to vfio-pci:: Start l3fwd power with one queue per port:: - ./examples/l3fwd-power/build/l3fwd-power -l 6,7 -n 4 -- \ + .//examples/dpdk-l3fwd-power -l 6,7 -n 4 -- \ -p 0x3 --config '(0,0,6),(1,0,7)' Send one packet to VF0 and VF1, check that thread on core6 and core7 waked up:: -- 2.25.1