test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts][PATCH V1] test_plans/vhost_event_idx_interrupt_test_plan: fix socket path and VM mode issue
@ 2022-05-26  6:19 Wei Ling
  2022-05-26  6:25 ` He, Xingguang
  2022-05-28  9:06 ` lijuan.tu
  0 siblings, 2 replies; 3+ messages in thread
From: Wei Ling @ 2022-05-26  6:19 UTC (permalink / raw)
  To: dts; +Cc: Wei Ling

1.Fix start virtio back-end socket path wrong issue.
2.Add start virtio front-end VM server mode parameter.

Signed-off-by: Wei Ling <weix.ling@intel.com>
---
 .../vhost_event_idx_interrupt_test_plan.rst   | 48 +++++++++----------
 1 file changed, 24 insertions(+), 24 deletions(-)

diff --git a/test_plans/vhost_event_idx_interrupt_test_plan.rst b/test_plans/vhost_event_idx_interrupt_test_plan.rst
index 86a946e0..412f1a08 100644
--- a/test_plans/vhost_event_idx_interrupt_test_plan.rst
+++ b/test_plans/vhost_event_idx_interrupt_test_plan.rst
@@ -56,7 +56,7 @@ Test Case 1: wake up split ring vhost-user core with event idx interrupt mode
     ./x86_64-native-linuxapp-gcc/examples/dpdk-l3fwd-power -l 1 \
     -n 4 --no-pci\
     --log-level=9 \
-    --vdev 'eth_vhost0,iface=/vhost-net0,queues=1,client=1' \
+    --vdev 'eth_vhost0,iface=./vhost-net0,queues=1,client=1' \
     -- -p 0x1 \
     --parse-ptype 1 \
     --config "(0,0,1)"
@@ -70,7 +70,7 @@ Test Case 1: wake up split ring vhost-user core with event idx interrupt mode
     -device virtserialport,chardev=vm2_qga0,name=org.qemu.guest_agent.2 -daemonize \
     -monitor unix:/tmp/vm2_monitor.sock,server,nowait -device e1000,netdev=nttsip1 \
     -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6003-:22 \
-    -chardev socket,id=char0,path=./vhost-net0 \
+    -chardev socket,id=char0,path=./vhost-net0,server \
     -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \
     -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:02,disable-modern=false,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on -vnc :12
 
@@ -79,7 +79,7 @@ Test Case 1: wake up split ring vhost-user core with event idx interrupt mode
     ./x86_64-native-linuxapp-gcc/examples/dpdk-l3fwd-power  -l 1 \
     -n 4 --no-pci\
     --log-level=9 \
-    --vdev 'eth_vhost0,iface=/vhost-net0,queues=1,client=1' \
+    --vdev 'eth_vhost0,iface=./vhost-net0,queues=1,client=1' \
     -- -p 0x1 \
     --parse-ptype 1 \
     --config "(0,0,1)"
@@ -101,7 +101,7 @@ Test Case 2: wake up split ring vhost-user cores with event idx interrupt mode 1
     ./x86_64-native-linuxapp-gcc/examples/dpdk-l3fwd-power  -l 1-16 \
     -n 4 --no-pci\
     --log-level=9 \
-    --vdev 'eth_vhost0,iface=/vhost-net0,queues=16,client=1' \
+    --vdev 'eth_vhost0,iface=./vhost-net0,queues=16,client=1' \
     -- -p 0x1 \
     --parse-ptype 1 \
     --config "(0,0,1),(0,1,2),(0,2,3),(0,3,4),(0,4,5),(0,5,6),(0,6,7),(0,7,8),(0,8,9),(0,9,10),(0,10,11),(0,11,12),(0,12,13),(0,13,14),(0,14,15),(0,15,16)"
@@ -115,7 +115,7 @@ Test Case 2: wake up split ring vhost-user cores with event idx interrupt mode 1
     -device virtserialport,chardev=vm2_qga0,name=org.qemu.guest_agent.2 -daemonize \
     -monitor unix:/tmp/vm2_monitor.sock,server,nowait -device e1000,netdev=nttsip1 \
     -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6003-:22 \
-    -chardev socket,id=char0,path=./vhost-net0 \
+    -chardev socket,id=char0,path=./vhost-net0,server \
     -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce,queues=16 \
     -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:02,disable-modern=false,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,mq=on,vectors=40 -vnc :12
 
@@ -124,7 +124,7 @@ Test Case 2: wake up split ring vhost-user cores with event idx interrupt mode 1
     ./x86_64-native-linuxapp-gcc/examples/dpdk-l3fwd-power  -l 1-16 \
     -n 4 --no-pci\
     --log-level=9 \
