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 7BB67A00C3; Tue, 14 Dec 2021 08:56:24 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7261E40E28; Tue, 14 Dec 2021 08:56:24 +0100 (CET) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id BC0F740E28 for ; Tue, 14 Dec 2021 08:56:22 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1639468582; x=1671004582; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=c1vHZ7PbiA47fcuOMiKvVS3rVXbT1pCwMDKb4E9uFm8=; b=RS7e9cZkIg1qs9/rm2zDVnoWf5qyhPlphhC1HTLJJpdMtuV7T58RoIUA 79GLRf/gMRygk6hitWCeOkzKH/+bKJlh5tKp74igjREhN0gja8MkvZjCN 5lbKrhvSQqC4bYG9wgur6p9O0qwdGGXJ+g6l5rFzPlDEzrt1oculnOGhg Z7pLdHSgtu9SjvNxdyOKVEjEqt1O/tmbOz+mSncpyWmITB2kUIl0HWpaP vQloG+nxjqxNSfaVS8Yuo7zOTg18itd0Kn5kwRmvpqAZI/nD1J4er74rE kTB57PiOeHArI1YRuj2VgjawKU35d46wRkTUtX1axsJBSBvAlo0feYjqC Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10197"; a="219605992" X-IronPort-AV: E=Sophos;i="5.88,204,1635231600"; d="scan'208";a="219605992" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Dec 2021 23:56:22 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,204,1635231600"; d="scan'208";a="681959124" Received: from dpdk-moyufen08.sh.intel.com ([10.67.117.188]) by orsmga005.jf.intel.com with ESMTP; 13 Dec 2021 23:56:20 -0800 From: "Yufen.Mo" To: dts@dpdk.org Cc: "Yufen.Mo" Subject: [dts][PATCH V2 0/1] test_plans: rename test plan bin name Date: Tue, 14 Dec 2021 15:54:52 +0800 Message-Id: <20211214075452.44844-2-yufengx.mo@intel.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20211214075452.44844-1-yufengx.mo@intel.com> References: <20211214075452.44844-1-yufengx.mo@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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 rename test plan bin name. Signed-off-by: Yufen.Mo --- test_plans/distributor_test_plan.rst | 6 +- test_plans/ipfrag_test_plan.rst | 5 +- test_plans/l2fwd_test_plan.rst | 6 +- test_plans/l3fwd_test_plan.rst | 104 +++++++++--------- test_plans/metrics_test_plan.rst | 12 +- test_plans/multiprocess_test_plan.rst | 32 +++--- test_plans/nic_single_core_perf_test_plan.rst | 2 +- test_plans/ntb_test_plan.rst | 24 ++-- test_plans/nvgre_test_plan.rst | 14 +-- test_plans/packet_capture_test_plan.rst | 30 ++--- test_plans/packet_ordering_test_plan.rst | 8 +- test_plans/performance_thread_test_plan.rst | 24 ++-- test_plans/pmd_bonded_8023ad_test_plan.rst | 14 +-- test_plans/pmd_bonded_test_plan.rst | 10 +- test_plans/pmd_stacked_bonded_test_plan.rst | 10 +- test_plans/pmd_test_plan.rst | 8 +- test_plans/pmdrss_hash_test_plan.rst | 2 +- test_plans/pmdrssreta_test_plan.rst | 6 +- test_plans/port_control_test_plan.rst | 4 +- test_plans/port_representor_test_plan.rst | 6 +- test_plans/power_negative_test_plan.rst | 12 +- 21 files changed, 170 insertions(+), 169 deletions(-) diff --git a/test_plans/distributor_test_plan.rst b/test_plans/distributor_test_plan.rst index bc27985f..1e99a037 100644 --- a/test_plans/distributor_test_plan.rst +++ b/test_plans/distributor_test_plan.rst @@ -53,7 +53,7 @@ Test Case: Distributor unit test ================================ Start test application and run distributor unit test:: - ./x86_64-native-linuxapp-gcc/app/test -c f -n 4 + ./x86_64-native-linuxapp-gcc/app/test/dpdk-test -c f -n 4 RTE>>distributor_autotest Verify burst distributor API unit test passed @@ -62,7 +62,7 @@ Test Case: Distributor performance unit test ============================================ Start test application and run distributor unit test:: - ./x86_64-native-linuxapp-gcc/app/test -c f -n 4 + ./x86_64-native-linuxapp-gcc/app/test/dpdk-test -c f -n 4 RTE>>distributor_perf_autotest Compared CPU cycles for normal distributor and burst API @@ -87,7 +87,7 @@ Test Case: Distributor with multiple input ports ================================================ Start distributor sample with two workers and two ports:: - ./examples/distributor/build/distributor_app -c 0x7c -n 4 -- -p 0x3 + ./x86_64-native-linuxapp-gcc/examples/dpdk-distributor -c 0x7c -n 4 -- -p 0x3 Send packets with sequence indicated in udp port id diff --git a/test_plans/ipfrag_test_plan.rst b/test_plans/ipfrag_test_plan.rst index 31dcc7bc..2178b4db 100644 --- a/test_plans/ipfrag_test_plan.rst +++ b/test_plans/ipfrag_test_plan.rst @@ -159,7 +159,8 @@ Prerequisites And re-compile examples/ip_fragmentation:: - make -C examples/ip_fragmentation + meson configure -Dexamples=ip_fragmentation x86_64-native-linuxapp-gcc + ninja -C x86_64-native-linuxapp-gcc Test Case 1: IP Fragmentation normal ip packet forward ====================================================== @@ -209,5 +210,5 @@ The following configurations should be tested: Command line:: - ./ip_fragmentation -c -n 4 -- [-P] -p PORTMASK + ./x86_64-native-linuxapp-gcc/examples/dpdk-ip_fragmentation -c -n 4 -- [-P] -p PORTMASK -q diff --git a/test_plans/l2fwd_test_plan.rst b/test_plans/l2fwd_test_plan.rst index 6bbed760..f33bf118 100644 --- a/test_plans/l2fwd_test_plan.rst +++ b/test_plans/l2fwd_test_plan.rst @@ -75,7 +75,7 @@ Assume port 0 and 1 are connected to the traffic generator, to run the test application in linuxapp environment with 4 lcores, 2 ports and 8 RX queues per lcore:: - $ ./l2fwd -n 1 -c f -- -q 8 -p 0x3 + $ ./x86_64-native-linuxapp-gcc/examples/dpdk-l2fwd -n 1 -c f -- -q 8 -p 0x3 Also, if the ports to be tested are different, the port mask should be changed. The lcore used to run the test application and the number of queue used for a @@ -92,7 +92,7 @@ of the packet stream to be sent out from ``port A`` to the mac address of from ``port B`` to the mac address of ``port 1``. Other parameters of the packet stream could be anything valid. Then run the test application as below:: - $ ./l2fwd -n 1 -c f -- -q 8 -p 0x3 + $ ./x86_64-native-linuxapp-gcc/examples/dpdk-l2fwd -n 1 -c f -- -q 8 -p 0x3 Trigger the packet generator of bursting packets from ``port A``, then check if ``port 0`` could receive them and ``port 1`` could forward them back. Stop it @@ -127,7 +127,7 @@ Set the packet stream to be sent out from packet generator before testing as bel Then run the test application as below:: - $ ./l2fwd -n 2 -c f -- -q 1 -p 0x3 + $ ./x86_64-native-linuxapp-gcc/examples/dpdk-l2fwd -n 2 -c f -- -q 1 -p 0x3 The -n command is used to select the number of memory channels. It should match the number of memory channels on that setup. diff --git a/test_plans/l3fwd_test_plan.rst b/test_plans/l3fwd_test_plan.rst index a342401f..f0b4c641 100644 --- a/test_plans/l3fwd_test_plan.rst +++ b/test_plans/l3fwd_test_plan.rst @@ -306,55 +306,55 @@ presented in the table below. The test report should present this table with the actual command line used, replacing the PORTMASK and C{x.y.z} with their actual values used during test execution. -+-----+-----------------------------------------------------------------------------------------------------------------------+ -| # | Command Line | -+=====+=======================================================================================================================+ -| 1 | ./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P1,0,C{0.1.0}),(P2,0,C{0.1.0}),(P3,0,C{0.1.0})' | -+-----+-----------------------------------------------------------------------------------------------------------------------+ -| 2 | ./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P1,0,C{0.1.0}),(P2,0,C{0.1.1}),(P3,0,C{0.1.1})' | -+-----+-----------------------------------------------------------------------------------------------------------------------+ -| 3 | ./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P1,0,C{0.1.0}),(P2,0,C{0.2.0}),(P3,0,C{0.2.0})' | -+-----+-----------------------------------------------------------------------------------------------------------------------+ -| 4 | ./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P1,0,C{0.1.1}),(P2,0,C{0.2.0}),(P3,0,C{0.2.1})' | -+-----+-----------------------------------------------------------------------------------------------------------------------+ -| 5 | ./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P1,0,C{0.2.0}),(P2,0,C{0.3.0}),(P3,0,C{0.4.0})' | -+-----+-----------------------------------------------------------------------------------------------------------------------+ -| 6 | ./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P1,0,C{0.1.0}),(P2,0,C{1.1.0}),(P3,0,C{1.1.0})' | -+-----+-----------------------------------------------------------------------------------------------------------------------+ -| 7 | ./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P1,0,C{0.1.1}),(P2,0,C{1.1.0}),(P3,0,C{1.1.1})' | -+-----+-----------------------------------------------------------------------------------------------------------------------+ -| 8 | ./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P1,0,C{0.2.0}),(P2,0,C{1.1.0}),(P3,0,C{1.2.0})' | -+-----+-----------------------------------------------------------------------------------------------------------------------+ -| 9 | ./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P0,1,C{0.1.0}),(P1,0,C{0.1.0}),(P1,1,C{0.1.0}), | -| | (P2,0,C{0.1.0}),(P2,1,C{0.1.0}),(P3,0,C{0.1.0}),(P3,1,C{0.1.0})' | -+-----+-----------------------------------------------------------------------------------------------------------------------+ -| 10 | ./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P0,1,C{0.1.0}),(P1,0,C{0.1.0}),(P1,1,C{0.1.0}), | -| | (P2,0,C{0.1.1}),(P2,1,C{0.1.1}),(P3,0,C{0.1.1}),(P3,1,C{0.1.1})' | -+-----+-----------------------------------------------------------------------------------------------------------------------+ -| 11 | ./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P0,1,C{0.1.0}),(P1,0,C{0.1.0}),(P1,1,C{0.1.0}), | -| | (P2,0,C{0.2.0}),(P2,1,C{0.2.0}),(P3,0,C{0.2.0}),(P3,1,C{0.2.0})' | -+-----+-----------------------------------------------------------------------------------------------------------------------+ -| 12 | ./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P0,1,C{0.1.0}),(P1,0,C{0.1.1}),(P1,1,C{0.1.1}), | -| | (P2,0,C{0.2.0}),(P2,1,C{0.2.0}),(P3,0,C{0.2.1}),(P3,1,C{0.2.1})' | -+-----+-----------------------------------------------------------------------------------------------------------------------+ -| 13 | ./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P0,1,C{0.1.0}),(P1,0,C{0.2.0}),(P1,1,C{0.2.0}), | -| | (P2,0,C{0.3.0}),(P2,1,C{0.3.0}),(P3,0,C{0.4.0}),(P3,1,C{0.4.0})' | -+-----+-----------------------------------------------------------------------------------------------------------------------+ -| 14 | ./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P0,1,C{0.1.1}),(P1,0,C{0.2.0}),(P1,1,C{0.2.1}), | -| | (P2,0,C{0.3.0}),(P2,1,C{0.3.1}),(P3,0,C{0.4.0}),(P3,1,C{0.4.1})' | -+-----+-----------------------------------------------------------------------------------------------------------------------+ -| 15 | ./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P0,1,C{0.1.0}),(P1,0,C{0.1.0}),(P1,1,C{0.1.0}), | -| | (P2,0,C{1.1.0}),(P2,1,C{1.1.0}),(P3,0,C{1.1.0}),(P3,1,C{1.1.0})' | -+-----+-----------------------------------------------------------------------------------------------------------------------+ -| 16 | ./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P0,1,C{0.1.0}),(P1,0,C{0.1.1}),(P1,1,C{0.1.1}), | -| | (P2,0,C{1.1.0}),(P2,1,C{1.1.0}),(P3,0,C{1.1.1}),(P3,1,C{1.1.1})' | -+-----+-----------------------------------------------------------------------------------------------------------------------+ -| 17 | ./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P0,1,C{0.1.0}),(P1,0,C{0.2.0}),(P1,1,C{0.2.0}), | -| | (P2,0,C{1.1.0}),(P2,1,C{1.1.0}),(P3,0,C{1.2.0}),(P3,1,C{1.2.0})' | -+-----+-----------------------------------------------------------------------------------------------------------------------+ -| 18 | ./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P0,1,C{0.1.1}),(P1,0,C{0.2.0}),(P1,1,C{0.2.1}), | -| | (P2,0,C{1.1.0}),(P2,1,C{1.1.1}),(P3,0,C{1.2.0}),(P3,1,C{1.2.1})' | -+-----+-----------------------------------------------------------------------------------------------------------------------+ -| 19 | ./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P0,1,C{0.2.0}),(P1,0,C{0.3.0}),(P1,1,C{0.4.0}), | -| | (P2,0,C{1.1.0}),(P2,1,C{1.2.0}),(P3,0,C{1.3.0}),(P3,1,C{1.4.0})' | -+-----+-----------------------------------------------------------------------------------------------------------------------+ ++-----+----------------------------------------------------------------------------------------------------------------------------+ +| # | Command Line | ++=====+============================================================================================================================+ +| 1 | ./dpdk-l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P1,0,C{0.1.0}),(P2,0,C{0.1.0}),(P3,0,C{0.1.0})' | ++-----+----------------------------------------------------------------------------------------------------------------------------+ +| 2 | ./dpdk-l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P1,0,C{0.1.0}),(P2,0,C{0.1.1}),(P3,0,C{0.1.1})' | ++-----+----------------------------------------------------------------------------------------------------------------------------+ +| 3 | ./dpdk-l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P1,0,C{0.1.0}),(P2,0,C{0.2.0}),(P3,0,C{0.2.0})' | ++-----+----------------------------------------------------------------------------------------------------------------------------+ +| 4 | ./dpdk-l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P1,0,C{0.1.1}),(P2,0,C{0.2.0}),(P3,0,C{0.2.1})' | ++-----+----------------------------------------------------------------------------------------------------------------------------+ +| 5 | ./dpdk-l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P1,0,C{0.2.0}),(P2,0,C{0.3.0}),(P3,0,C{0.4.0})' | ++-----+----------------------------------------------------------------------------------------------------------------------------+ +| 6 | ./dpdk-l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P1,0,C{0.1.0}),(P2,0,C{1.1.0}),(P3,0,C{1.1.0})' | ++-----+----------------------------------------------------------------------------------------------------------------------------+ +| 7 | ./dpdk-l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P1,0,C{0.1.1}),(P2,0,C{1.1.0}),(P3,0,C{1.1.1})' | ++-----+----------------------------------------------------------------------------------------------------------------------------+ +| 8 | ./dpdk-l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P1,0,C{0.2.0}),(P2,0,C{1.1.0}),(P3,0,C{1.2.0})' | ++-----+----------------------------------------------------------------------------------------------------------------------------+ +| 9 | ./dpdk-l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P0,1,C{0.1.0}),(P1,0,C{0.1.0}),(P1,1,C{0.1.0}), | +| | (P2,0,C{0.1.0}),(P2,1,C{0.1.0}),(P3,0,C{0.1.0}),(P3,1,C{0.1.0})' | ++-----+----------------------------------------------------------------------------------------------------------------------------+ +| 10 | ./dpdk-l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P0,1,C{0.1.0}),(P1,0,C{0.1.0}),(P1,1,C{0.1.0}), | +| | (P2,0,C{0.1.1}),(P2,1,C{0.1.1}),(P3,0,C{0.1.1}),(P3,1,C{0.1.1})' | ++-----+----------------------------------------------------------------------------------------------------------------------------+ +| 11 | ./dpdk-l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P0,1,C{0.1.0}),(P1,0,C{0.1.0}),(P1,1,C{0.1.0}), | +| | (P2,0,C{0.2.0}),(P2,1,C{0.2.0}),(P3,0,C{0.2.0}),(P3,1,C{0.2.0})' | ++-----+----------------------------------------------------------------------------------------------------------------------------+ +| 12 | ./dpdk-l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P0,1,C{0.1.0}),(P1,0,C{0.1.1}),(P1,1,C{0.1.1}), | +| | (P2,0,C{0.2.0}),(P2,1,C{0.2.0}),(P3,0,C{0.2.1}),(P3,1,C{0.2.1})' | ++-----+----------------------------------------------------------------------------------------------------------------------------+ +| 13 | ./dpdk-l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P0,1,C{0.1.0}),(P1,0,C{0.2.0}),(P1,1,C{0.2.0}), | +| | (P2,0,C{0.3.0}),(P2,1,C{0.3.0}),(P3,0,C{0.4.0}),(P3,1,C{0.4.0})' | ++-----+----------------------------------------------------------------------------------------------------------------------------+ +| 14 | ./dpdk-l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P0,1,C{0.1.1}),(P1,0,C{0.2.0}),(P1,1,C{0.2.1}), | +| | (P2,0,C{0.3.0}),(P2,1,C{0.3.1}),(P3,0,C{0.4.0}),(P3,1,C{0.4.1})' | ++-----+----------------------------------------------------------------------------------------------------------------------------+ +| 15 | ./dpdk-l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P0,1,C{0.1.0}),(P1,0,C{0.1.0}),(P1,1,C{0.1.0}), | +| | (P2,0,C{1.1.0}),(P2,1,C{1.1.0}),(P3,0,C{1.1.0}),(P3,1,C{1.1.0})' | ++-----+----------------------------------------------------------------------------------------------------------------------------+ +| 16 | ./dpdk-l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P0,1,C{0.1.0}),(P1,0,C{0.1.1}),(P1,1,C{0.1.1}), | +| | (P2,0,C{1.1.0}),(P2,1,C{1.1.0}),(P3,0,C{1.1.1}),(P3,1,C{1.1.1})' | ++-----+----------------------------------------------------------------------------------------------------------------------------+ +| 17 | ./dpdk-l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P0,1,C{0.1.0}),(P1,0,C{0.2.0}),(P1,1,C{0.2.0}), | +| | (P2,0,C{1.1.0}),(P2,1,C{1.1.0}),(P3,0,C{1.2.0}),(P3,1,C{1.2.0})' | ++-----+----------------------------------------------------------------------------------------------------------------------------+ +| 18 | ./dpdk-l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P0,1,C{0.1.1}),(P1,0,C{0.2.0}),(P1,1,C{0.2.1}), | +| | (P2,0,C{1.1.0}),(P2,1,C{1.1.1}),(P3,0,C{1.2.0}),(P3,1,C{1.2.1})' | ++-----+----------------------------------------------------------------------------------------------------------------------------+ +| 19 | ./dpdk-l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P0,1,C{0.2.0}),(P1,0,C{0.3.0}),(P1,1,C{0.4.0}), | +| | (P2,0,C{1.1.0}),(P2,1,C{1.2.0}),(P3,0,C{1.3.0}),(P3,1,C{1.4.0})' | ++-----+----------------------------------------------------------------------------------------------------------------------------+ diff --git a/test_plans/metrics_test_plan.rst b/test_plans/metrics_test_plan.rst index 6dc051e9..22c31f34 100644 --- a/test_plans/metrics_test_plan.rst +++ b/test_plans/metrics_test_plan.rst @@ -167,7 +167,7 @@ Test Case : test latency stats #. Start testpmd, set it in io fwd mode:: - ./testpmd -c 0x30 -n 4 -- -i --latencystats=2 + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x30 -n 4 -- -i --latencystats=2 testpmd> set fwd io testpmd> start @@ -178,7 +178,7 @@ Test Case : test latency stats #. run dpdk-proc to get latency stats data, query data at a average interval and get 5 times data:: - ./app/dpdk-procinfo -- --metrics + ./x86_64-native-linuxapp-gcc/app/dpdk-procinfo -- --metrics #. latency stats has no reference standard data, only check non-zero and logic reasonable value. @@ -192,7 +192,7 @@ Test Case : test bit rate #. Start testpmd, set it in io fwd mode:: - ./testpmd -c 0x30 -n 4 -- -i --bitrate-stats=2 + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x30 -n 4 -- -i --bitrate-stats=2 testpmd> set fwd io testpmd> start @@ -203,7 +203,7 @@ Test Case : test bit rate #. run dpdk-proc to get latency stats data, query data at a average interval and get 5 times data:: - ./app/dpdk-procinfo -- --metrics + ./x86_64-native-linuxapp-gcc/app/dpdk-procinfo -- --metrics #. Compare dpdk statistics data with packet generator statistics data. @@ -217,7 +217,7 @@ Test Case : test bit rate peak value #. Start testpmd, set it in io fwd mode:: - ./testpmd -c 0x30 -n 4 -- -i --bitrate-stats=2 + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x30 -n 4 -- -i --bitrate-stats=2 testpmd> set fwd io testpmd> start @@ -228,7 +228,7 @@ Test Case : test bit rate peak value #. run dpdk-proc to get latency stats data, query data at a average interval and get 5 times data:: - ./app/dpdk-procinfo -- --metrics + ./x86_64-native-linuxapp-gcc/app/dpdk-procinfo -- --metrics #. decline packet generator rate percent from 100%/80%/60%/20%, loop step 5/6. diff --git a/test_plans/multiprocess_test_plan.rst b/test_plans/multiprocess_test_plan.rst index 89abe6c2..efb7fe05 100644 --- a/test_plans/multiprocess_test_plan.rst +++ b/test_plans/multiprocess_test_plan.rst @@ -67,11 +67,11 @@ Test Case: Basic operation 1. To run the application, start one copy of the simple_mp binary in one terminal, passing at least two cores in the coremask, as follows:: - ./build/simple_mp -c 3 --proc-type=primary + ./x86_64-native-linuxapp-gcc/examples/dpdk-simple_mp -c 3 --proc-type=primary The process should start successfully and display a command prompt as follows:: - $ ./build/simple_mp -c 3 --proc-type=primary + $ ./x86_64-native-linuxapp-gcc/examples/dpdk-simple_mp -c 3 --proc-type=primary EAL: coremask set to 3 EAL: Detected lcore 0 on socket 0 EAL: Detected lcore 1 on socket 0 @@ -94,7 +94,7 @@ Test Case: Basic operation 2. To run the secondary process to communicate with the primary process, again run the same binary setting at least two cores in the coremask.:: - ./build/simple_mp -c C --proc-type=secondary + ./x86_64-native-linuxapp-gcc/examples/dpdk-simple_mp -c C --proc-type=secondary Once the process type is specified correctly, the process starts up, displaying largely similar status messages to the primary instance as it initializes. Once again, you will be @@ -216,10 +216,10 @@ For example, to run a set of four symmetric_mp instances, running on lcores 1-4, performing level-2 forwarding of packets between ports 0 and 1, the following commands can be used (assuming run as root):: - ./build/symmetric_mp -c 2 --proc-type=auto -- -p 3 --num-procs=4 --proc-id=0 - ./build/symmetric_mp -c 4 --proc-type=auto -- -p 3 --num-procs=4 --proc-id=1 - ./build/symmetric_mp -c 8 --proc-type=auto -- -p 3 --num-procs=4 --proc-id=2 - ./build/symmetric_mp -c 10 --proc-type=auto -- -p 3 --num-procs=4 --proc-id=3 + ./x86_64-native-linuxapp-gcc/examples/dpdk-symmetric_mp -c 2 --proc-type=auto -- -p 3 --num-procs=4 --proc-id=0 + ./x86_64-native-linuxapp-gcc/examples/dpdk-symmetric_mp -c 4 --proc-type=auto -- -p 3 --num-procs=4 --proc-id=1 + ./x86_64-native-linuxapp-gcc/examples/dpdk-symmetric_mp -c 8 --proc-type=auto -- -p 3 --num-procs=4 --proc-id=2 + ./x86_64-native-linuxapp-gcc/examples/dpdk-symmetric_mp -c 10 --proc-type=auto -- -p 3 --num-procs=4 --proc-id=3 To run only 1 or 2 instances, the above parameters to the 1 or 2 instances being run should remain the same, except for the ``num-procs`` value, which should be @@ -283,7 +283,7 @@ The command line below is an example on how to start the server process on logical core 2 to handle a maximum of 8 client processes configured to run on socket 0 to handle traffic from NIC ports 0 and 1:: - root@host:mp_server# ./build/mp_server -c 2 -- -p 3 -n 8 + root@host:mp_server# ./x86_64-native-linuxapp-gcc/examples/dpdk-mp_server -c 2 -- -p 3 -n 8 NOTE: If an additional second core is given in the coremask to the server process that second core will be used to print statistics. When benchmarking, only a @@ -297,14 +297,14 @@ Run the Client application: An example commands to run 8 client processes is as follows:: - root@host:mp_client# ./build/mp_client -c 40 --proc-type=secondary -- -n 0 & - root@host:mp_client# ./build/mp_client -c 100 --proc-type=secondary -- -n 1 & - root@host:mp_client# ./build/mp_client -c 400 --proc-type=secondary -- -n 2 & - root@host:mp_client# ./build/mp_client -c 1000 --proc-type=secondary -- -n 3 & - root@host:mp_client# ./build/mp_client -c 4000 --proc-type=secondary -- -n 4 & - root@host:mp_client# ./build/mp_client -c 10000 --proc-type=secondary -- -n 5 & - root@host:mp_client# ./build/mp_client -c 40000 --proc-type=secondary -- -n 6 & - root@host:mp_client# ./build/mp_client -c 100000 --proc-type=secondary -- -n 7 & + root@host:mp_client# ./x86_64-native-linuxapp-gcc/examples/dpdk-mp_client -c 40 --proc-type=secondary -- -n 0 & + root@host:mp_client# ./x86_64-native-linuxapp-gcc/examples/dpdk-mp_client -c 100 --proc-type=secondary -- -n 1 & + root@host:mp_client# ./x86_64-native-linuxapp-gcc/examples/dpdk-mp_client -c 400 --proc-type=secondary -- -n 2 & + root@host:mp_client# ./x86_64-native-linuxapp-gcc/examples/dpdk-mp_client -c 1000 --proc-type=secondary -- -n 3 & + root@host:mp_client# ./x86_64-native-linuxapp-gcc/examples/dpdk-mp_client -c 4000 --proc-type=secondary -- -n 4 & + root@host:mp_client# ./x86_64-native-linuxapp-gcc/examples/dpdk-mp_client -c 10000 --proc-type=secondary -- -n 5 & + root@host:mp_client# ./x86_64-native-linuxapp-gcc/examples/dpdk-mp_client -c 40000 --proc-type=secondary -- -n 6 & + root@host:mp_client# ./x86_64-native-linuxapp-gcc/examples/dpdk-mp_client -c 100000 --proc-type=secondary -- -n 7 & Test Case: Performance Measurement ---------------------------------- diff --git a/test_plans/nic_single_core_perf_test_plan.rst b/test_plans/nic_single_core_perf_test_plan.rst index 9fc5e01a..7f86312f 100644 --- a/test_plans/nic_single_core_perf_test_plan.rst +++ b/test_plans/nic_single_core_perf_test_plan.rst @@ -76,7 +76,7 @@ Test Case : Single Core Performance Measurement 2) Start testpmd:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x6 -n 4 -- -i \ + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x6 -n 4 -- -i \ --portmask=0xf --txd=128 --rxd=128 testpmd> start diff --git a/test_plans/ntb_test_plan.rst b/test_plans/ntb_test_plan.rst index e8e2896d..b71ed97f 100644 --- a/test_plans/ntb_test_plan.rst +++ b/test_plans/ntb_test_plan.rst @@ -106,13 +106,13 @@ Test Case1: NTB test with file-trans fwd mode using igb_uio 2. Launch ntb_fwd sample on Machine1:: - ./examples/ntb/build/ntb_fwd -l 28-32 -n 6 -- -i --buf-size=65407 + ./x86_64-native-linuxapp-gcc/examples/dpdk-ntb -l 28-32 -n 6 -- -i --buf-size=65407 >set fwd file-trans >start 3. Launch ntb_fwd sample on Machine2:: - ./examples/ntb/build/ntb_fwd -l 28-32 -n 6 -- -i --buf-size=65407 + ./x86_64-native-linuxapp-gcc/examples/dpdk-ntb -l 28-32 -n 6 -- -i --buf-size=65407 >set fwd file-trans >start @@ -136,12 +136,12 @@ Test Case2: NTB test with file-trans fwd mode using vfio-pci 2. Launch ntb_fwd sample on Machine1:: - ./examples/ntb/build/ntb_fwd -l 28-32 -n 6 -- -i --buf-size=65407 + ./x86_64-native-linuxapp-gcc/examples/dpdk-ntb -l 28-32 -n 6 -- -i --buf-size=65407 >set fwd file-trans 3. Launch ntb_fwd sample on Machine2:: - ./examples/ntb/build/ntb_fwd -l 28-32 -n 6 -- -i --buf-size=65407 + ./x86_64-native-linuxapp-gcc/examples/dpdk-ntb -l 28-32 -n 6 -- -i --buf-size=65407 >set fwd file-trans 4. Send file from Machine1:: @@ -160,14 +160,14 @@ Test Case3: NTB test with rxonly/txonly fwd mode using igb_uio 2. Launch ntb_fwd sample on Machine1:: - ./examples/ntb/build/ntb_fwd -l 28-32 -n 6 -- -i --buf-size=65407 + ./x86_64-native-linuxapp-gcc/examples/dpdk-ntb -l 28-32 -n 6 -- -i --buf-size=65407 >set fwd rxonly >start >show port stats 3. Launch ntb_fwd sample on Machine2:: - ./examples/ntb/build/ntb_fwd -l 28-32 -n 6 -- -i --buf-size=65407 + ./x86_64-native-linuxapp-gcc/examples/dpdk-ntb -l 28-32 -n 6 -- -i --buf-size=65407 >set fwd txonly >start >show port stats @@ -188,14 +188,14 @@ Test Case4: NTB test with rxonly/txonly fwd mode using vfio-pci 2. Launch ntb_fwd sample on Machine1:: - ./examples/ntb/build/ntb_fwd -l 28-32 -n 6 -- -i --buf-size=65407 + ./x86_64-native-linuxapp-gcc/examples/dpdk-ntb -l 28-32 -n 6 -- -i --buf-size=65407 >set fwd rxonly >start >show port stats 3. Launch ntb_fwd sample on Machine2:: - ./examples/ntb/build/ntb_fwd -l 28-32 -n 6 -- -i --buf-size=65407 + ./x86_64-native-linuxapp-gcc/examples/dpdk-ntb -l 28-32 -n 6 -- -i --buf-size=65407 >set fwd txonly >start >show port stats @@ -214,14 +214,14 @@ Test flow: TG <-> NIC1 <-> NTB1 <-> NTB2 <-> NIC2 <-> TG 2. Launch ntb_fwd sample on Machine1:: - ./examples/ntb/build/ntb_fwd -l 28-32 -n 6 -- -i --fwd-mode=iofwd --burst=32 + ./x86_64-native-linuxapp-gcc/examples/dpdk-ntb -l 28-32 -n 6 -- -i --fwd-mode=iofwd --burst=32 >set fwd iofwd >start >show port stats 3. Launch ntb_fwd sample on Machine2:: - ./examples/ntb/build/ntb_fwd -l 28-32 -n 6 -- -i --fwd-mode=iofwd --burst=32 + ./x86_64-native-linuxapp-gcc/examples/dpdk-ntb -l 28-32 -n 6 -- -i --fwd-mode=iofwd --burst=32 >set fwd iofwd >start >show port stats @@ -244,14 +244,14 @@ Test flow: TG <-> NIC1 <-> NTB1 <-> NTB2 <-> NIC2 <-> TG 2. Launch ntb_fwd sample on Machine1:: - ./examples/ntb/build/ntb_fwd -l 28-32 -n 6 -- -i --fwd-mode=iofwd --burst=32 + ./x86_64-native-linuxapp-gcc/examples/dpdk-ntb -l 28-32 -n 6 -- -i --fwd-mode=iofwd --burst=32 >set fwd iofwd >start >show port stats 3. Launch ntb_fwd sample on Machine2:: - ./examples/ntb/build/ntb_fwd -l 28-32 -n 6 -- -i --fwd-mode=iofwd --burst=32 + ./x86_64-native-linuxapp-gcc/examples/dpdk-ntb -l 28-32 -n 6 -- -i --fwd-mode=iofwd --burst=32 >set fwd iofwd >start >show port stats diff --git a/test_plans/nvgre_test_plan.rst b/test_plans/nvgre_test_plan.rst index 015182a8..c05292ee 100644 --- a/test_plans/nvgre_test_plan.rst +++ b/test_plans/nvgre_test_plan.rst @@ -63,7 +63,7 @@ Test Case: NVGRE ipv4 packet detect Start testpmd with tunneling packet type to NVGRE:: - testpmd -c 0xffff -n 4 -- -i --rxq=4 --txq=4 --nb-cores=8 --nb-ports=2 + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xffff -n 4 -- -i --rxq=4 --txq=4 --nb-cores=8 --nb-ports=2 Set rxonly packet forwarding mode and enable verbose log:: @@ -96,7 +96,7 @@ Test Case: NVGRE ipv6 packet detect Start testpmd with tunneling packet type to NVGRE:: - testpmd -c 0xffff -n 2 -- -i --rxq=4 --txq=4 --nb-cores=8 --nb-ports=2 + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xffff -n 2 -- -i --rxq=4 --txq=4 --nb-cores=8 --nb-ports=2 Set rxonly packet forwarding mode and enable verbose log:: @@ -133,7 +133,7 @@ command line and the packet is sent again. Start testpmd:: - testpmd -c 0xffff -n 4 -- -i --disable-rss --rxq=4 --txq=4 --nb-cores=8 --nb-ports=2 + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xffff -n 4 -- -i --disable-rss --rxq=4 --txq=4 --nb-cores=8 --nb-ports=2 Set rxonly packet forwarding mode and enable verbose log:: @@ -181,7 +181,7 @@ result. Start testpmd:: - testpmd -c 0xffff -n 4 -- -i --disable-rss --rxq=4 --txq=4 --nb-cores=8 --nb-ports=2 + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xffff -n 4 -- -i --disable-rss --rxq=4 --txq=4 --nb-cores=8 --nb-ports=2 Set rxonly packet forwarding mode and enable verbose log:: @@ -217,7 +217,7 @@ command line and the packet is sent again. Start testpmd:: - testpmd -c 0xffff -n 4 -- -i --disable-rss --rxq=4 --txq=4 --nb-cores=8 --nb-ports=2 + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xffff -n 4 -- -i --disable-rss --rxq=4 --txq=4 --nb-cores=8 --nb-ports=2 Set rxonly packet forwarding mode and enable verbose log:: @@ -266,7 +266,7 @@ forwarded packet and checks the forwarded packet checksum correct or not. Start testpmd with tunneling packet type to NVGRE:: - testpmd -c 0xffff -n 4 -- -i --rxq=4 --txq=4 --nb-cores=8 --nb-ports=2 --enable-rx-cksum + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xffff -n 4 -- -i --rxq=4 --txq=4 --nb-cores=8 --nb-ports=2 --enable-rx-cksum Set csum packet forwarding mode and enable verbose log:: @@ -309,7 +309,7 @@ forwarded packet and checks the forwarded packet checksum correct or not. Start testpmd with tunneling packet type:: - testpmd -c ffff -n 4 -- -i --rxq=4 --txq=4 --nb-cores=8 --nb-ports=2 --enable-rx-cksum + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c ffff -n 4 -- -i --rxq=4 --txq=4 --nb-cores=8 --nb-ports=2 --enable-rx-cksum Set csum packet forwarding mode and enable verbose log:: diff --git a/test_plans/packet_capture_test_plan.rst b/test_plans/packet_capture_test_plan.rst index 2f38b60a..e2be1430 100644 --- a/test_plans/packet_capture_test_plan.rst +++ b/test_plans/packet_capture_test_plan.rst @@ -117,7 +117,7 @@ square brackets represents optional parameters:: - ./app/dpdk-pdump -- --pdump= + ./x86_64-native-linuxapp-gcc/examples/dpdk-pdump -- --pdump= '(port = |device_id = ), (queue=), (rx-dev= | tx-dev=), @@ -204,7 +204,7 @@ steps: #. Boot up dpdk's testpmd with chained option:: - ./app/testpmd -c 0x6 -n 4 -- -i --port-topology=chained + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x6 -n 4 -- -i --port-topology=chained testpmd> set fwd io testpmd> start @@ -215,7 +215,7 @@ steps: #. Boot up dpdk-pdump:: - ./app/dpdk-pdump -- --pdump ',queue=*,\ + ./x86_64-native-linuxapp-gcc/examples/dpdk-pdump -- --pdump ',queue=*,\ tx-dev=/tmp/pdump-tx.pcap,rx-dev=/tmp/pdump-rx.pcap' #. Set up linux's tcpdump to receiver packet on tester:: @@ -257,7 +257,7 @@ steps: #. Boot up dpdk's testpmd with chained option:: - ./app/testpmd -c 0x6 -n 4 -- -i --port-topology=chained + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x6 -n 4 -- -i --port-topology=chained testpmd> set fwd io testpmd> start @@ -268,7 +268,7 @@ steps: #. Boot up dpdk-pdump:: - ./app/dpdk-pdump -- --pdump 'port=0,,\ + ./x86_64-native-linuxapp-gcc/examples/dpdk-pdump -- --pdump 'port=0,,\ tx-dev=/tmp/pdump-tx.pcap,rx-dev=/tmp/pdump-rx.pcap' #. Set up linux's tcpdump to receiver packet on tester:: @@ -311,7 +311,7 @@ steps: #. Boot up dpdk's testpmd with chained option:: - ./app/testpmd -c 0x6 -n 4 -- -i --port-topology=chained + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x6 -n 4 -- -i --port-topology=chained testpmd> set fwd io testpmd> start @@ -322,7 +322,7 @@ steps: #. Boot up dpdk-pdump with pdump options:: - ./app/dpdk-pdump -- --pdump 'port=0,queue=*,' + ./x86_64-native-linuxapp-gcc/examples/dpdk-pdump -- --pdump 'port=0,queue=*,' #. Set up linux's tcpdump to receiver packet on tester:: @@ -366,7 +366,7 @@ steps: #. Boot up dpdk's testpmd with chained option:: - ./app/testpmd -c 0x6 -n 4 -- -i --port-topology=chained + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x6 -n 4 -- -i --port-topology=chained testpmd> set fwd io testpmd> start @@ -377,7 +377,7 @@ steps: #. Boot up dpdk-pdump with pdump options:: - ./app/dpdk-pdump -- --pdump 'port=0,queue=*,' + ./x86_64-native-linuxapp-gcc/examples/dpdk-pdump -- --pdump 'port=0,queue=*,' #. Set up linux's tcpdump to receiver packet on tester:: @@ -420,7 +420,7 @@ steps: #. Boot up dpdk's testpmd with chained option:: - ./app/testpmd -c 0x6 -n 4 -- -i --port-topology=chained + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x6 -n 4 -- -i --port-topology=chained testpmd> set fwd io testpmd> start @@ -431,7 +431,7 @@ steps: #. Boot up dpdk-pdump with pdump options:: - ./app/dpdk-pdump -- --pdump 'port=0,queue=*,\ + ./x86_64-native-linuxapp-gcc/examples/dpdk-pdump -- --pdump 'port=0,queue=*,\ tx-dev=/tmp/pdump-tx.pcap,rx-dev=/tmp/pdump-rx.pcap,ring-size=1024' #. Set up linux's tcpdump to receiver packet on tester:: @@ -469,7 +469,7 @@ steps: #. Boot up dpdk's testpmd with chained option:: - ./app/testpmd -c 0x6 -n 4 -- -i --port-topology=chained + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x6 -n 4 -- -i --port-topology=chained testpmd> set fwd io testpmd> start @@ -480,7 +480,7 @@ steps: #. Boot up dpdk-pdump with pdump options:: - ./app/dpdk-pdump -- --pdump 'port=0,queue=*,\ + ./x86_64-native-linuxapp-gcc/examples/dpdk-pdump -- --pdump 'port=0,queue=*,\ tx-dev=/tmp/pdump-tx.pcap,rx-dev=/tmp/pdump-rx.pcap,mbuf-size=2048' #. Set up linux's tcpdump to receiver packet on tester:: @@ -517,7 +517,7 @@ steps: #. Boot up dpdk's testpmd with chained option:: - ./app/testpmd -c 0x6 -n 4 -- -i --port-topology=chained + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x6 -n 4 -- -i --port-topology=chained testpmd> set fwd io testpmd> start @@ -528,7 +528,7 @@ steps: #. Boot up dpdk-pdump with pdump options:: - ./app/dpdk-pdump -- --pdump 'port=0,queue=*,\ + ./x86_64-native-linuxapp-gcc/examples/dpdk-pdump -- --pdump 'port=0,queue=*,\ tx-dev=/tmp/pdump-tx.pcap,rx-dev=/tmp/pdump-rx.pcap,total-num-mbufs=8191' #. Set up linux's tcpdump to receiver packet on tester:: diff --git a/test_plans/packet_ordering_test_plan.rst b/test_plans/packet_ordering_test_plan.rst index 193aff41..6b39025c 100644 --- a/test_plans/packet_ordering_test_plan.rst +++ b/test_plans/packet_ordering_test_plan.rst @@ -52,14 +52,14 @@ Workers-TX is done by using rings. The flow of mbufs is the following: Command Usage:: - ./packet_ordering [EAL options] -- [-p PORTMASK] [--insight-worker] + ./dpdk-packet_ordering [EAL options] -- [-p PORTMASK] [--insight-worker] -p PORTMASK : hexadecimal bitmask of ports to configure --insight-worker : print per core stats For example:: - ./packet_ordering -l 30-35 -- -p 0x1 --insight-worker + ./dpdk-packet_ordering -l 30-35 -- -p 0x1 --insight-worker RX thread stats: - Pkts rxd: 17026944 @@ -151,7 +151,7 @@ Reordered ratio: ratio between out of order packets and total sent packets. Run the app with below sample command:: - ./examples/packet_ordering/build/packet_ordering -c coremask -- -p portmask + ./x86_64-native-linuxapp-gcc/examples/dpdk-packet_ordering -c coremask -- -p portmask Test Case: keep the packet ordering =================================== @@ -162,7 +162,7 @@ app is ordering. 1. Run the sample with below command:: - ./examples/packet_ordering/build/packet_ordering -c coremask -- -p portmask + ./x86_64-native-linuxapp-gcc/examples/dpdk-packet_ordering -c coremask -- -p portmask 2. Send 1000 packets with the same 5-tuple traffic from Scapy diff --git a/test_plans/performance_thread_test_plan.rst b/test_plans/performance_thread_test_plan.rst index 33ef9bc7..b541bfda 100644 --- a/test_plans/performance_thread_test_plan.rst +++ b/test_plans/performance_thread_test_plan.rst @@ -80,7 +80,7 @@ Prerequisites 4. The application options to be used in below test cases are listed as well as the general description.:: - ./build/l3fwd-thread [EAL options] -- \ + ./x86_64-native-linuxapp-gcc/examples/dpdk-l3fwd-thread [EAL options] -- \ -p PORTMASK [-P] --rx(port,queue,lcore,thread)[,(port,queue,lcore,thread)] --tx(lcore,thread)[,(lcore,thread)] @@ -129,7 +129,7 @@ Test Case: one_lcore_per_pcore performance 1. Launch app with descriptor parameters:: - ./examples/performance-thread/l3fwd-thread/x86_64-native-linuxapp-gcc/l3fwd-thread \ + ./x86_64-native-linuxapp-gcc/examples/dpdk-l3fwd-thread \ -c ff -n 4 -- -P -p 3 --max-pkt-len 2500 \ --rx="(0,0,0,0)(1,0,0,0)" --tx="(1,0)" --no-lthread @@ -142,15 +142,15 @@ Test Case: one_lcore_per_pcore performance +-----+---------------------------------------------------------------------------------------------------+ | # | Command Line | +=====+===================================================================================================+ - | 1 | ./l3fwd-thread -c ff -n 4 -- -P -p 3 --max-pkt-len 2500 \ | + | 1 | ./dpdk-l3fwd-thread -c ff -n 4 -- -P -p 3 --max-pkt-len 2500 \ | | | --rx="(0,0,0,0)(1,0,1,1) --tx="(2,0)(3,1) \ | | | --no-lthread | +-----+---------------------------------------------------------------------------------------------------+ - | 2 | ./l3fwd-thread -c ff -n 4 -- -P -p 3 --max-pkt-len 2500 \ | + | 2 | ./dpdk-l3fwd-thread -c ff -n 4 -- -P -p 3 --max-pkt-len 2500 \ | | | --rx="(0,0,0,0)(0,1,1,1)(1,0,2,2)(1,1,3,3)" \ | | | --tx="(4,0)(5,1)(6,2)(7,3)" --no-lthread | +-----+---------------------------------------------------------------------------------------------------+ - | 3 | ./l3fwd-thread -c ff -n 4 -- -P -p 3 --max-pkt-len 2500 \ | + | 3 | ./dpdk-l3fwd-thread -c ff -n 4 -- -P -p 3 --max-pkt-len 2500 \ | | | --rx="(0,0,0,0)(0,1,1,1)(0,2,2,2)(0,3,3,3)(1,0,4,4)(1,1,5,5)(1,2,6,6)(1,3,7,7)" \ | | | --tx="(8,0)(9,1)(10,2)(11,3)(12,4)(13,5)(14,6)(15,7)" \ | | | --no-lthread | @@ -177,15 +177,15 @@ Test Case: n_lcore_per_pcore performance +-----+---------------------------------------------------------------------------------------------------+ | # | Command Line | +=====+===================================================================================================+ - | 1 | ./l3fwd-thread -n 4 --lcores="(0-3)@0,4" -- -P -p 3 --max-pkt-len 2500 \ | + | 1 | ./dpdk-l3fwd-thread -n 4 --lcores="(0-3)@0,4" -- -P -p 3 --max-pkt-len 2500 \ | | | --rx="(0,0,0,0)(1,0,1,1) --tx="(2,0)(3,1) \ | | | --no-lthread | +-----+---------------------------------------------------------------------------------------------------+ - | 2 | ./l3fwd-thread -n 4 --lcores="(0-7)@0,8" -- -P -p 3-P -p 3 --max-pkt-len 2500 \ | + | 2 | ./dpdk-l3fwd-thread -n 4 --lcores="(0-7)@0,8" -- -P -p 3-P -p 3 --max-pkt-len 2500 \ | | | --rx="(0,0,0,0)(0,1,1,1)(1,0,2,2)(1,1,3,3)" \ | | | --tx="(4,0)(5,1)(6,2)(7,3)" --no-lthread | +-----+---------------------------------------------------------------------------------------------------+ - | 3 | ./l3fwd-thread -n 4 --lcores="(0-15)@0,16" -- -P -p 3 --max-pkt-len 2500 \ | + | 3 | ./dpdk-l3fwd-thread -n 4 --lcores="(0-15)@0,16" -- -P -p 3 --max-pkt-len 2500 \ | | | --rx="(0,0,0,0)(0,1,1,1)(0,2,2,2)(0,3,3,3)(1,0,4,4)(1,1,5,5)(1,2,6,6)(1,3,7,7)" \ | | | --tx="(8,0)(9,1)(10,2)(11,3)(12,4)(13,5)(14,6)(15,7)" \ | | | --no-lthread | @@ -199,7 +199,7 @@ Test Case: n_lthread_per_pcore performance 1. Launch app with descriptor parameters:: - ./examples/performance-thread/l3fwd-thread/x86_64-native-linuxapp-gcc/l3fwd-thread \ + ./x86_64-native-linuxapp-gcc/examples/dpdk-l3fwd-thread \ -c ff -n 4 -- -P -p 3 --max-pkt-len 2500 \ ----tx="(0,0)" --tx="(0,0)" @@ -212,14 +212,14 @@ Test Case: n_lthread_per_pcore performance +-----+---------------------------------------------------------------------------------------------------+ | # | Command Line | +=====+===================================================================================================+ - | 1 | ./l3fwd-thread -c ff -n 4 -- -P -p 3 --max-pkt-len 2500 \ | + | 1 | ./dpdk-l3fwd-thread -c ff -n 4 -- -P -p 3 --max-pkt-len 2500 \ | | | --rx="(0,0,0,0)(1,0,1,1) --tx="(0,0),(0,1)" | +-----+---------------------------------------------------------------------------------------------------+ - | 2 | ./l3fwd-thread -c ff -n 4 -- -P -p 3 --max-pkt-len 2500 \ | + | 2 | ./dpdk-l3fwd-thread -c ff -n 4 -- -P -p 3 --max-pkt-len 2500 \ | | | --rx="(0,0,0,0)(0,1,0,1)(1,0,0,2)(1,1,0,3)" \ | | | --tx="(0,0)(0,1)(0,2)(0,3)" | +-----+---------------------------------------------------------------------------------------------------+ - | 3 | ./l3fwd-thread -c ff -n 4 -- -P -p 3 --max-pkt-len 2500 \ | + | 3 | ./dpdk-l3fwd-thread -c ff -n 4 -- -P -p 3 --max-pkt-len 2500 \ | | | --rx="(0,0,0,0)(0,1,0,1)(0,2,0,2)(0,3,0,3)(1,0,0,4)(1,1,0,5)(1,2,0,6)(1,3,0,7)" \ | | | --tx="(0,0)(0,1)(0,2)(0,3)(0,4)(0,5)(0,6)(0,7)" \ | +-----+---------------------------------------------------------------------------------------------------+ diff --git a/test_plans/pmd_bonded_8023ad_test_plan.rst b/test_plans/pmd_bonded_8023ad_test_plan.rst index 9a9b2fdc..bb5961fb 100644 --- a/test_plans/pmd_bonded_8023ad_test_plan.rst +++ b/test_plans/pmd_bonded_8023ad_test_plan.rst @@ -115,7 +115,7 @@ steps #. boot up testpmd:: - ./testpmd -c 0xXXXXX -n 4 -- -i --tx-offloads=0xXXXX + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xXXXXX -n 4 -- -i --tx-offloads=0xXXXX #. run testpmd command of bonding:: @@ -157,7 +157,7 @@ steps #. boot up testpmd:: - ./testpmd -c 0xXXXXX -n 4 -- -i --tx-offloads=0xXXXX + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xXXXXX -n 4 -- -i --tx-offloads=0xXXXX #. run testpmd command of bonding:: @@ -200,7 +200,7 @@ steps #. boot up testpmd:: - ./testpmd -c 0xXXXXX -n 4 -- -i --tx-offloads=0xXXXX + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xXXXXX -n 4 -- -i --tx-offloads=0xXXXX #. run testpmd command of bonding:: @@ -247,7 +247,7 @@ steps #. boot up testpmd:: - ./testpmd -c 0xXXXXX -n 4 -- -i --tx-offloads=0xXXXX + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xXXXXX -n 4 -- -i --tx-offloads=0xXXXX #. run testpmd command of bonding:: @@ -302,7 +302,7 @@ steps #. boot up testpmd:: - ./testpmd -c 0xXXXXX -n 4 -- -i --tx-offloads=0xXXXX + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xXXXXX -n 4 -- -i --tx-offloads=0xXXXX #. run testpmd command of bonding:: @@ -349,7 +349,7 @@ steps #. boot up testpmd:: - ./testpmd -c 0xXXXXX -n 4 -- -i --tx-offloads=0xXXXX + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xXXXXX -n 4 -- -i --tx-offloads=0xXXXX #. run testpmd command of bonding:: @@ -402,7 +402,7 @@ steps #. boot up testpmd :: - ./testpmd -c 0x0f -n 4 \ + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x0f -n 4 \ --vdev 'net_bonding0,slave=0000:xx:00.0,slave=0000:xx:00.1,mode=4,agg_mode=' \ -- -i --port-topology=chained diff --git a/test_plans/pmd_bonded_test_plan.rst b/test_plans/pmd_bonded_test_plan.rst index 9a266fa1..52ba55ad 100644 --- a/test_plans/pmd_bonded_test_plan.rst +++ b/test_plans/pmd_bonded_test_plan.rst @@ -122,7 +122,7 @@ Use Setup#1. Create bonded device, add first slave, verify default bonded device has default mode 0 and default primary slave.Below are the sample commands and output:: - ./app/testpmd -c f -n 4 -- -i + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c f -n 4 -- -i ..... Port 0 Link Up - speed 10000 Mbps - full-duplex Port 1 Link Up - speed 10000 Mbps - full-duplex @@ -183,7 +183,7 @@ Use Setup#1. Create bonded device, add one slave, verify bonded device MAC address is the slave's MAC:: - ./app/testpmd -c f -n 4 -- -i + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c f -n 4 -- -i ..... Port 0 Link Up - speed 10000 Mbps - full-duplex Port 1 Link Up - speed 10000 Mbps - full-duplex @@ -272,7 +272,7 @@ Use Setup#1. Create bonded device, add 3 slaves. Set promiscuous mode on bonded eth dev. Verify all slaves of bonded device are changed to promiscuous mode:: - ./app/testpmd -c f -n 4 -- -i + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c f -n 4 -- -i ..... Port 0 Link Up - speed 10000 Mbps - full-duplex Port 1 Link Up - speed 10000 Mbps - full-duplex @@ -331,7 +331,7 @@ Verify that traffic is distributed equally in a round robin manner through ports The sum of the packets received on ports A-C should equal the total packets sent from port D. The sum of the packets transmitted on ports 1-3 should equal the total packets transmitted from port 5 and received on port 4:: - ./app/testpmd -c f -n 4 -- -i + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c f -n 4 -- -i .... testpmd> create bonded device 0 1 @@ -447,7 +447,7 @@ Bi-directional flow: Use IXIA to generate traffic to non bonded eth dev(port3) a Try to check that if port0 is link down, port1 can be backup quickly and re-check the performance at port1 and port3's mapped IXIA ports' RX:: - ./app/testpmd -c f -n 4 -- -i --burst=32 --rxfreet=32 --mbcache=250 --txpt=32 --rxht=8 --rxwt=0 --txfreet=32 --txrst=32 --tx-offloads=0x0 + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c f -n 4 -- -i --burst=32 --rxfreet=32 --mbcache=250 --txpt=32 --rxht=8 --rxwt=0 --txfreet=32 --txrst=32 --tx-offloads=0x0 testpmd> create bonded device 1 0 testpmd> add bonding slave 0 4 testpmd> add bonding slave 1 4 diff --git a/test_plans/pmd_stacked_bonded_test_plan.rst b/test_plans/pmd_stacked_bonded_test_plan.rst index a864f1fc..5b4c8563 100644 --- a/test_plans/pmd_stacked_bonded_test_plan.rst +++ b/test_plans/pmd_stacked_bonded_test_plan.rst @@ -108,7 +108,7 @@ steps #. boot up testpmd, stop all ports:: - ./testpmd -c 0x6 -n 4 -- -i --tx-offloads=<0xXXXX> + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x6 -n 4 -- -i --tx-offloads=<0xXXXX> testpmd> port stop all #. create first bonded port and add one slave, check bond 2 config status:: @@ -173,7 +173,7 @@ steps #. boot up testpmd, stop all ports:: - ./testpmd -c 0x6 -n 4 -- -i --tx-offloads=<0xXXXX> + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x6 -n 4 -- -i --tx-offloads=<0xXXXX> testpmd> port stop all #. create first bonded port and add one port as slave:: @@ -229,7 +229,7 @@ steps #. boot up testpmd, stop all ports:: - ./testpmd -c 0x6 -n 4 -- -i --tx-offloads=<0xXXXX> + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x6 -n 4 -- -i --tx-offloads=<0xXXXX> testpmd> port stop all #. create first bonded port and add two ports as slaves:: @@ -296,7 +296,7 @@ steps #. boot up testpmd, stop all ports:: - ./testpmd -c 0x6 -n 4 -- -i --tx-offloads=<0xXXXX> + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x6 -n 4 -- -i --tx-offloads=<0xXXXX> testpmd> port stop all #. create first bonded port and add one port as slave:: @@ -352,7 +352,7 @@ steps #. boot up testpmd, stop all ports:: - ./testpmd -c 0x6 -n 4 -- -i --tx-offloads=<0xXXXX> + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x6 -n 4 -- -i --tx-offloads=<0xXXXX> testpmd> port stop all #. create first bonded port and add two ports as slaves, set portA 0a down:: diff --git a/test_plans/pmd_test_plan.rst b/test_plans/pmd_test_plan.rst index 58be7d51..7b7d994f 100644 --- a/test_plans/pmd_test_plan.rst +++ b/test_plans/pmd_test_plan.rst @@ -92,7 +92,7 @@ Test Case: Packet Checking #. Start testpmd and start forwarding:: - ./testpmd -c 0xf0 -n 4 -- -i + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xf0 -n 4 -- -i testpmd> start #. The tester sends packets with different sizes (64, 65, 128, 256, 512, 1024, 1280 and 1518 bytes) @@ -119,7 +119,7 @@ Test Case: Descriptors Checking #. Start testpmd with descriptor parameters:: - ./testpmd -c 0xf0 -n 4 -- -i--rxd={rxd} --txd={txd} + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xf0 -n 4 -- -i--rxd={rxd} --txd={txd} #. The tester sends packets with different sizes (64, 65, 128, 256, 512, 1024, 1280 and 1518 bytes) for different values of rxd and txd (128,,256, 512, 1024, 2048 and 4096) @@ -164,7 +164,7 @@ Test steps: #. Start testpmd and start io forwading:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x1800000000 -n 4 -- -i--portmask=0x3 -txd=2048 --rxd=2048 --txq=2 --rxq=2 + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x1800000000 -n 4 -- -i--portmask=0x3 -txd=2048 --rxd=2048 --txq=2 --rxq=2 #. The tester send packets which will be forwarded by the DUT, record the perfromance numbers. @@ -229,7 +229,7 @@ settings given in the following: #. Start testpmd and start io forwading with the above parameters. For example, 1S/1C/2T:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x2000000000000030000000 -n 4 -- -i \ + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x2000000000000030000000 -n 4 -- -i \ --portmask=0x3 --txd=512 --rxd=512 --burst=32 --txpt=36 --txht=0 --txwt=0 \ --txfreet=32 --rxfreet=64 --txrst=32 --mbcache=128 --nb-cores=2 --rxq=2 --txq=2 diff --git a/test_plans/pmdrss_hash_test_plan.rst b/test_plans/pmdrss_hash_test_plan.rst index 777115bf..544d2e51 100644 --- a/test_plans/pmdrss_hash_test_plan.rst +++ b/test_plans/pmdrss_hash_test_plan.rst @@ -77,7 +77,7 @@ Testpmd configuration - 16 RX/TX queues per port #. set up testpmd with fortville NICs:: - ./testpmd -c fffff -n %d -- -i --coremask=0xffffe --rxq=16 --txq=16 + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c fffff -n %d -- -i --coremask=0xffffe --rxq=16 --txq=16 #. Reta Configuration. 128 reta entries configuration:: diff --git a/test_plans/pmdrssreta_test_plan.rst b/test_plans/pmdrssreta_test_plan.rst index 09f69c15..dd9f1ca1 100644 --- a/test_plans/pmdrssreta_test_plan.rst +++ b/test_plans/pmdrssreta_test_plan.rst @@ -92,7 +92,7 @@ Testpmd configuration - 2 RX/TX queues per port :: - testpmd -c ffffff -n 3 -b 0000:05:00.1 -- -i --rxd=512 --txd=512 --burst=32 \ + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c ffffff -n 3 -b 0000:05:00.1 -- -i --rxd=512 --txd=512 --burst=32 \ --txpt=36 --txht=0 --txwt=0 --txfreet=32 --rxfreet=64 --txrst=32 --mbcache=128 \ --rxq=2 --txq=2 @@ -101,7 +101,7 @@ Testpmd configuration - 9 RX/TX queues per port :: - testpmd -c ffffff -n 3 -b 0000:05:00.1 -- -i --rxd=512 --txd=512 --burst=32 \ + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c ffffff -n 3 -b 0000:05:00.1 -- -i --rxd=512 --txd=512 --burst=32 \ --txpt=36 --txht=0 --txwt=0 --txfreet=32 --rxfreet=64 --txrst=32 --mbcache=128 \ --rxq=9 --txq=9 @@ -110,7 +110,7 @@ Testpmd configuration - 16 RX/TX queues per port :: - testpmd -c ffffff -n 3 -b 0000:05:00.1 -- -i --rxd=512 --txd=512 --burst=32 \ + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c ffffff -n 3 -b 0000:05:00.1 -- -i --rxd=512 --txd=512 --burst=32 \ --txpt=36 --txht=0 --txwt=0 --txfreet=32 --rxfreet=64 --txrst=32 --mbcache=128 \ --rxq=16 --txq=16 diff --git a/test_plans/port_control_test_plan.rst b/test_plans/port_control_test_plan.rst index 2fca8fd7..532d363a 100644 --- a/test_plans/port_control_test_plan.rst +++ b/test_plans/port_control_test_plan.rst @@ -56,7 +56,7 @@ Test Case: pf start/stop/reset/close 2. Run testpmd:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xff -n 4 -- -i + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xff -n 4 -- -i testpmd> set fwd mac testpmd> start @@ -173,7 +173,7 @@ Test Case: e1000 emulated device start/stop/reset/close start testpmd:: ./usertools/dpdk-devbind.py -b igb_uio 0000:00:03.0 - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 -- -i + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xf -n 4 -- -i testpmd-> set fwd mac testpmd-> start diff --git a/test_plans/port_representor_test_plan.rst b/test_plans/port_representor_test_plan.rst index 5f6ff1ce..5bbdfd09 100644 --- a/test_plans/port_representor_test_plan.rst +++ b/test_plans/port_representor_test_plan.rst @@ -59,13 +59,13 @@ Create two VFs and two VFs representor ports which are used as control plane. 4. start a testpmd with create 2 VFs representor ports as control plane named testpmd-pf:: - ./testpmd --lcores 1,2 -n 4 -a af:00.0,representor=0-1 --socket-mem 1024,1024 \ + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd --lcores 1,2 -n 4 -a af:00.0,representor=0-1 --socket-mem 1024,1024 \ --proc-type auto --file-prefix testpmd-pf -- -i --port-topology=chained 5. start two testpmd as dataplane named testpmd-vf0/testpmd-vf1(case 3 run later):: - ./testpmd --lcores 3,4 -n 4 -a af:02.0 --socket-mem 1024,1024 --proc-type auto --file-prefix testpmd-vf0 -- -i - ./testpmd --lcores 5,6 -n 4 -a af:02.1 --socket-mem 1024,1024 --proc-type auto --file-prefix testpmd-vf1 -- -i + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd --lcores 3,4 -n 4 -a af:02.0 --socket-mem 1024,1024 --proc-type auto --file-prefix testpmd-vf0 -- -i + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd --lcores 5,6 -n 4 -a af:02.1 --socket-mem 1024,1024 --proc-type auto --file-prefix testpmd-vf1 -- -i Note: Every case needs to restart testpmd. diff --git a/test_plans/power_negative_test_plan.rst b/test_plans/power_negative_test_plan.rst index 76563683..bf2cfebf 100644 --- a/test_plans/power_negative_test_plan.rst +++ b/test_plans/power_negative_test_plan.rst @@ -53,7 +53,7 @@ Step 1. Create powermonitor fold for vm_power_manager sample:: Step 2. Luanch VM power manager sample:: - ./examples/vm_power_manager/build/vm_power_mgr -l 1-3 -n 4 --file-prefix=test1 --no-pci + ./x86_64-native-linuxapp-gcc/examples/dpdk-vm_power_manager -l 1-3 -n 4 --file-prefix=test1 --no-pci Step 3. Prepare policy in JSON format then send it to the fifo channel: Prepare different command in JSON format then send it to the fifo channel @@ -84,7 +84,7 @@ Step 1. Create powermonitor fold for vm_power_manager sample:: Step 2. Luanch VM power manager sample:: - ./examples/vm_power_manager/build/vm_power_mgr -l 1-3 -n 4 --file-prefix=test1 --no-pci + ./x86_64-native-linuxapp-gcc/examples/dpdk-vm_power_manager -l 1-3 -n 4 --file-prefix=test1 --no-pci Step 3. Prepare policy in JSON format then send it to the fifo channel: @@ -118,7 +118,7 @@ Note: For the VM xml file which will be used for creating the VM, it can re-use Step 2. Luanch VM power manager sample on the host to monitor the channel from VM:: - ./examples/vm_power_manager/build/vm_power_mgr -l 12-14 -n 4 --no-pci + ./x86_64-native-linuxapp-gcc/examples/dpdk-vm_power_manager -l 12-14 -n 4 --no-pci > add_vm [vm name] > add_channels [vm name] all > set_channel_status [vm name] all enabled @@ -133,7 +133,7 @@ Check point: No crash should be occur at vm_power_mgr sample Step 3. In the VM, launch guest_vm_power_mgr to set and send the power manager policy to the host power sample:: - ./examples/vm_power_manager/guest_cli/build/guest_vm_power_mgr -c 0xff -n 4 -m 1024 --no-pci --file-prefix=yaolei \ + ./x86_64-native-linuxapp-gcc/examples/dpdk-guest_cli -c 0xff -n 4 -m 1024 --no-pci --file-prefix=yaolei \ -- --vm-name=ubuntu --vcpu-list=0-7 > set_cpu_freq 128 down > set_cpu_freq 1000000000000 down @@ -149,11 +149,11 @@ Test Case4: TRAFFIC Policy Test based on JSON configure file with large integer Step 1. Generate 1 VF under vfio-pci driver, launch vm_power_mgr sample with PF, for example:: echo 1 > /sys/bus/pci/drivers/vfio-pci/0000\:82\:00.0/max_vfs - ./examples/vm_power_manager/build/vm_power_mgr -l 1-4 -n 4 --socket-mem=1024,1024 --file-prefix=test1 -a 82:00.0 -- -p 0x01 + ./x86_64-native-linuxapp-gcc/examples/dpdk-vm_power_manager -l 1-4 -n 4 --socket-mem=1024,1024 --file-prefix=test1 -a 82:00.0 -- -p 0x01 Step 2. Launch testpmd with VF:: - ./x86_64-native-linuxapp-gcc/app/testpmd -l 5-6 -n 4 --socket-mem=1024,1024 --file-prefix=test2 -a 0000:82:02.0 -- -i + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 5-6 -n 4 --socket-mem=1024,1024 --file-prefix=test2 -a 0000:82:02.0 -- -i > set fwd macswap > start -- 2.21.0