[V1] test_plans/power_managerment_throughput&vf_interrupt_pmd: modify test plan to adapt meson build
Checks
Context |
Check |
Description |
ci/Intel-dts-doc-test |
success
|
Testing OK
|
ci/Intel-dts-suite-test |
warning
|
SKIPPED
|
Commit Message
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(-)
Comments
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
@@ -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%::
@@ -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::