test suite reviews and discussions
 help / color / mirror / Atom feed
From: Yu Jiang <yux.jiang@intel.com>
To: lijuan.tu@intel.com, dts@dpdk.org
Cc: Yu Jiang <yux.jiang@intel.com>
Subject: [dts][PATCH V2 1/6] test_plans/*: modify test plan to adapt meson build
Date: Thu, 24 Feb 2022 11:23:20 +0000	[thread overview]
Message-ID: <20220224112325.1488073-2-yux.jiang@intel.com> (raw)
In-Reply-To: <20220224112325.1488073-1-yux.jiang@intel.com>

test_plans/*: modify test plan to adapt meson build,
including vf_pf_reset,vhost_qemu_mtu,vm2vm_virtio_user,vmdq_dcb

Signed-off-by: Yu Jiang <yux.jiang@intel.com>
---
 test_plans/vf_pf_reset_test_plan.rst       | 22 +++++++++++-----------
 test_plans/vhost_qemu_mtu_test_plan.rst    |  4 ++--
 test_plans/vm2vm_virtio_user_test_plan.rst |  4 ++--
 test_plans/vmdq_dcb_test_plan.rst          |  4 ----
 4 files changed, 15 insertions(+), 19 deletions(-)

diff --git a/test_plans/vf_pf_reset_test_plan.rst b/test_plans/vf_pf_reset_test_plan.rst
index 574d4510..d3a9f505 100644
--- a/test_plans/vf_pf_reset_test_plan.rst
+++ b/test_plans/vf_pf_reset_test_plan.rst
@@ -90,7 +90,7 @@ Test Case 1: vf reset -- create two vfs on one pf
 
 5. Run testpmd::
 
-     ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x0f -n 4 -- -i \
+     ./<build_target>/app/dpdk-testpmd -c 0x0f -n 4 -- -i \
      --portmask=0x3
      testpmd> set fwd mac
      testpmd> start
@@ -159,11 +159,11 @@ Test Case 2: vf reset -- create two vfs on one pf, run testpmd separately
 
 2. Start testpmd on two vf ports::
 
-     ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4  \
+     ./<build_target>/app/dpdk-testpmd -c 0xf -n 4  \
      --socket-mem 1024,1024 -a 81:02.0 --file-prefix=test1  \
      -- -i --eth-peer=0,00:11:22:33:44:12  \
 
-     ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf0 -n 4  \
+     ./<build_target>/app/dpdk-testpmd -c 0xf0 -n 4  \
      --socket-mem 1024,1024 -a 81:02.1 --file-prefix=test2  \
      -- -i
 
@@ -207,7 +207,7 @@ Test Case 3: vf reset -- create one vf on each pf
 
 3. Start one testpmd on two vf ports::
 
-     ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x0f -n 4 -- -i \
+     ./<build_target>/app/dpdk-testpmd -c 0x0f -n 4 -- -i \
      --portmask=0x3
 
 4. Start forwarding::
@@ -234,7 +234,7 @@ Test Case 4: vlan rx restore -- vf reset all ports
 
 1. Execute the step1-step3 of test case 1, then start the testpmd::
 
-     ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x0f -n 4 -- -i \
+     ./<build_target>/app/dpdk-testpmd -c 0x0f -n 4 -- -i \
      --portmask=0x3
      testpmd> set fwd mac
 
@@ -289,7 +289,7 @@ test Case 5: vlan rx restore -- vf reset one port
 
 1. Execute the step1-step3 of test case 1, then start the testpmd::
 
-     ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x0f -n 4 -- -i  \
+     ./<build_target>/app/dpdk-testpmd -c 0x0f -n 4 -- -i  \
      --portmask=0x3
      testpmd> set fwd mac
 
@@ -429,7 +429,7 @@ Test Case 7: vlan tx restore
 
 2. Run testpmd::
 
-     ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x0f -n 4 -- -i \
+     ./<build_target>/app/dpdk-testpmd -c 0x0f -n 4 -- -i \
      --portmask=0x3
 
 3. Add tx vlan offload on VF1 port, take care the first param is port,
@@ -473,7 +473,7 @@ test Case 8: MAC address restore
 
 3. Start testpmd on two vf ports::
 
-     ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x0f -n 4  \
+     ./<build_target>/app/dpdk-testpmd -c 0x0f -n 4  \
      -- -i --portmask=0x3
 
 4. Add MAC address to the vf0 ports::
@@ -544,7 +544,7 @@ test Case 9: vf reset (two vfs passed through to one VM)
    bind them to igb_uio driver,and then start testpmd::
 
      ./usertools/dpdk-devbind.py -b igb_uio 00:05.0 00:05.1
-     ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x0f -n 4 \
+     ./<build_target>/app/dpdk-testpmd -c 0x0f -n 4 \
      -a 00:05.0 -a 00:05.1 -- -i --portmask=0x3
 
 5. Add MAC address to the vf0 ports, set it in mac forward mode::
@@ -618,14 +618,14 @@ test Case 10: vf reset (two vfs passed through to two VM)
    bind the port to igb_uio, then start testpmd on vf0 port::
 
      ./tools/dpdk_nic_bind.py --bind=igb_uio 00:05.0
-     ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4  \
+     ./<build_target>/app/dpdk-testpmd -c 0xf -n 4  \
      -- -i --eth-peer=0,vf1port_macaddr  \
 
    login vm1, got VF1 pci device id in vm1, assume it's 00:06.0,
    bind the port to igb_uio, then start testpmd on vf1 port::
 
      ./tools/dpdk_nic_bind.py --bind=igb_uio 00:06.0
-     ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf0 -n 4  \
+     ./<build_target>/app/dpdk-testpmd -c 0xf0 -n 4  \
      -- -i
 
 5. Add vlan on vf0 in vm0, and set fwd mode::
diff --git a/test_plans/vhost_qemu_mtu_test_plan.rst b/test_plans/vhost_qemu_mtu_test_plan.rst
index 60b01cfb..62c2f7f8 100644
--- a/test_plans/vhost_qemu_mtu_test_plan.rst
+++ b/test_plans/vhost_qemu_mtu_test_plan.rst
@@ -46,7 +46,7 @@ Test Case: Test the MTU in virtio-net
 =====================================
 1. Launch the testpmd by below commands on host, and config mtu::
 
-    ./testpmd -c 0xc -n 4 \
+    ./<build_target>/app/dpdk-testpmd -c 0xc -n 4 \
     --vdev 'net_vhost0,iface=vhost-net,queues=1' \
     -- -i --txd=512 --rxd=128 --nb-cores=1 --port-topology=chained
     testpmd> set fwd mac
@@ -70,7 +70,7 @@ Test Case: Test the MTU in virtio-net
 4. Bind the virtio driver to igb_uio, launch testpmd in VM, and verify 
    the mtu in port info is 9000::
  
-    ./testpmd -c 0x03 -n 3 \
+    ./<build_target>/app/dpdk-testpmd -c 0x03 -n 3 \
     -- -i --txd=512 --rxd=128 --tx-offloads=0x0 --enable-hw-vlan-strip
     testpmd> set fwd mac
     testpmd> start
diff --git a/test_plans/vm2vm_virtio_user_test_plan.rst b/test_plans/vm2vm_virtio_user_test_plan.rst
index 6fc5f89f..c3aa328e 100644
--- a/test_plans/vm2vm_virtio_user_test_plan.rst
+++ b/test_plans/vm2vm_virtio_user_test_plan.rst
@@ -1599,13 +1599,13 @@ Test Case 24: packed virtqueue vm2vm vectorized-tx path multi-queues test indire
 
 1. Launch vhost by below command::
 
-    ./x86_64-native-linuxapp-gcc/app/testpmd -l 1-2 -n 4 --no-pci \
+    ./<build_target>/app/dpdk-testpmd -l 1-2 -n 4 --no-pci \
     --vdev 'eth_vhost0,iface=vhost-net,queues=1' --vdev 'eth_vhost1,iface=vhost-net1,queues=1' -- \
     -i --nb-cores=1 --no-flush-rx
 
 2. Launch virtio-user1 by below command::
 
-    ./x86_64-native-linuxapp-gcc/app/testpmd -n 4 -l 7-8 --no-pci --file-prefix=virtio1 --force-max-simd-bitwidth=512 \
+    ./<build_target>/app/dpdk-testpmd -n 4 -l 7-8 --no-pci --file-prefix=virtio1 --force-max-simd-bitwidth=512 \
     --vdev=net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=1,packed_vq=1,mrg_rxbuf=1,in_order=1,vectorized=1,queue_size=256 \
     -- -i --nb-cores=1 --txd=256 --rxd=256
     testpmd>set fwd rxonly
diff --git a/test_plans/vmdq_dcb_test_plan.rst b/test_plans/vmdq_dcb_test_plan.rst
index 1c9b82ef..a4beaa93 100644
--- a/test_plans/vmdq_dcb_test_plan.rst
+++ b/test_plans/vmdq_dcb_test_plan.rst
@@ -64,7 +64,6 @@ Prerequisites
   to the pools numbers(inclusive) and the VLAN user priority field increments from
   0 to 7 (inclusive) for each VLAN ID.
 - Build vmdq_dcb example,
-    make: make -C examples/vmdq_dcb RTE_SDK=`pwd` T=x86_64-native-linuxapp-gcc
     meson: ./<build_target>/examples/dpdk-vmdq_dcb -c 0xff -n 4 -- -p 0x3 --nb-pools 32 --nb-tcs 4 --enable-rss
 
 Test Case 1: Verify VMDQ & DCB with 32 Pools and 4 TCs
@@ -72,7 +71,6 @@ Test Case 1: Verify VMDQ & DCB with 32 Pools and 4 TCs
 
 1. Run the application as the following::
 
-    make: ./examples/vmdq_dcb/build/vmdq_dcb_app -c 0xff -n 4 -- -p 0x3 --nb-pools 32 --nb-tcs 4 --enable-rss
     meson: ./<build_target>/examples/dpdk-vmdq_dcb -c 0xff -n 4 -- -p 0x3 --nb-pools 32 --nb-tcs 4 --enable-rss
 
 2. Start traffic transmission using approx 10% of line rate.
@@ -98,7 +96,6 @@ Test Case 2: Verify VMDQ & DCB with 16 Pools and 8 TCs
 
 2. Repeat Test Case 1, with `--nb-pools 16` and `--nb-tcs 8` of the sample application::
 
-    make: ./examples/vmdq_dcb/build/vmdq_dcb_app -c 0xff -n 4 -- -p 0x3 --nb-pools 16 --nb-tcs 8 --enable-rss
     meson: ./<build_target>/examples/dpdk-vmdq_dcb -c 0xff -n 4 -- -p 0x3 --nb-pools 16 --nb-tcs 8 --enable-rss
 
 Expected result:
@@ -111,7 +108,6 @@ Expected result:
 
 4. Repeat Test Case 1, with `--nb-pools 16` and `--nb-tcs 8` of the sample application::
 
-    make: ./examples/vmdq_dcb/build/vmdq_dcb_app -c 0xff -n 4 -- -p 0x3 --nb-pools 16 --nb-tcs 8 --enable-rss
     meson: ./<build_target>/examples/dpdk-vmdq_dcb -c 0xff -n 4 -- -p 0x3 --nb-pools 16 --nb-tcs 8 --enable-rss
 
 Expected result:
-- 
2.25.1


  reply	other threads:[~2022-02-24  3:23 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-24 11:23 [dts][PATCH V2 0/6] " Yu Jiang
2022-02-24 11:23 ` Yu Jiang [this message]
2022-02-24 11:23 ` [dts][PATCH V2 2/6] " Yu Jiang
2022-02-24 11:23 ` [dts][PATCH V2 3/6] " Yu Jiang
2022-02-24 11:23 ` [dts][PATCH V2 4/6] " Yu Jiang
2022-02-24 11:23 ` [dts][PATCH V2 5/6] " Yu Jiang
2022-02-24 11:23 ` [dts][PATCH V2 6/6] test_plans/sw_hw_thash_consistence: " Yu Jiang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220224112325.1488073-2-yux.jiang@intel.com \
    --to=yux.jiang@intel.com \
    --cc=dts@dpdk.org \
    --cc=lijuan.tu@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).