-    --vdev 'eth_vhost0,iface=/vhost-net0,queues=16,client=1' \
+    --vdev 'eth_vhost0,iface=./vhost-net0,queues=16,client=1' \
     -- -p 0x1 \
     --parse-ptype 1 \
     --config "(0,0,1),(0,1,2),(0,2,3),(0,3,4),(0,4,5),(0,5,6),(0,6,7),(0,7,8),(0,8,9),(0,9,10),(0,10,11),(0,11,12),(0,12,13),(0,13,14),(0,14,15),(0,15,16)"
@@ -168,8 +168,8 @@ Test Case 3: wake up split ring vhost-user cores by multi virtio-net in VMs with
     ./x86_64-native-linuxapp-gcc/examples/dpdk-l3fwd-power  -l 1-2 \
     -n 4 --no-pci\
     --log-level=9 \
-    --vdev 'eth_vhost0,iface=/vhost-net0,queues=1,client=1' \
-    --vdev 'eth_vhost1,iface=/vhost-net1,queues=1,client=1' \
+    --vdev 'eth_vhost0,iface=./vhost-net0,queues=1,client=1' \
+    --vdev 'eth_vhost1,iface=./vhost-net1,queues=1,client=1' \
     -- -p 0x3 \
     --parse-ptype 1 \
     --config "(0,0,1),(1,0,2)"
@@ -182,7 +182,7 @@ Test Case 3: wake up split ring vhost-user cores by multi virtio-net in VMs with
      -smp cores=1,sockets=1 -drive file=/home/osimg/ubuntu1910.img  \
      -monitor unix:/tmp/vm2_monitor.sock,server,nowait -device e1000,netdev=nttsip1 \
      -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6003-:22 \
-     -chardev socket,server,id=char0,path=/vhost-net0 \
+     -chardev socket,server,id=char0,path=./vhost-net0,server \
      -netdev type=vhost-user,id=mynet1,chardev=char0,vhostforce \
      -device virtio-net-pci,mac=52:54:00:00:00:01,netdev=mynet1,csum=on -vnc :10 -daemonize
 
@@ -192,7 +192,7 @@ Test Case 3: wake up split ring vhost-user cores by multi virtio-net in VMs with
      -smp cores=1,sockets=1 -drive file=/home/osimg/ubuntu1910-2.img  \
      -monitor unix:/tmp/vm2_monitor.sock,server,nowait -device e1000,netdev=nttsip1 \
      -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6004-:22 \
-     -chardev socket,server,id=char0,path=/vhost-net1 \
+     -chardev socket,server,id=char0,path=./vhost-net1 \
      -netdev type=vhost-user,id=mynet1,chardev=char0,vhostforce \
      -device virtio-net-pci,mac=52:54:00:00:00:02,netdev=mynet1,csum=on -vnc :11 -daemonize
 
@@ -201,8 +201,8 @@ Test Case 3: wake up split ring vhost-user cores by multi virtio-net in VMs with
     ./x86_64-native-linuxapp-gcc/examples/dpdk-l3fwd-power  -l 1-2 \
     -n 4 --no-pci\
     --log-level=9 \
-    --vdev 'eth_vhost0,iface=/vhost-net0,queues=1,client=1' \
-    --vdev 'eth_vhost1,iface=/vhost-net1,queues=1,client=1' \
+    --vdev 'eth_vhost0,iface=./vhost-net0,queues=1,client=1' \
+    --vdev 'eth_vhost1,iface=./vhost-net1,queues=1,client=1' \
     -- -p 0x3 \
     --parse-ptype 1 \
     --config "(0,0,1),(1,0,2)"
@@ -231,7 +231,7 @@ Test Case 4: wake up packed ring vhost-user core with event idx interrupt mode
     ./x86_64-native-linuxapp-gcc/examples/dpdk-l3fwd-power  -l 1 \
     -n 4 --no-pci\
     --log-level=9 \
-    --vdev 'eth_vhost0,iface=/vhost-net0,queues=1,client=1' \
+    --vdev 'eth_vhost0,iface=./vhost-net0,queues=1,client=1' \
     -- -p 0x1 \
     --parse-ptype 1 \
     --config "(0,0,1)"
@@ -244,7 +244,7 @@ Test Case 4: wake up packed ring vhost-user core with event idx interrupt mode
      -smp cores=1,sockets=1 -drive file=/home/osimg/ubuntu1910.img  \
      -monitor unix:/tmp/vm2_monitor.sock,server,nowait -device e1000,netdev=nttsip1 \
      -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6004-:22 \
