[dts][PATCH V1] test_plans/power_managerment_throughput&vf_interrupt_pmd: modify test plan to adapt meson build

Yu Jiang yux.jiang at intel.com
Tue Mar 15 19:55:33 CET 2022


power_managerment_throughput: modify test plan to adapt meson build cmd.
vf_interrupt_pmd: according to dts commit id <ac8f9c5a tests/vf_interrupt_pmd:
remove change DPDK code steps and sleep time>, remove DPDK code in test plan,
and switch build method to meson build.

Signed-off-by: Yu Jiang <yux.jiang at intel.com>
---
 test_plans/power_managerment_throughput_test_plan.rst | 2 +-
 test_plans/vf_interrupt_pmd_test_plan.rst             | 9 +++------
 2 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/test_plans/power_managerment_throughput_test_plan.rst b/test_plans/power_managerment_throughput_test_plan.rst
index a9234bea..0ecf3ca0 100644
--- a/test_plans/power_managerment_throughput_test_plan.rst
+++ b/test_plans/power_managerment_throughput_test_plan.rst
@@ -63,7 +63,7 @@ Test Case1: Check the CPU frequency can change according differernt packet speed
 
 3. Bind one nic port to igb_uio, launch l3fwd-power sample, one core used for one port::
 
-    ./l3fwd-power -c 0xc000000 -n 4 -- -P -p 0x01  --config '(0,0,27)'
+    ./<build_target>/examples/dpdk-l3fwd-power -c 0xc000000 -n 4 -- -P -p 0x01  --config '(0,0,27)'
 
 4. Send packets by packet generator with high speed, check the used cpu frequency is almost 100%::
 
diff --git a/test_plans/vf_interrupt_pmd_test_plan.rst b/test_plans/vf_interrupt_pmd_test_plan.rst
index 7e48f929..1988b43d 100644
--- a/test_plans/vf_interrupt_pmd_test_plan.rst
+++ b/test_plans/vf_interrupt_pmd_test_plan.rst
@@ -158,13 +158,10 @@ Test Case4: VF interrupt pmd in VM with vfio-pci
     -device virtserialport,chardev=vm0_qga0,name=org.qemu.guest_agent.0 -vnc :11 \
     -drive file=/home/image/ubuntu16-0.img,format=qcow2,if=virtio,index=0,media=disk
 
-3. Modify the DPDK-l3fwd-power source code and recompile the l3fwd-power::
+3. Compile the l3fwd-power::
 
-    sed -i -e '/DEV_RX_OFFLOAD_CHECKSUM,/d' ./examples/l3fwd-power/main.c
-
-    export RTE_TARGET=x86_64-native-linuxapp-gcc
-    export RTE_SDK=`/root/DPDK`
-    make -C examples/l3fwd-power
+    meson configure -Dexamples=l3fwd-power x86_64-native-linuxapp-gcc
+    ninja -C x86_64-native-linuxapp-gcc
 
 4. Bind VF 0 to the vfio-pci driver::
 
-- 
2.25.1



More information about the dts mailing list