From patchwork Wed Feb 23 13:48:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yu Jiang X-Patchwork-Id: 108119 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 EBF3BA034D; Wed, 23 Feb 2022 06:49:11 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E69424115C; Wed, 23 Feb 2022 06:49:11 +0100 (CET) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id D834640DF6 for ; Wed, 23 Feb 2022 06:49:10 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1645595351; x=1677131351; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=km0tfUXdh+ArAyhIMiDDXBc0AZ2mq+XSG+r24gJfpzM=; b=YQPiYIPuhxoIrjwWLKp2XO77sfI9Pk29Vk6n2OXSMKKYHTf9WuIrzqHa /+H+vc/asF8qtLA5+LBitKCjN8+Xjp1AxHTNBGxZRJMJh7pJvfBbZ+t7b 6oK1M93yzDlsSMteWk9QoZBpe5RLNSvShipAAGMBHjr8cHxISFZZWj2rY I8xnNAdHkYswPk9IEoIXKyTmkI/9pQhBGIWY1SFyavU1fO9W2AumD0Z3y RD99NUwCTiiOQzAUoYDHh/4n+JEH+L7sKqvXjVXcRji9EokQKlRGbLDa2 qo1f0kT8J5Oq7E/jlXnuxA4bOjLGL/SQyPay5JLsAQAJIjI9UkfrIU0ZC Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10266"; a="231864323" X-IronPort-AV: E=Sophos;i="5.88,390,1635231600"; d="scan'208";a="231864323" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Feb 2022 21:49:10 -0800 X-IronPort-AV: E=Sophos;i="5.88,390,1635231600"; d="scan'208";a="491069609" Received: from unknown (HELO localhost.localdomain) ([10.239.251.226]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Feb 2022 21:49:09 -0800 From: Yu Jiang To: lijuan.tu@intel.com, dts@dpdk.org Cc: Yu Jiang Subject: [dts][PATCH V1 4/5] test_plans/*: modify test plan to adapt meson build Date: Wed, 23 Feb 2022 13:48:37 +0000 Message-Id: <20220223134838.509099-5-yux.jiang@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220223134838.509099-1-yux.jiang@intel.com> References: <20220223134838.509099-1-yux.jiang@intel.com> 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 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::