-     -chardev socket,server,id=char0,path=/vhost-net0 \
+     -chardev socket,server,id=char0,path=./vhost-net0,server \
      -netdev type=vhost-user,id=mynet1,chardev=char0,vhostforce \
      -device virtio-net-pci,mac=52:54:00:00:00:01,netdev=mynet1,csum=on,packed=on -vnc :10 -daemonize
 
@@ -253,7 +253,7 @@ Test Case 4: wake up packed ring vhost-user core with event idx interrupt mode
     ./x86_64-native-linuxapp-gcc/examples/dpdk-l3fwd-power  -l 1 \
     -n 4 --no-pci\
     --log-level=9 \
-    --vdev 'eth_vhost0,iface=/vhost-net0,queues=1,client=1' \
+    --vdev 'eth_vhost0,iface=./vhost-net0,queues=1,client=1' \
     -- -p 0x1 \
     --parse-ptype 1 \
     --config "(0,0,1)"
@@ -275,7 +275,7 @@ Test Case 5: wake up packed ring vhost-user cores with event idx interrupt mode
     ./x86_64-native-linuxapp-gcc/examples/dpdk-l3fwd-power  -l 1-16 \
     -n 4 --no-pci\
     --log-level=9 \
-    --vdev 'eth_vhost0,iface=/vhost-net0,queues=16,client=1' \
+    --vdev 'eth_vhost0,iface=./vhost-net0,queues=16,client=1' \
     -- -p 0x1 \
     --parse-ptype 1 \
     --config "(0,0,1),(0,1,2),(0,2,3),(0,3,4),(0,4,5),(0,5,6),(0,6,7),(0,7,8),(0,8,9),(0,9,10),(0,10,11),(0,11,12),(0,12,13),(0,13,14),(0,14,15),(0,15,16)"
@@ -288,7 +288,7 @@ Test Case 5: wake up packed ring vhost-user cores with event idx interrupt mode
      -smp cores=16,sockets=1 -drive file=/home/osimg/ubuntu1910.img  \
      -monitor unix:/tmp/vm2_monitor.sock,server,nowait -device e1000,netdev=nttsip1 \
      -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6004-:22 \
-     -chardev socket,server,id=char0,path=/vhost-net0 \
+     -chardev socket,server,id=char0,path=./vhost-net0,server \
      -netdev type=vhost-user,id=mynet1,chardev=char0,vhostforce,queues=16 \
      -device virtio-net-pci,mac=52:54:00:00:00:01,netdev=mynet1,csum=on,mq=on,packed=on,vectors=40 -vnc :10 -daemonize
 
@@ -297,7 +297,7 @@ Test Case 5: wake up packed ring vhost-user cores with event idx interrupt mode
     ./x86_64-native-linuxapp-gcc/examples/dpdk-l3fwd-power  -l 1-16 \
     -n 4 --no-pci\
     --log-level=9 \
-    --vdev 'eth_vhost0,iface=/vhost-net0,queues=16,client=1' \
+    --vdev 'eth_vhost0,iface=./vhost-net0,queues=16,client=1' \
     -- -p 0x1 \
     --parse-ptype 1 \
     --config "(0,0,1),(0,1,2),(0,2,3),(0,3,4),(0,4,5),(0,5,6),(0,6,7),(0,7,8),(0,8,9),(0,9,10),(0,10,11),(0,11,12),(0,12,13),(0,13,14),(0,14,15),(0,15,16)"
@@ -341,8 +341,8 @@ Test Case 6: wake up packed ring vhost-user cores by multi virtio-net in VMs wit
     ./x86_64-native-linuxapp-gcc/examples/dpdk-l3fwd-power  -l 1-2 \
     -n 4 --no-pci\
     --log-level=9 \
-    --vdev 'eth_vhost0,iface=/vhost-net0,queues=1,client=1' \
-    --vdev 'eth_vhost1,iface=/vhost-net1,queues=1,client=1' \
+    --vdev 'eth_vhost0,iface=./vhost-net0,queues=1,client=1' \
+    --vdev 'eth_vhost1,iface=./vhost-net1,queues=1,client=1' \
     -- -p 0x3 \
     --parse-ptype 1 \
     --config "(0,0,1),(1,0,2)"
