* [dts] [PATCH V1] test_plans/iavf_*: modify test plan to adapt meson build
@ 2022-01-13 16:32 Jiale Song
2022-01-14 5:35 ` Tu, Lijuan
0 siblings, 1 reply; 2+ messages in thread
From: Jiale Song @ 2022-01-13 16:32 UTC (permalink / raw)
To: dts; +Cc: Jiale Song
modify dpdk app/example name and take build type to meson.
for example:
1.testpmd to dpdk-testpmd.
2.l3fwd-power to dpdk-l3fwd-power
3.make install to meson build.
Signed-off-by: Jiale Song <songx.jiale@intel.com>
---
test_plans/iavf_fdir_test_plan.rst | 22 +++++++++---------
..._package_driver_error_handle_test_plan.rst | 5 ++--
test_plans/iavf_test_plan.rst | 23 ++++++++++---------
3 files changed, 26 insertions(+), 24 deletions(-)
diff --git a/test_plans/iavf_fdir_test_plan.rst b/test_plans/iavf_fdir_test_plan.rst
index 784392e2..d371ca71 100644
--- a/test_plans/iavf_fdir_test_plan.rst
+++ b/test_plans/iavf_fdir_test_plan.rst
@@ -236,7 +236,7 @@ Prerequisites
5. Launch the app ``testpmd`` with the following arguments::
- ./testpmd -c 0xff -n 6 -a 86:01.0 -a 86:01.1 --file-prefix=vf -- -i --rxq=16 --txq=16
+ ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xff -n 6 -a 86:01.0 -a 86:01.1 --file-prefix=vf -- -i --rxq=16 --txq=16
testpmd> set fwd rxonly
testpmd> set verbose 1
@@ -4446,7 +4446,7 @@ Subcase 1: same rules
3. start testpmd on vf00 and vf01::
- ./testpmd -c 0xff -n 6 -a 86:01.0 -a 86:01.1 --file-prefix=vf0 -- -i --rxq=16 --txq=16
+ ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xff -n 6 -a 86:01.0 -a 86:01.1 --file-prefix=vf0 -- -i --rxq=16 --txq=16
create same rules with pf::
@@ -4464,7 +4464,7 @@ Subcase 1: same rules
4. start testpmd on vf10 and vf11::
- ./testpmd -c 0xff00 -n 6 -a 86:11.0 -a 86:11.1 --file-prefix=vf1 -- -i --rxq=16 --txq=16
+ ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xff00 -n 6 -a 86:11.0 -a 86:11.1 --file-prefix=vf1 -- -i --rxq=16 --txq=16
create same rules with pf::
@@ -4549,7 +4549,7 @@ Subcase 2: same input set, different actions
2. start testpmd on vf00 and vf01::
- ./testpmd -c 0xff -n 6 -a 86:01.0 -a 86:01.1 --file-prefix=vf0 -- -i --rxq=16 --txq=16
+ ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xff -n 6 -a 86:01.0 -a 86:01.1 --file-prefix=vf0 -- -i --rxq=16 --txq=16
create same rules with pf::
@@ -4558,7 +4558,7 @@ Subcase 2: same input set, different actions
3. start testpmd on vf10 and vf11::
- ./testpmd -c 0xff00 -n 6 -a 86:11.0 -a 86:11.1 --file-prefix=vf1 -- -i --rxq=16 --txq=16
+ ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xff00 -n 6 -a 86:11.0 -a 86:11.1 --file-prefix=vf1 -- -i --rxq=16 --txq=16
create same rules with pf::
@@ -4611,7 +4611,7 @@ Subcase 3: different patterns, different actions
2. start testpmd on vf00 and vf01::
- ./testpmd -c 0xff -n 6 -a 86:01.0 -a 86:01.1 --file-prefix=vf0 -- -i --rxq=16 --txq=16
+ ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xff -n 6 -a 86:01.0 -a 86:01.1 --file-prefix=vf0 -- -i --rxq=16 --txq=16
create same rules with pf::
@@ -4620,7 +4620,7 @@ Subcase 3: different patterns, different actions
3. start testpmd on vf10 and vf11::
- ./testpmd -c 0xff00 -n 6 -a 86:11.0 -a 86:11.1 --file-prefix=vf1 -- -i --rxq=16 --txq=16
+ ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xff00 -n 6 -a 86:11.0 -a 86:11.1 --file-prefix=vf1 -- -i --rxq=16 --txq=16
create same rules with pf::
@@ -4689,7 +4689,7 @@ Subcase 1: 128 profiles
then start testpmd::
- ./testpmd -c 0xf -n 6 --file-prefix=vf -- -i --rxq=4 --txq=4
+ ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xf -n 6 --file-prefix=vf -- -i --rxq=4 --txq=4
2. create 8 rules with different patterns on each port::
@@ -5071,7 +5071,7 @@ Subcase 1: PFCP FDIR vlan strip on HW checksum offload check
------------------------------------------------------------
1. start testpmd on vf00::
- ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xff -n 6 -a 86:01.0 --file-prefix=vf -- -i --rxq=16 --txq=16 --enable-rx-cksum --port-topology=loop
+ ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xff -n 6 -a 86:01.0 --file-prefix=vf -- -i --rxq=16 --txq=16 --enable-rx-cksum --port-topology=loop
2. Enable vlan filter and receipt of VLAN packets with VLAN Tag Identifier 1 on port 0.
Enable vlan strip on port 0::
@@ -5141,7 +5141,7 @@ subcase 2: PFCP FDIR vlan strip off SW checksum offload check
-------------------------------------------------------------
1. start testpmd on vf00::
- ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xff -n 6 -a 86:01.0 --file-prefix=vf -- -i --rxq=16 --txq=16 --enable-rx-cksum --port-topology=loop
+ ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xff -n 6 -a 86:01.0 --file-prefix=vf -- -i --rxq=16 --txq=16 --enable-rx-cksum --port-topology=loop
2. Enable vlan filter and receipt of VLAN packets with VLAN Tag Identifier 1 on port 0.
Disable vlan strip on port 0::
@@ -5209,7 +5209,7 @@ subcase 3: PFCP FDIR vlan insert on
-----------------------------------
1. start testpmd on vf00::
- ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xff -n 6 -a 86:01.0 --file-prefix=vf -- -i --rxq=16 --txq=16
+ ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xff -n 6 -a 86:01.0 --file-prefix=vf -- -i --rxq=16 --txq=16
2. Enable vlan filter and insert VLAN Tag Identifier 1 to vlan packet sent from port 0::
diff --git a/test_plans/iavf_package_driver_error_handle_test_plan.rst b/test_plans/iavf_package_driver_error_handle_test_plan.rst
index fe95e29e..6c34b0a8 100644
--- a/test_plans/iavf_package_driver_error_handle_test_plan.rst
+++ b/test_plans/iavf_package_driver_error_handle_test_plan.rst
@@ -61,7 +61,8 @@ Prerequisites
4. Compile DPDK::
- make -j install T=x86_64-native-linuxapp-gcc
+ CC=gcc meson -Denable_kmods=True -Dlibdir=lib --default-library=static x86_64-native-linuxapp-gcc
+ ninja -C x86_64-native-linuxapp-gcc
Test Case 1: Check old driver and latest commes pkg compatibility
=================================================================
@@ -78,7 +79,7 @@ Test Case 1: Check old driver and latest commes pkg compatibility
./usertools/dpdk-devbind.py -b vfio-pci 0000:b1:01.0
4. Launch the testpmd
- ./x86_64-native-linuxapp-gcc/app/testpmd -l 6-9 -n 4 -a b1:01.0 --file-prefix=vf -- -i --rxq=16 --txq=16 --nb-cores=2
+ ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 6-9 -n 4 -a b1:01.0 --file-prefix=vf -- -i --rxq=16 --txq=16 --nb-cores=2
5. Create a rss rule
testpmd> flow create 0 ingress pattern eth / ipv4 / end actions rss types l3-dst-only end key_len 0 queues end / end
diff --git a/test_plans/iavf_test_plan.rst b/test_plans/iavf_test_plan.rst
index f79214d9..c055cd83 100644
--- a/test_plans/iavf_test_plan.rst
+++ b/test_plans/iavf_test_plan.rst
@@ -245,7 +245,7 @@ Test Case: Check that no jumbo frame support
Launch testpmd for VF ports without enabling jumboframe option
- ./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
testpmd>set fwd mac
testpmd>start
@@ -259,7 +259,7 @@ Test Case: Check that with jumbo frames support
Launch testpmd for VF ports with jumboframe option
- ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x3 -n 1 -- -i --max-pkt-len=3000 --tx-offloads=0x8000
+ ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x3 -n 1 -- -i --max-pkt-len=3000 --tx-offloads=0x8000
testpmd>set fwd mac
testpmd>start
@@ -275,7 +275,7 @@ Test Cases: VF rss
====================
Start testpmd on VM::
- ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x3 -n 1 -- -i --txq=4 --rxq=4
+ ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x3 -n 1 -- -i --txq=4 --rxq=4
Test Case: test redirection table config
-------------------------------------------
@@ -298,7 +298,7 @@ Test Cases:VF offload
=======================
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: enable HW checksum offload
-------------------------------------------
@@ -383,7 +383,8 @@ Test case: rx interrupt
::
build l3fwd-power
- make -C examples/l3fwd-power RTE_SDK=`pwd` T=x86_64-native-linuxapp-gcc
+ meson configure -Dexamples=l3fwd-power x86_64-native-linuxapp-gcc
+ ninja -C x86_64-native-linuxapp-gcc
enable vfio noiommu
modprobe -r vfio_iommu_type1
@@ -393,7 +394,7 @@ Test case: rx interrupt
modprobe vfio-pci
start l3fwd power with one queue per port.
- ./examples/l3fwd-power/build/l3fwd-power -l 6,7 -n 4 -- \
+ ./x86_64-native-linuxapp-gcc/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::
@@ -425,14 +426,14 @@ create 2 VFs from 1 PF, and start PF::
echo 2 > /sys/bus/pci/devices/0000\:08\:00.0/max_vfs;
./usertools/dpdk-devbind.py --bind=vfio-pci 09:02.0 09:0a.0
- ./x86_64-native-linuxapp-gcc/app/testpmd -l 1,2 -n 4 --socket-mem=1024,1024 --file-prefix=pf -a 08:00.0 -- -i
+ ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1,2 -n 4 --socket-mem=1024,1024 --file-prefix=pf -a 08:00.0 -- -i
testpmd>set vf mac addr 0 0 00:12:34:56:78:01
testpmd>set vf mac addr 0 1 00:12:34:56:78:02
start testpmd with 2VFs individually::
- ./x86_64-native-linuxapp-gcc/app/testpmd -l 3-5 -n 4 --master-lcore=3 --socket-mem=1024,1024 --file-prefix=vf1 \
+ ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 3-5 -n 4 --master-lcore=3 --socket-mem=1024,1024 --file-prefix=vf1 \
-a 09:02.0 -- -i --txq=2 --rxq=2 --rxd=512 --txd=512 --nb-cores=2 --rss-ip --eth-peer=0,00:12:34:56:78:02
testpmd>set promisc all off
@@ -441,7 +442,7 @@ start testpmd with 2VFs individually::
::
- ./x86_64-native-linuxapp-gcc/app/testpmd -l 6-8 -n 4 --master-lcore=6 --socket-mem=1024,1024 --file-prefix=vf2 \
+ ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 6-8 -n 4 --master-lcore=6 --socket-mem=1024,1024 --file-prefix=vf2 \
-a 09:0a.0 -- -i --txq=2 --rxq=2 --rxd=512 --txd=512 --nb-cores=2 --rss-ip
testpmd>set promisc all off
@@ -460,7 +461,7 @@ Test Case: vector vf performance
2. start testpmd for PF::
- ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x6 -n 4 --socket-mem=1024,1024 --file-prefix=pf \
+ ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x6 -n 4 --socket-mem=1024,1024 --file-prefix=pf \
-a 08:00.0 -a 08:00.1 -- -i
testpmd>set vf mac addr 0 0 00:12:34:56:78:01
@@ -468,7 +469,7 @@ Test Case: vector vf performance
3. start testpmd for VF::
- ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x0f8 -n 4 --master-lcore=3 --socket-mem=1024,1024 --file-prefix=vf \
+ ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x0f8 -n 4 --master-lcore=3 --socket-mem=1024,1024 --file-prefix=vf \
-a 09:0a.0 -a 09:02.0 -- -i --txq=2 --rxq=2 --rxd=512 --txd=512 --nb-cores=4 --rss-ip
testpmd>set promisc all off
--
2.17.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* RE: [dts] [PATCH V1] test_plans/iavf_*: modify test plan to adapt meson build
2022-01-13 16:32 [dts] [PATCH V1] test_plans/iavf_*: modify test plan to adapt meson build Jiale Song
@ 2022-01-14 5:35 ` Tu, Lijuan
0 siblings, 0 replies; 2+ messages in thread
From: Tu, Lijuan @ 2022-01-14 5:35 UTC (permalink / raw)
To: Jiale, SongX, dts; +Cc: Jiale, SongX
> -----Original Message-----
> From: Jiale Song <songx.jiale@intel.com>
> Sent: 2022年1月14日 0:33
> To: dts@dpdk.org
> Cc: Jiale, SongX <songx.jiale@intel.com>
> Subject: [dts] [PATCH V1] test_plans/iavf_*: modify test plan to adapt meson
> build
>
> modify dpdk app/example name and take build type to meson.
> for example:
> 1.testpmd to dpdk-testpmd.
> 2.l3fwd-power to dpdk-l3fwd-power
> 3.make install to meson build.
>
> Signed-off-by: Jiale Song <songx.jiale@intel.com>
Applied, thanks
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-01-14 5:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-13 16:32 [dts] [PATCH V1] test_plans/iavf_*: modify test plan to adapt meson build Jiale Song
2022-01-14 5:35 ` Tu, Lijuan
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).