test suite reviews and discussions
 help / color / mirror / Atom feed
* [PATCH V3 2/3] test_plans/vf_interrupt_pmd_test_plan: remove modify DPDK code step and modify app name
@ 2022-03-02  6:10 Wei Ling
  0 siblings, 0 replies; only message in thread
From: Wei Ling @ 2022-03-02  6:10 UTC (permalink / raw)
  To: dts; +Cc: Wei Ling

1.Remove change DPDK code steps.
2.Modify app name from l3fwd-power to dpdk-l3fwd-power.

Signed-off-by: Wei Ling <weix.ling@intel.com>
---
 test_plans/vf_interrupt_pmd_test_plan.rst | 32 ++++++++++-------------
 1 file changed, 14 insertions(+), 18 deletions(-)

diff --git a/test_plans/vf_interrupt_pmd_test_plan.rst b/test_plans/vf_interrupt_pmd_test_plan.rst
index 964bc834..7e48f929 100644
--- a/test_plans/vf_interrupt_pmd_test_plan.rst
+++ b/test_plans/vf_interrupt_pmd_test_plan.rst
@@ -59,10 +59,6 @@ Iommu pass through feature has been enabled in kernel::
 
 Modify the DPDK-l3fwd-power source code and recompile 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`
     meson configure -Dexamples=l3fwd-power x86_64-native-linuxapp-gcc
     ninja -C x86_64-native-linuxapp-gcc
 
@@ -76,11 +72,11 @@ Test Case1: Check Interrupt for PF with vfio driver on ixgbe and i40e
 
     modprobe vfio-pci;
 
-    usertools/dpdk-devbind.py --bind=vfio-pci 0000:04:00.0
+    ./usertools/dpdk-devbind.py --bind=vfio-pci 0000:04:00.0
 
 2. start l3fwd-power with PF::
 
-    examples/l3fwd-power/build/l3fwd-power -l 1-3 -n 4 -- -P -p 0x01  --config '(0,0,2)'
+    ./x86_64-native-linuxapp-gcc/examples/dpdk-l3fwd-power -l 1-3 -n 4 -- -P -p 0x01  --config '(0,0,2)'
 
 3. Send packet with packet generator to the pf NIC, check that thread core2 waked up::
 
@@ -100,11 +96,11 @@ Test Case2: Check Interrupt for PF with igb_uio driver on ixgbe and i40e
     modprobe uio;
     insmod x86_64-native-linuxapp-gcc/kmod/igb_uio.ko;
 
-    usertools/dpdk-devbind.py --bind=igb_uio 0000:04:00.0
+    ./usertools/dpdk-devbind.py --bind=igb_uio 0000:04:00.0
 
 2. start l3fwd-power with PF::
 
-    examples/l3fwd-power/build/l3fwd-power -l 1-3 -n 4 -- -P -p 0x01  --config '(0,0,2)'
+    ./x86_64-native-linuxapp-gcc/examples/dpdk-l3fwd-power -l 1-3 -n 4 -- -P -p 0x01  --config '(0,0,2)'
 
 3. Send packet with packet generator to the pf NIC, check that thread core2 waked up::
 
@@ -124,13 +120,13 @@ Test Case3: Check Interrupt for VF with vfio driver on ixgbe and i40e
     echo 1 > /sys/bus/pci/devices/0000\:04\:00.0/sriov_numvfs
 
     modprobe vfio-pci
-    usertools/dpdk-devbind.py --bind=vfio-pci 0000:04:10.0(vf_pci)
+    ./usertools/dpdk-devbind.py --bind=vfio-pci 0000:04:10.0(vf_pci)
 
   Notice:  If your PF is kernel driver, make sure PF link is up when your start testpmd on VF.
 
 2. Start l3fwd-power with VF::
 
-    examples/l3fwd-power/build/l3fwd-power -l 1-3 -n 4 -- -P -p 0x01  --config '(0,0,2)'
+    ./x86_64-native-linuxapp-gcc/examples/dpdk-l3fwd-power -l 1-3 -n 4 -- -P -p 0x01  --config '(0,0,2)'
 
 3. Send packet with packet generator to the pf NIC, check that thread core2 waked up::
 
@@ -150,7 +146,7 @@ Test Case4: VF interrupt pmd in VM with vfio-pci
     echo 1 > /sys/bus/pci/devices/0000\:04\:00.0/sriov_numvfs
 
     modprobe vfio-pci
-    usertools/dpdk-devbind.py --bind=vfio-pci 0000:04:10.0(vf_pci)
+    ./usertools/dpdk-devbind.py --bind=vfio-pci 0000:04:10.0(vf_pci)
 
 2. passthrough VF 0 to VM0 and start VM0::
 
@@ -177,11 +173,11 @@ Test Case4: VF interrupt pmd in VM with vfio-pci
     modprobe vfio enable_unsafe_noiommu_mode=1
     modprobe vfio-pci
 
-    usertools/dpdk-devbind.py -b vfio-pci 0000:00:04.0
+    ./usertools/dpdk-devbind.py -b vfio-pci 0000:00:04.0
 
 5. start l3fwd-power in VM::
 
-    examples/l3fwd-power/build/l3fwd-power -l 1-3 -n 4 -- -P -p 0x01  --config '(0,0,2)'
+    ./x86_64-native-linuxapp-gcc/examples/dpdk-l3fwd-power -l 1-3 -n 4 -- -P -p 0x01  --config '(0,0,2)'
 
 6. Send packet with packet generator to the VM, check that thread core2 waked up::
 
@@ -200,13 +196,13 @@ Test Case5: vf multi-queue interrupt with vfio-pci on i40e
 
     echo 1 > /sys/bus/pci/devices/0000\:04\:00.0/sriov_numvfs
     modprobe vfio-pci
-    usertools/dpdk-devbind.py --bind=vfio-pci 0000:04:10.0(vf_pci)
+    ./usertools/dpdk-devbind.py --bind=vfio-pci 0000:04:10.0(vf_pci)
 
   Notice:  If your PF is kernel driver, make sure PF link is up when your start testpmd on VF.
 
 2. Start l3fwd-power with VF::
 
-    examples/l3fwd-power/build/l3fwd-power -c 3f -n 4 -m 2048 -- -P -p 0x1 --config="(0,0,1),(0,1,2),(0,2,3),(0,3,4)"
+    ./x86_64-native-linuxapp-gcc/examples/dpdk-l3fwd-power -c 3f -n 4 -m 2048 -- -P -p 0x1 --config="(0,0,1),(0,1,2),(0,2,3),(0,3,4)"
 
 3. Send UDP packets with random ip and dest mac = vf mac addr::
 
@@ -227,7 +223,7 @@ Test Case6: VF multi-queue interrupt in VM with vfio-pci on i40e
 
     echo 1 > /sys/bus/pci/devices/0000\:88:00.1/sriov_numvfs
     modprobe vfio-pci
-    usertools/dpdk-devbind.py --bind=vfio-pci 0000:88:0a.0(vf_pci)
+    ./usertools/dpdk-devbind.py --bind=vfio-pci 0000:88:0a.0(vf_pci)
 
   Notice:  If your PF is kernel driver, make sure PF link is up when your start testpmd on VF.
 
@@ -249,7 +245,7 @@ Test Case6: VF multi-queue interrupt in VM with vfio-pci on i40e
     modprobe -r vfio
     modprobe vfio enable_unsafe_noiommu_mode=1
     modprobe vfio-pci
-    usertools/dpdk-devbind.py -b vfio-pci 0000:00:04.0
+    ./usertools/dpdk-devbind.py -b vfio-pci 0000:00:04.0
 
 4.Start l3fwd-power in VM::
 
@@ -265,4 +261,4 @@ Test Case6: VF multi-queue interrupt in VM with vfio-pci on i40e
     L3FWD_POWER: lcore 0 is waked up from rx interrupt on port 0 queue 0
     L3FWD_POWER: lcore 1 is waked up from rx interrupt on port 0 queue 1
     L3FWD_POWER: lcore 2 is waked up from rx interrupt on port 0 queue 2
-    L3FWD_POWER: lcore 3 is waked up from rx interrupt on port 0 queue 3
\ No newline at end of file
+    L3FWD_POWER: lcore 3 is waked up from rx interrupt on port 0 queue 3
-- 
2.25.1


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-03-02  6:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-02  6:10 [PATCH V3 2/3] test_plans/vf_interrupt_pmd_test_plan: remove modify DPDK code step and modify app name Wei Ling

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