@@ -355,7 +355,7 @@ Test Case 6: wake up packed ring vhost-user cores by multi virtio-net in VMs wit
      -smp cores=1,sockets=1 -drive file=/home/osimg/ubuntu1910.img  \
      -monitor unix:/tmp/vm2_monitor.sock,server,nowait -device e1000,netdev=nttsip1 \
      -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6004-:22 \
-     -chardev socket,server,id=char0,path=/vhost-net0 \
+     -chardev socket,server,id=char0,path=./vhost-net0,server \
      -netdev type=vhost-user,id=mynet1,chardev=char0,vhostforce \
      -device virtio-net-pci,mac=52:54:00:00:00:01,netdev=mynet1,csum=on,packed=on -vnc :10 -daemonize
 
@@ -365,7 +365,7 @@ Test Case 6: wake up packed ring vhost-user cores by multi virtio-net in VMs wit
      -smp cores=1,sockets=1 -drive file=/home/osimg/ubuntu1910-2.img  \
      -monitor unix:/tmp/vm2_monitor.sock,server,nowait -device e1000,netdev=nttsip1 \
      -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6004-:22 \
-     -chardev socket,server,id=char0,path=/vhost-net1 \
+     -chardev socket,server,id=char0,path=./vhost-net1,server \
      -netdev type=vhost-user,id=mynet1,chardev=char0,vhostforce \
      -device virtio-net-pci,mac=52:54:00:00:00:02,netdev=mynet1,csum=on,packed=on -vnc :11 -daemonize
 
@@ -374,8 +374,8 @@ Test Case 6: wake up packed ring vhost-user cores by multi virtio-net in VMs wit
     ./x86_64-native-linuxapp-gcc/examples/dpdk-l3fwd-power  -l 1-2 \
     -n 4 --no-pci\
     --log-level=9 \
-    --vdev 'eth_vhost0,iface=/vhost-net0,queues=1,client=1' \
-    --vdev 'eth_vhost1,iface=/vhost-net1,queues=1,client=1' \
+    --vdev 'eth_vhost0,iface=./vhost-net0,queues=1,client=1' \
+    --vdev 'eth_vhost1,iface=./vhost-net1,queues=1,client=1' \
     -- -p 0x3 \
     --parse-ptype 1 \
     --config "(0,0,1),(1,0,2)"
-- 
2.25.1


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

* RE: [dts][PATCH V1] test_plans/vhost_event_idx_interrupt_test_plan: fix socket path and VM mode issue
  2022-05-26  6:19 [dts][PATCH V1] test_plans/vhost_event_idx_interrupt_test_plan: fix socket path and VM mode issue Wei Ling
@ 2022-05-26  6:25 ` He, Xingguang
  2022-05-28  9:06 ` lijuan.tu
  1 sibling, 0 replies; 3+ messages in thread
From: He, Xingguang @ 2022-05-26  6:25 UTC (permalink / raw)
  To: Ling, WeiX, dts; +Cc: Ling, WeiX

> -----Original Message-----
> From: Wei Ling <weix.ling@intel.com>
> Sent: Thursday, May 26, 2022 2:19 PM
> To: dts@dpdk.org
> Cc: Ling, WeiX <weix.ling@intel.com>
> Subject: [dts][PATCH V1] test_plans/vhost_event_idx_interrupt_test_plan: fix
> socket path and VM mode issue
> 
Acked-by: Xingguang He<xingguang.he@intel.com>

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

* [dts][PATCH V1] test_plans/vhost_event_idx_interrupt_test_plan: fix socket path and VM mode issue
  2022-05-26  6:19 [dts][PATCH V1] test_plans/vhost_event_idx_interrupt_test_plan: fix socket path and VM mode issue Wei Ling
  2022-05-26  6:25 ` He, Xingguang
@ 2022-05-28  9:06 ` lijuan.tu
  1 sibling, 0 replies; 3+ messages in thread
From: lijuan.tu @ 2022-05-28  9:06 UTC (permalink / raw)
  To: dts, Wei Ling; +Cc: Wei Ling

On Thu, 26 May 2022 02:19:15 -0400, Wei Ling <weix.ling@intel.com> wrote:
> 1.Fix start virtio back-end socket path wrong issue.
> 2.Add start virtio front-end VM server mode parameter.
> 
> Signed-off-by: Wei Ling <weix.ling@intel.com>


Applied, thanks

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

end of thread, other threads:[~2022-05-28  9:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-26  6:19 [dts][PATCH V1] test_plans/vhost_event_idx_interrupt_test_plan: fix socket path and VM mode issue Wei Ling
2022-05-26  6:25 ` He, Xingguang
2022-05-28  9:06 ` 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).