test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts][PATCH V1] test_plans/power_managerment_throughput&vf_interrupt_pmd: modify test plan to adapt meson build
@ 2022-03-15 18:55 Yu Jiang
  2022-03-16  2:17 ` lijuan.tu
  0 siblings, 1 reply; 2+ messages in thread
From: Yu Jiang @ 2022-03-15 18:55 UTC (permalink / raw)
  To: lijuan.tu, dts; +Cc: Yu Jiang

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@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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [dts][PATCH V1] test_plans/power_managerment_throughput&vf_interrupt_pmd: modify test plan to adapt meson build
  2022-03-15 18:55 [dts][PATCH V1] test_plans/power_managerment_throughput&vf_interrupt_pmd: modify test plan to adapt meson build Yu Jiang
@ 2022-03-16  2:17 ` lijuan.tu
  0 siblings, 0 replies; 2+ messages in thread
From: lijuan.tu @ 2022-03-16  2:17 UTC (permalink / raw)
  To: lijuan.tu, dts, Yu Jiang; +Cc: Yu Jiang

On Tue, 15 Mar 2022 18:55:33 +0000, Yu Jiang <yux.jiang@intel.com> wrote:
> 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@intel.com>


Applied, thanks

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-03-16  2:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-15 18:55 [dts][PATCH V1] test_plans/power_managerment_throughput&vf_interrupt_pmd: modify test plan to adapt meson build Yu Jiang
2022-03-16  2:17 ` lijuan.tu

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).