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 45FB6A0353; Thu, 24 Feb 2022 04:24:00 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2E57E41171; Thu, 24 Feb 2022 04:24:00 +0100 (CET) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id F192A4115E for ; Thu, 24 Feb 2022 04:23:57 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1645673038; x=1677209038; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=km0tfUXdh+ArAyhIMiDDXBc0AZ2mq+XSG+r24gJfpzM=; b=TI/7XmI6g+f45ahqH90dn6bsKPKl4kc1k2+0obaqFYhwo/zfkry7VPfs yiXPgWF1/FN31/Kjxe2YsO4JziAwgmtsCPZD3xFjflKKzfJyHKcZYRQV/ MiD6uT0xQlRK9UrThr9IKGBMKqSkXr1uq+N4EuvAXC89/6xm2HGyxxU3N eDW1UqR2KYERsFBz472BFXKFKdxB95gChDqijr6+45cVFID1vJergoDKV hHsJeOMJM46owSEO2Ug9W3UL69g31IhsxvwN+nM/Aj8Zyx18HtR5ue2gT Vi1B9j7dYOZMQqUZcGK5um/ey5K4Pn6Q0Kmkkd22w7CprA35zEoLt48XB g==; X-IronPort-AV: E=McAfee;i="6200,9189,10267"; a="252059805" X-IronPort-AV: E=Sophos;i="5.88,392,1635231600"; d="scan'208";a="252059805" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Feb 2022 19:23:57 -0800 X-IronPort-AV: E=Sophos;i="5.88,392,1635231600"; d="scan'208";a="639567173" Received: from unknown (HELO localhost.localdomain) ([10.239.251.226]) by orsmga004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Feb 2022 19:23:56 -0800 From: Yu Jiang To: lijuan.tu@intel.com, dts@dpdk.org Cc: Yu Jiang Subject: [dts][PATCH V2 3/6] test_plans/*: modify test plan to adapt meson build Date: Thu, 24 Feb 2022 11:23:22 +0000 Message-Id: <20220224112325.1488073-4-yux.jiang@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220224112325.1488073-1-yux.jiang@intel.com> References: <20220224112325.1488073-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