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 V1] test_plans/power_managerment_throughput&vf_interrupt_pmd: modify test plan to adapt meson build
Date: Tue, 15 Mar 2022 18:55:33 +0000 [thread overview]
Message-ID: <20220315185533.1489671-1-yux.jiang@intel.com> (raw)
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
next reply other threads:[~2022-03-15 10:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-15 18:55 Yu Jiang [this message]
2022-03-16 2:17 ` lijuan.tu
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=20220315185533.1489671-1-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).