* [dts] [PATCH V1 0/2] Modify vm2vm_virtio_user testsuite and test_plan
@ 2021-09-16 16:49 Lingli Chen
2021-09-16 16:49 ` [dts] [PATCH V1 1/2] test_plans/vm2vm_virtio_user: Correct test app name Lingli Chen
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Lingli Chen @ 2021-09-16 16:49 UTC (permalink / raw)
To: dts; +Cc: Lingli Chen
Modify the script sync with testplan
Lingli Chen (2):
test_plans/vm2vm_virtio_user: Correct test app name
tests/vm2vm_virtio_user: Modify the script sync with testplan
test_plans/vm2vm_virtio_user_test_plan.rst | 203 +++++++++++----------
tests/TestSuite_vm2vm_virtio_user.py | 38 ++--
2 files changed, 120 insertions(+), 121 deletions(-)
--
2.32.0
^ permalink raw reply [flat|nested] 6+ messages in thread
* [dts] [PATCH V1 1/2] test_plans/vm2vm_virtio_user: Correct test app name
2021-09-16 16:49 [dts] [PATCH V1 0/2] Modify vm2vm_virtio_user testsuite and test_plan Lingli Chen
@ 2021-09-16 16:49 ` Lingli Chen
2021-09-16 16:49 ` [dts] [PATCH V1 2/2] tests/vm2vm_virtio_user: Modify the script sync with testplan Lingli Chen
2021-09-17 3:08 ` [dts] [PATCH V1 0/2] Modify vm2vm_virtio_user testsuite and test_plan Chen, LingliX
2 siblings, 0 replies; 6+ messages in thread
From: Lingli Chen @ 2021-09-16 16:49 UTC (permalink / raw)
To: dts; +Cc: Lingli Chen
1. Correct test app name.
2. Add a tip that cbdma case need special dpdk code.
3. Delete case 4 packed_vec parameter
Signed-off-by: Lingli Chen <linglix.chen@intel.com>
---
test_plans/vm2vm_virtio_user_test_plan.rst | 203 +++++++++++----------
1 file changed, 102 insertions(+), 101 deletions(-)
diff --git a/test_plans/vm2vm_virtio_user_test_plan.rst b/test_plans/vm2vm_virtio_user_test_plan.rst
index 4855b51f..53dc0b37 100644
--- a/test_plans/vm2vm_virtio_user_test_plan.rst
+++ b/test_plans/vm2vm_virtio_user_test_plan.rst
@@ -41,23 +41,24 @@ This test plan test several features in VM2VM topo:
1. Split virtqueue vm2vm in-order mergeable, in-order non-mergeable, mergeable, non-mergeable, vector_rx path test.
2. Packed virtqueue vm2vm in-order mergeable, in-order non-mergeable, mergeable, non-mergeable, vectorized path (ringsize not powerof 2) test.
3. Split ring and packed ring vm2vm test when vhost enqueue operation with multi-CBDMA channels.
+Note: Blow cases 12-15 which have cbdma usage should add dpdk local path to support async vhostpmd.
Test flow
=========
-Virtio-user <-> Vhost-user <-> Testpmd <-> Vhost-user <-> Virtio-user
+Virtio-user0 <-> Vhost-user0 <-> Testpmd <-> Vhost-user1 <-> Virtio-user1(capture packets using Pdump)
Test Case 1: packed virtqueue vm2vm mergeable path test
=======================================================
1. Launch vhost by below command::
- ./x86_64-native-linuxapp-gcc/app/testpmd -l 1-2 -n 4 --no-pci \
+ ./dpdk-testpmd -l 1-2 -n 4 --no-pci \
--vdev 'eth_vhost0,iface=vhost-net,queues=1' --vdev 'eth_vhost1,iface=vhost-net1,queues=1' -- \
-i --nb-cores=1 --no-flush-rx
2. Launch virtio-user1 by below command::
- ./x86_64-native-linuxapp-gcc/app/testpmd -n 4 -l 7-8 \
+ ./dpdk-testpmd -n 4 -l 7-8 \
--no-pci --file-prefix=virtio1 \
--vdev=net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=1,packed_vq=1,mrg_rxbuf=1,in_order=0 \
-- -i --nb-cores=1 --txd=256 --rxd=256
@@ -66,11 +67,11 @@ Test Case 1: packed virtqueue vm2vm mergeable path test
3. Attach pdump secondary process to primary process by same file-prefix::
- ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=*,rx-dev=./pdump-virtio-rx.pcap,mbuf-size=8000'
+ ./dpdk-pdump -v --file-prefix=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=*,rx-dev=./pdump-virtio-rx.pcap,mbuf-size=8000'
4. Launch virtio-user0 and send 8k length packets::
- ./x86_64-native-linuxapp-gcc/app/testpmd -n 4 -l 5-6 \
+ ./dpdk-testpmd -n 4 -l 5-6 \
--no-pci --file-prefix=virtio \
--vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,queues=1,packed_vq=1,mrg_rxbuf=1,in_order=0 \
-- -i --nb-cores=1 --txd=256 --rxd=256
@@ -93,7 +94,7 @@ Test Case 1: packed virtqueue vm2vm mergeable path test
7. Launch testpmd by below command::
- ./x86_64-native-linuxapp-gcc/app/testpmd -l 1-2 -n 4 --no-pci --file-prefix=vhost \
+ ./dpdk-testpmd -l 1-2 -n 4 --no-pci --file-prefix=vhost \
--vdev 'eth_vhost1,iface=vhost-net1,queues=1' -- \
-i --nb-cores=1 --no-flush-rx
testpmd>set fwd rxonly
@@ -101,11 +102,11 @@ Test Case 1: packed virtqueue vm2vm mergeable path test
8. Attach pdump secondary process to primary process by same file-prefix::
- ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=vhost -- --pdump 'port=0,queue=*,rx-dev=/root/pdump-vhost-rx.pcap,mbuf-size=8000'
+ ./dpdk-pdump -v --file-prefix=vhost -- --pdump 'port=0,queue=*,rx-dev=/root/pdump-vhost-rx.pcap,mbuf-size=8000'
9. Launch virtio-user1 by below command::
- ./x86_64-native-linuxapp-gcc/app/testpmd -n 4 -l 7-8 --no-pci \
+ ./dpdk-testpmd -n 4 -l 7-8 --no-pci \
--vdev=net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=1,packed_vq=1,mrg_rxbuf=1,in_order=0 \
-- -i --nb-cores=1 --txd=256 --rxd=256
testpmd>set burst 1
@@ -129,13 +130,13 @@ Test Case 2: packed virtqueue vm2vm inorder mergeable path test
1. Launch testpmd by below command::
- ./testpmd -l 1-2 -n 4 --no-pci \
+ ./dpdk-testpmd -l 1-2 -n 4 --no-pci \
--vdev 'eth_vhost0,iface=vhost-net,queues=1' --vdev 'eth_vhost1,iface=vhost-net1,queues=1' -- \
-i --nb-cores=1 --no-flush-rx
2. Launch virtio-user1 by below command::
- ./testpmd -n 4 -l 7-8 \
+ ./dpdk-testpmd -n 4 -l 7-8 \
--no-pci --file-prefix=virtio1 \
--vdev=net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=1,packed_vq=1,mrg_rxbuf=1,in_order=1 \
-- -i --nb-cores=1 --txd=256 --rxd=256
@@ -144,11 +145,11 @@ Test Case 2: packed virtqueue vm2vm inorder mergeable path test
3. Attach pdump secondary process to primary process by same file-prefix::
- ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=*,rx-dev=/root/pdump-rx.pcap,mbuf-size=8000'
+ ./dpdk-pdump -v --file-prefix=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=*,rx-dev=/root/pdump-rx.pcap,mbuf-size=8000'
4. Launch virtio-user0 and send 8k length packets::
- ./testpmd -n 4 -l 5-6 \
+ ./dpdk-testpmd -n 4 -l 5-6 \
--no-pci --file-prefix=virtio \
--vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,queues=1,packed_vq=1,mrg_rxbuf=1,in_order=1 \
-- -i --nb-cores=1 --txd=256 --rxd=256
@@ -166,7 +167,7 @@ Test Case 2: packed virtqueue vm2vm inorder mergeable path test
6. Launch testpmd by below command::
- ./x86_64-native-linuxapp-gcc/app/testpmd -l 1-2 -n 4 --no-pci --file-prefix=vhost \
+ ./dpdk-testpmd -l 1-2 -n 4 --no-pci --file-prefix=vhost \
--vdev 'eth_vhost1,iface=vhost-net1,queues=1' -- \
-i --nb-cores=1 --no-flush-rx
testpmd>set fwd rxonly
@@ -174,11 +175,11 @@ Test Case 2: packed virtqueue vm2vm inorder mergeable path test
7. Attach pdump secondary process to primary process by same file-prefix::
- ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=vhost -- --pdump 'port=0,queue=*,rx-dev=/root/pdump-vhost-rx.pcap,mbuf-size=8000'
+ ./dpdk-pdump -v --file-prefix=vhost -- --pdump 'port=0,queue=*,rx-dev=/root/pdump-vhost-rx.pcap,mbuf-size=8000'
8. Launch virtio-user1 by below command::
- ./x86_64-native-linuxapp-gcc/app/testpmd -n 4 -l 7-8 \
+ ./dpdk-testpmd -n 4 -l 7-8 \
--no-pci \
--vdev=net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=1,packed_vq=1,mrg_rxbuf=1,in_order=1 \
-- -i --nb-cores=1 --txd=256 --rxd=256
@@ -199,24 +200,24 @@ Test Case 3: packed virtqueue vm2vm non-mergeable path test
1. Launch testpmd by below command::
- ./testpmd -l 1-2 -n 4 --no-pci \
+ ./dpdk-testpmd -l 1-2 -n 4 --no-pci \
--vdev 'eth_vhost0,iface=vhost-net,queues=1' --vdev 'eth_vhost1,iface=vhost-net1,queues=1' -- \
-i --nb-cores=1 --no-flush-rx
2. Launch virtio-user1 by below command::
- ./testpmd -n 4 -l 7-8 \
+ ./dpdk-testpmd -n 4 -l 7-8 \
--no-pci --file-prefix=virtio1 \
--vdev=net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=1,packed_vq=1,mrg_rxbuf=0,in_order=0 \
-- -i --nb-cores=1 --txd=256 --rxd=256
3. Attach pdump secondary process to primary process by same file-prefix::
- ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=*,rx-dev=/root/pdump-rx.pcap,mbuf-size=8000'
+ ./dpdk-pdump -v --file-prefix=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=*,rx-dev=/root/pdump-rx.pcap,mbuf-size=8000'
4. Launch virtio-user0 and send 8k length packets::
- ./testpmd -n 4 -l 5-6 \
+ ./dpdk-testpmd -n 4 -l 5-6 \
--no-pci --file-prefix=virtio \
--vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,queues=1,packed_vq=1,mrg_rxbuf=0,in_order=0 \
-- -i --nb-cores=1 --txd=256 --rxd=256
@@ -233,7 +234,7 @@ Test Case 3: packed virtqueue vm2vm non-mergeable path test
6. Launch testpmd by below command::
- ./x86_64-native-linuxapp-gcc/app/testpmd -l 1-2 -n 4 --no-pci --file-prefix=vhost \
+ ./dpdk-testpmd -l 1-2 -n 4 --no-pci --file-prefix=vhost \
--vdev 'eth_vhost1,iface=vhost-net1,queues=1' -- \
-i --nb-cores=1 --no-flush-rx
testpmd>set fwd rxonly
@@ -241,11 +242,11 @@ Test Case 3: packed virtqueue vm2vm non-mergeable path test
7. Attach pdump secondary process to primary process by same file-prefix::
- ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=vhost -- --pdump 'port=0,queue=*,rx-dev=/root/pdump-vhost-rx.pcap,mbuf-size=8000'
+ ./dpdk-pdump -v --file-prefix=vhost -- --pdump 'port=0,queue=*,rx-dev=/root/pdump-vhost-rx.pcap,mbuf-size=8000'
8. Launch virtio-user1 by below command::
- ./x86_64-native-linuxapp-gcc/app/testpmd -n 4 -l 7-8 \
+ ./dpdk-testpmd -n 4 -l 7-8 \
--no-pci \
--vdev=net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=1,packed_vq=1,mrg_rxbuf=0,in_order=0 \
-- -i --nb-cores=1 --txd=256 --rxd=256
@@ -262,28 +263,28 @@ Test Case 4: packed virtqueue vm2vm inorder non-mergeable path test
1. Launch testpmd by below command::
- ./testpmd -l 1-2 -n 4 --no-pci \
+ ./dpdk-testpmd -l 1-2 -n 4 --no-pci \
--vdev 'eth_vhost0,iface=vhost-net,queues=1' --vdev 'eth_vhost1,iface=vhost-net1,queues=1' -- \
-i --nb-cores=1 --no-flush-rx
2. Launch virtio-user1 by below command::
- ./testpmd -n 4 -l 7-8 \
+ ./dpdk-testpmd -n 4 -l 7-8 \
--no-pci --file-prefix=virtio1 \
- --vdev=net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=1,packed_vq=1,mrg_rxbuf=0,in_order=1,packed_vec=1 \
+ --vdev=net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=1,packed_vq=1,mrg_rxbuf=0,in_order=1 \
-- -i --rx-offloads=0x10 --nb-cores=1 --txd=256 --rxd=256
testpmd>set fwd rxonly
testpmd>start
3. Attach pdump secondary process to primary process by same file-prefix::
- ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=*,rx-dev=/root/pdump-rx.pcap,mbuf-size=8000'
+ ./dpdk-pdump -v --file-prefix=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=*,rx-dev=/root/pdump-rx.pcap,mbuf-size=8000'
4. Launch virtio-user0 and send 8k length packets::
- ./testpmd -n 4 -l 5-6 \
+ ./dpdk-testpmd -n 4 -l 5-6 \
--no-pci --file-prefix=virtio \
- --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,queues=1,packed_vq=1,mrg_rxbuf=0,in_order=1,packed_vec=1 \
+ --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,queues=1,packed_vq=1,mrg_rxbuf=0,in_order=1 \
-- -i --rx-offloads=0x10 --nb-cores=1 --txd=256 --rxd=256
testpmd>set burst 1
testpmd>start tx_first 27
@@ -298,7 +299,7 @@ Test Case 4: packed virtqueue vm2vm inorder non-mergeable path test
6. Launch testpmd by below command::
- ./x86_64-native-linuxapp-gcc/app/testpmd -l 1-2 -n 4 --no-pci --file-prefix=vhost \
+ ./dpdk-testpmd -l 1-2 -n 4 --no-pci --file-prefix=vhost \
--vdev 'eth_vhost1,iface=vhost-net1,queues=1' -- \
-i --nb-cores=1 --no-flush-rx
testpmd>set fwd rxonly
@@ -306,13 +307,13 @@ Test Case 4: packed virtqueue vm2vm inorder non-mergeable path test
7. Attach pdump secondary process to primary process by same file-prefix::
- ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=vhost -- --pdump 'port=0,queue=*,rx-dev=/root/pdump-vhost-rx.pcap,mbuf-size=8000'
+ ./dpdk-pdump -v --file-prefix=vhost -- --pdump 'port=0,queue=*,rx-dev=/root/pdump-vhost-rx.pcap,mbuf-size=8000'
8. Launch virtio-user1 by below command::
- ./x86_64-native-linuxapp-gcc/app/testpmd -n 4 -l 7-8 \
+ ./dpdk-testpmd -n 4 -l 7-8 \
--no-pci \
- --vdev=net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=1,packed_vq=1,mrg_rxbuf=0,in_order=1,packed_vec=1 \
+ --vdev=net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=1,packed_vq=1,mrg_rxbuf=0,in_order=1 \
-- -i --rx-offloads=0x10 --nb-cores=1 --txd=256 --rxd=256
testpmd>set burst 1
testpmd>start tx_first 27
@@ -327,13 +328,13 @@ Test Case 5: split virtqueue vm2vm mergeable path test
1. Launch vhost by below command::
- ./x86_64-native-linuxapp-gcc/app/testpmd -l 1-2 -n 4 --no-pci \
+ ./dpdk-testpmd -l 1-2 -n 4 --no-pci \
--vdev 'eth_vhost0,iface=vhost-net,queues=1' --vdev 'eth_vhost1,iface=vhost-net1,queues=1' -- \
-i --nb-cores=1 --no-flush-rx
2. Launch virtio-user1 by below command::
- ./x86_64-native-linuxapp-gcc/app/testpmd -n 4 -l 7-8 \
+ ./dpdk-testpmd -n 4 -l 7-8 \
--no-pci --file-prefix=virtio1 \
--vdev=net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=1,packed_vq=0,mrg_rxbuf=1,in_order=0 \
-- -i --nb-cores=1 --txd=256 --rxd=256
@@ -342,11 +343,11 @@ Test Case 5: split virtqueue vm2vm mergeable path test
3. Attach pdump secondary process to primary process by same file-prefix::
- ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=*,rx-dev=./pdump-virtio-rx.pcap,mbuf-size=8000'
+ ./dpdk-pdump -v --file-prefix=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=*,rx-dev=./pdump-virtio-rx.pcap,mbuf-size=8000'
4. Launch virtio-user0 and send 8k length packets::
- ./x86_64-native-linuxapp-gcc/app/testpmd -n 4 -l 5-6 \
+ ./dpdk-testpmd -n 4 -l 5-6 \
--no-pci --file-prefix=virtio \
--vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,queues=1,packed_vq=0,mrg_rxbuf=1,in_order=0 \
-- -i --nb-cores=1 --txd=256 --rxd=256
@@ -369,7 +370,7 @@ Test Case 5: split virtqueue vm2vm mergeable path test
7. Launch testpmd by below command::
- ./x86_64-native-linuxapp-gcc/app/testpmd -l 1-2 -n 4 --no-pci --file-prefix=vhost \
+ ./dpdk-testpmd -l 1-2 -n 4 --no-pci --file-prefix=vhost \
--vdev 'eth_vhost1,iface=vhost-net1,queues=1' -- \
-i --nb-cores=1 --no-flush-rx
testpmd>set fwd rxonly
@@ -377,11 +378,11 @@ Test Case 5: split virtqueue vm2vm mergeable path test
8. Attach pdump secondary process to primary process by same file-prefix::
- ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=vhost -- --pdump 'port=0,queue=*,rx-dev=/root/pdump-vhost-rx.pcap,mbuf-size=8000'
+ ./dpdk-pdump -v --file-prefix=vhost -- --pdump 'port=0,queue=*,rx-dev=/root/pdump-vhost-rx.pcap,mbuf-size=8000'
9. Launch virtio-user1 by below command::
- ./x86_64-native-linuxapp-gcc/app/testpmd -n 4 -l 7-8 \
+ ./dpdk-testpmd -n 4 -l 7-8 \
--no-pci \
--vdev=net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=1,packed_vq=0,mrg_rxbuf=1,in_order=0 \
-- -i --nb-cores=1 --txd=256 --rxd=256
@@ -406,13 +407,13 @@ Test Case 6: split virtqueue vm2vm inorder mergeable path test
1. Launch testpmd by below command::
- ./testpmd -l 1-2 -n 4 --no-pci \
+ ./dpdk-testpmd -l 1-2 -n 4 --no-pci \
--vdev 'eth_vhost0,iface=vhost-net,queues=1' --vdev 'eth_vhost1,iface=vhost-net1,queues=1' -- \
-i --nb-cores=1 --no-flush-rx
2. Launch virtio-user1 by below command::
- ./testpmd -n 4 -l 7-8 \
+ ./dpdk-testpmd -n 4 -l 7-8 \
--no-pci --file-prefix=virtio1 \
--vdev=net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=1,packed_vq=0,mrg_rxbuf=1,in_order=1 \
-- -i --nb-cores=1 --txd=256 --rxd=256
@@ -421,11 +422,11 @@ Test Case 6: split virtqueue vm2vm inorder mergeable path test
3. Attach pdump secondary process to primary process by same file-prefix::
- ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=*,rx-dev=/root/pdump-rx.pcap,mbuf-size=8000'
+ ./dpdk-pdump -v --file-prefix=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=*,rx-dev=/root/pdump-rx.pcap,mbuf-size=8000'
4. Launch virtio-user0 and send 8k length packets::
- ./testpmd -n 4 -l 5-6 \
+ ./dpdk-testpmd -n 4 -l 5-6 \
--no-pci --file-prefix=virtio \
--vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,queues=1,packed_vq=0,mrg_rxbuf=1,in_order=1 \
-- -i --nb-cores=1 --txd=256 --rxd=256
@@ -442,7 +443,7 @@ Test Case 6: split virtqueue vm2vm inorder mergeable path test
6. Launch testpmd by below command::
- ./x86_64-native-linuxapp-gcc/app/testpmd -l 1-2 -n 4 --no-pci --file-prefix=vhost \
+ ./dpdk-testpmd -l 1-2 -n 4 --no-pci --file-prefix=vhost \
--vdev 'eth_vhost1,iface=vhost-net1,queues=1' -- \
-i --nb-cores=1 --no-flush-rx
testpmd>set fwd rxonly
@@ -450,11 +451,11 @@ Test Case 6: split virtqueue vm2vm inorder mergeable path test
7. Attach pdump secondary process to primary process by same file-prefix::
- ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=vhost -- --pdump 'port=0,queue=*,rx-dev=/root/pdump-vhost-rx.pcap,mbuf-size=8000'
+ ./dpdk-pdump -v --file-prefix=vhost -- --pdump 'port=0,queue=*,rx-dev=/root/pdump-vhost-rx.pcap,mbuf-size=8000'
8. Launch virtio-user1 by below command::
- ./x86_64-native-linuxapp-gcc/app/testpmd -n 4 -l 7-8 \
+ ./dpdk-testpmd -n 4 -l 7-8 \
--no-pci \
--vdev=net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=1,packed_vq=0,mrg_rxbuf=1,in_order=1 \
-- -i --nb-cores=1 --txd=256 --rxd=256
@@ -475,24 +476,24 @@ Test Case 7: split virtqueue vm2vm non-mergeable path test
1. Launch testpmd by below command::
- ./testpmd -l 1-2 -n 4 --no-pci \
+ ./dpdk-testpmd -l 1-2 -n 4 --no-pci \
--vdev 'eth_vhost0,iface=vhost-net,queues=1' --vdev 'eth_vhost1,iface=vhost-net1,queues=1' -- \
-i --nb-cores=1 --no-flush-rx
2. Launch virtio-user1 by below command::
- ./testpmd -n 4 -l 7-8 \
+ ./dpdk-testpmd -n 4 -l 7-8 \
--no-pci --file-prefix=virtio1 \
--vdev=net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=1,packed_vq=0,mrg_rxbuf=0,in_order=0 \
-- -i --nb-cores=1 --txd=256 --rxd=256 --enable-hw-vlan-strip
3. Attach pdump secondary process to primary process by same file-prefix::
- ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=*,rx-dev=/root/pdump-rx.pcap,mbuf-size=8000'
+ ./dpdk-pdump -v --file-prefix=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=*,rx-dev=/root/pdump-rx.pcap,mbuf-size=8000'
4. Launch virtio-user0 and send 8k length packets::
- ./testpmd -n 4 -l 5-6 \
+ ./dpdk-testpmd -n 4 -l 5-6 \
--no-pci --file-prefix=virtio \
--vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,queues=1,packed_vq=0,mrg_rxbuf=0,in_order=0 \
-- -i --nb-cores=1 --txd=256 --rxd=256 --enable-hw-vlan-strip
@@ -509,7 +510,7 @@ Test Case 7: split virtqueue vm2vm non-mergeable path test
6. Launch testpmd by below command::
- ./x86_64-native-linuxapp-gcc/app/testpmd -l 1-2 -n 4 --no-pci --file-prefix=vhost \
+ ./dpdk-testpmd -l 1-2 -n 4 --no-pci --file-prefix=vhost \
--vdev 'eth_vhost1,iface=vhost-net1,queues=1' -- \
-i --nb-cores=1 --no-flush-rx
testpmd>set fwd rxonly
@@ -517,11 +518,11 @@ Test Case 7: split virtqueue vm2vm non-mergeable path test
7. Attach pdump secondary process to primary process by same file-prefix::
- ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=vhost -- --pdump 'port=0,queue=*,rx-dev=/root/pdump-vhost-rx.pcap,mbuf-size=8000'
+ ./dpdk-pdump -v --file-prefix=vhost -- --pdump 'port=0,queue=*,rx-dev=/root/pdump-vhost-rx.pcap,mbuf-size=8000'
8. Launch virtio-user1 by below command::
- ./x86_64-native-linuxapp-gcc/app/testpmd -n 4 -l 7-8 \
+ ./dpdk-testpmd -n 4 -l 7-8 \
--no-pci \
--vdev=net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=1,packed_vq=0,mrg_rxbuf=0,in_order=0 \
-- -i --nb-cores=1 --txd=256 --rxd=256 --enable-hw-vlan-strip
@@ -538,13 +539,13 @@ Test Case 8: split virtqueue vm2vm inorder non-mergeable path test
1. Launch testpmd by below command::
- ./testpmd -l 1-2 -n 4 --no-pci \
+ ./dpdk-testpmd -l 1-2 -n 4 --no-pci \
--vdev 'eth_vhost0,iface=vhost-net,queues=1' --vdev 'eth_vhost1,iface=vhost-net1,queues=1' -- \
-i --nb-cores=1 --no-flush-rx
2. Launch virtio-user1 by below command::
- ./testpmd -n 4 -l 7-8 \
+ ./dpdk-testpmd -n 4 -l 7-8 \
--no-pci --file-prefix=virtio1 \
--vdev=net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=1,packed_vq=0,mrg_rxbuf=0,in_order=1 \
-- -i --nb-cores=1 --txd=256 --rxd=256
@@ -553,11 +554,11 @@ Test Case 8: split virtqueue vm2vm inorder non-mergeable path test
3. Attach pdump secondary process to primary process by same file-prefix::
- ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=*,rx-dev=/root/pdump-rx.pcap,mbuf-size=8000'
+ ./dpdk-pdump -v --file-prefix=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=*,rx-dev=/root/pdump-rx.pcap,mbuf-size=8000'
4. Launch virtio-user0 and send 8k length packets::
- ./testpmd -n 4 -l 5-6 \
+ ./dpdk-testpmd -n 4 -l 5-6 \
--no-pci --file-prefix=virtio \
--vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,queues=1,packed_vq=0,mrg_rxbuf=0,in_order=1 \
-- -i --nb-cores=1 --txd=256 --rxd=256
@@ -574,7 +575,7 @@ Test Case 8: split virtqueue vm2vm inorder non-mergeable path test
6. Launch testpmd by below command::
- ./x86_64-native-linuxapp-gcc/app/testpmd -l 1-2 -n 4 --no-pci --file-prefix=vhost \
+ ./dpdk-testpmd -l 1-2 -n 4 --no-pci --file-prefix=vhost \
--vdev 'eth_vhost1,iface=vhost-net1,queues=1' -- \
-i --nb-cores=1 --no-flush-rx
testpmd>set fwd rxonly
@@ -582,11 +583,11 @@ Test Case 8: split virtqueue vm2vm inorder non-mergeable path test
7. Attach pdump secondary process to primary process by same file-prefix::
- ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=vhost -- --pdump 'port=0,queue=*,rx-dev=/root/pdump-vhost-rx.pcap,mbuf-size=8000'
+ ./dpdk-pdump -v --file-prefix=vhost -- --pdump 'port=0,queue=*,rx-dev=/root/pdump-vhost-rx.pcap,mbuf-size=8000'
8. Launch virtio-user1 by below command::
- ./x86_64-native-linuxapp-gcc/app/testpmd -n 4 -l 7-8 \
+ ./dpdk-testpmd -n 4 -l 7-8 \
--no-pci \
--vdev=net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=1,packed_vq=0,mrg_rxbuf=0,in_order=1 \
-- -i --nb-cores=1 --txd=256 --rxd=256
@@ -603,24 +604,24 @@ Test Case 9: split virtqueue vm2vm vector_rx path test
1. Launch testpmd by below command::
- ./testpmd -l 1-2 -n 4 --no-pci \
+ ./dpdk-testpmd -l 1-2 -n 4 --no-pci \
--vdev 'eth_vhost0,iface=vhost-net,queues=1' --vdev 'eth_vhost1,iface=vhost-net1,queues=1' -- \
-i --nb-cores=1 --no-flush-rx
2. Launch virtio-user1 by below command::
- ./testpmd -n 4 -l 7-8 \
+ ./dpdk-testpmd -n 4 -l 7-8 \
--no-pci --file-prefix=virtio1 \
--vdev=net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=1,packed_vq=0,mrg_rxbuf=0,in_order=0,vectorized=1,queue_size=256 \
-- -i --nb-cores=1 --txd=256 --rxd=256
3. Attach pdump secondary process to primary process by same file-prefix::
- ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=*,rx-dev=/root/pdump-rx.pcap,mbuf-size=8000'
+ ./dpdk-pdump -v --file-prefix=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=*,rx-dev=/root/pdump-rx.pcap,mbuf-size=8000'
4. Launch virtio-user0 and send 8k length packets::
- ./testpmd -n 4 -l 5-6 \
+ ./dpdk-testpmd -n 4 -l 5-6 \
--no-pci --file-prefix=virtio \
--vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,queues=1,packed_vq=0,mrg_rxbuf=0,in_order=0,vectorized=1,queue_size=256 \
-- -i --nb-cores=1 --txd=256 --rxd=256
@@ -637,7 +638,7 @@ Test Case 9: split virtqueue vm2vm vector_rx path test
6. Launch testpmd by below command::
- ./x86_64-native-linuxapp-gcc/app/testpmd -l 1-2 -n 4 --no-pci --file-prefix=vhost \
+ ./dpdk-testpmd -l 1-2 -n 4 --no-pci --file-prefix=vhost \
--vdev 'eth_vhost1,iface=vhost-net1,queues=1' -- \
-i --nb-cores=1 --no-flush-rx
testpmd>set fwd rxonly
@@ -645,11 +646,11 @@ Test Case 9: split virtqueue vm2vm vector_rx path test
7. Attach pdump secondary process to primary process by same file-prefix::
- ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=vhost -- --pdump 'port=0,queue=*,rx-dev=/root/pdump-vhost-rx.pcap,mbuf-size=8000'
+ ./dpdk-pdump -v --file-prefix=vhost -- --pdump 'port=0,queue=*,rx-dev=/root/pdump-vhost-rx.pcap,mbuf-size=8000'
8. Launch virtio-user1 by below command::
- ./x86_64-native-linuxapp-gcc/app/testpmd -n 4 -l 7-8 \
+ ./dpdk-testpmd -n 4 -l 7-8 \
--no-pci \
--vdev=net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=1,packed_vq=0,mrg_rxbuf=0,in_order=0,vectorized=1,queue_size=256 \
-- -i --nb-cores=1 --txd=256 --rxd=256
@@ -666,13 +667,13 @@ Test Case 10: packed virtqueue vm2vm vectorized path test
1. Launch testpmd by below command::
- ./x86_64-native-linuxapp-gcc/app/testpmd -l 1-2 -n 4 --no-pci \
+ ./dpdk-testpmd -l 1-2 -n 4 --no-pci \
--vdev 'eth_vhost0,iface=vhost-net,queues=1' --vdev 'eth_vhost1,iface=vhost-net1,queues=1' -- \
-i --nb-cores=1 --no-flush-rx
2. Launch virtio-user1 by below command::
- ./x86_64-native-linuxapp-gcc/app/testpmd -n 4 -l 7-8 \
+ ./dpdk-testpmd -n 4 -l 7-8 \
--no-pci --file-prefix=virtio1 --force-max-simd-bitwidth=512 \
--vdev=net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=1,packed_vq=1,mrg_rxbuf=0,in_order=1,vectorized=1,queue_size=256 \
-- -i --nb-cores=1 --txd=256 --rxd=256
@@ -681,11 +682,11 @@ Test Case 10: packed virtqueue vm2vm vectorized path test
3. Attach pdump secondary process to primary process by same file-prefix::
- ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=*,rx-dev=/root/pdump-rx.pcap,mbuf-size=8000'
+ ./dpdk-pdump -v --file-prefix=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=*,rx-dev=/root/pdump-rx.pcap,mbuf-size=8000'
4. Launch virtio-user0 and send 8k length packets::
- ./x86_64-native-linuxapp-gcc/app/testpmd -n 4 -l 5-6 \
+ ./dpdk-testpmd -n 4 -l 5-6 \
--no-pci --file-prefix=virtio --force-max-simd-bitwidth=512 \
--vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,queues=1,packed_vq=1,mrg_rxbuf=0,in_order=1,vectorized=1,queue_size=256 \
-- -i --nb-cores=1 --txd=256 --rxd=256
@@ -702,7 +703,7 @@ Test Case 10: packed virtqueue vm2vm vectorized path test
6. Launch testpmd by below command::
- ./x86_64-native-linuxapp-gcc/app/testpmd -l 1-2 -n 4 --no-pci --file-prefix=vhost \
+ ./dpdk-testpmd -l 1-2 -n 4 --no-pci --file-prefix=vhost \
--vdev 'eth_vhost1,iface=vhost-net1,queues=1' -- \
-i --nb-cores=1 --no-flush-rx
testpmd>set fwd rxonly
@@ -710,11 +711,11 @@ Test Case 10: packed virtqueue vm2vm vectorized path test
7. Attach pdump secondary process to primary process by same file-prefix::
- ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=vhost -- --pdump 'port=0,queue=*,rx-dev=/root/pdump-vhost-rx.pcap,mbuf-size=8000'
+ ./dpdk-pdump -v --file-prefix=vhost -- --pdump 'port=0,queue=*,rx-dev=/root/pdump-vhost-rx.pcap,mbuf-size=8000'
8. Launch virtio-user1 by below command::
- ./x86_64-native-linuxapp-gcc/app/testpmd -n 4 -l 7-8 \
+ ./dpdk-testpmd -n 4 -l 7-8 \
--no-pci --force-max-simd-bitwidth=512 \
--vdev=net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=1,packed_vq=1,mrg_rxbuf=0,in_order=1,vectorized=1,queue_size=256 \
-- -i --nb-cores=1 --txd=256 --rxd=256
@@ -731,13 +732,13 @@ Test Case 11: packed virtqueue vm2vm vectorized path test with ring size is not
1. Launch testpmd by below command::
- ./x86_64-native-linuxapp-gcc/app/testpmd -l 1-2 -n 4 --no-pci \
+ ./dpdk-testpmd -l 1-2 -n 4 --no-pci \
--vdev 'eth_vhost0,iface=vhost-net,queues=1' --vdev 'eth_vhost1,iface=vhost-net1,queues=1' -- \
-i --nb-cores=1 --no-flush-rx
2. Launch virtio-user1 by below command::
- ./x86_64-native-linuxapp-gcc/app/testpmd -n 4 -l 7-8 \
+ ./dpdk-testpmd -n 4 -l 7-8 \
--no-pci --file-prefix=virtio1 --force-max-simd-bitwidth=512 \
--vdev=net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=1,packed_vq=1,mrg_rxbuf=0,in_order=1,vectorized=1,queue_size=255 \
-- -i --nb-cores=1 --txd=255 --rxd=255
@@ -746,11 +747,11 @@ Test Case 11: packed virtqueue vm2vm vectorized path test with ring size is not
3. Attach pdump secondary process to primary process by same file-prefix::
- ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=*,rx-dev=/root/pdump-rx.pcap,mbuf-size=8000'
+ ./dpdk-pdump -v --file-prefix=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=*,rx-dev=/root/pdump-rx.pcap,mbuf-size=8000'
4. Launch virtio-user0 and send 8k length packets::
- ./x86_64-native-linuxapp-gcc/app/testpmd -n 4 -l 5-6 \
+ ./dpdk-testpmd -n 4 -l 5-6 \
--no-pci --file-prefix=virtio --force-max-simd-bitwidth=512 \
--vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,queues=1,packed_vq=1,mrg_rxbuf=0,in_order=1,vectorized=1,queue_size=255 \
-- -i --nb-cores=1 --txd=255 --rxd=255
@@ -767,7 +768,7 @@ Test Case 11: packed virtqueue vm2vm vectorized path test with ring size is not
6. Launch testpmd by below command::
- ./x86_64-native-linuxapp-gcc/app/testpmd -l 1-2 -n 4 --no-pci --file-prefix=vhost \
+ ./dpdk-testpmd -l 1-2 -n 4 --no-pci --file-prefix=vhost \
--vdev 'eth_vhost1,iface=vhost-net1,queues=1' -- \
-i --nb-cores=1 --no-flush-rx
testpmd>set fwd rxonly
@@ -775,11 +776,11 @@ Test Case 11: packed virtqueue vm2vm vectorized path test with ring size is not
7. Attach pdump secondary process to primary process by same file-prefix::
- ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=vhost -- --pdump 'port=0,queue=*,rx-dev=/root/pdump-vhost-rx.pcap,mbuf-size=8000'
+ ./dpdk-pdump -v --file-prefix=vhost -- --pdump 'port=0,queue=*,rx-dev=/root/pdump-vhost-rx.pcap,mbuf-size=8000'
8. Launch virtio-user1 by below command::
- ./x86_64-native-linuxapp-gcc/app/testpmd -n 4 -l 7-8 \
+ ./dpdk-testpmd -n 4 -l 7-8 \
--no-pci --force-max-simd-bitwidth=512 \
--vdev=net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=1,packed_vq=1,mrg_rxbuf=0,in_order=1,vectorized=1,queue_size=255 \
-- -i --nb-cores=1 --txd=255 --rxd=255
@@ -796,14 +797,14 @@ Test Case 12: split virtqueue vm2vm non-mergeable path multi-queues payload chec
1. Launch vhost by below command::
- ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 \
- --vdev 'eth_vhost0,iface=vhost-net,queues=2,client=1,dmas=[txq0@80:04.0;txq1@80:04.1],dmathr=64' --vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0@80:04.2;txq1@80:04.3],dmathr=64' -- \
+ ./dpdk-testpmd -l 1-2 -n 4 \
+ --vdev 'eth_vhost0,iface=vhost-net,queues=2,client=1,dmas=[txq0@0000:80:04.0;txq1@0000:80:04.1],dmathr=64' --vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0@0000:80:04.2;txq1@0000:80:04.3],dmathr=64' -- \
-i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096 --no-flush-rx
testpmd>vhost enable tx all
2. Launch virtio-user1 by below command::
- ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 \
+ ./dpdk-testpmd -n 4 -l 7-8 \
--no-pci --file-prefix=virtio1 \
--vdev=net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=2,server=1,packed_vq=0,mrg_rxbuf=0,in_order=0,queue_size=4096 \
-- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096
@@ -812,7 +813,7 @@ Test Case 12: split virtqueue vm2vm non-mergeable path multi-queues payload chec
3. Launch virtio-user0 and send packets::
- ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 \
+ ./dpdk-testpmd -n 4 -l 5-6 \
--no-pci --file-prefix=virtio \
--vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,queues=2,server=1,packed_vq=0,mrg_rxbuf=0,in_order=0,queue_size=4096 \
-- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096
@@ -833,14 +834,14 @@ Test Case 13: split virtqueue vm2vm mergeable path multi-queues payload check wi
1. Launch vhost by below command::
- ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 \
- --vdev 'eth_vhost0,iface=vhost-net,queues=2,client=1,dmas=[txq0@00:04.0;txq1@00:04.1],dmathr=512' --vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0@00:04.2;txq1@00:04.3],dmathr=512' -- \
+ ./dpdk-testpmd -l 1-2 -n 4 \
+ --vdev 'eth_vhost0,iface=vhost-net,queues=2,client=1,dmas=[txq0@0000:00:04.0;txq1@0000:00:04.1],dmathr=512' --vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0@0000:00:04.2;txq1@0000:00:04.3],dmathr=512' -- \
-i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096 --no-flush-rx
testpmd>vhost enable tx all
2. Launch virtio-user1 by below command::
- ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 \
+ ./dpdk-testpmd -n 4 -l 7-8 \
--no-pci --file-prefix=virtio1 \
--vdev=net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=2,server=1,packed_vq=0,mrg_rxbuf=1,in_order=0,queue_size=4096 \
-- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096
@@ -849,11 +850,11 @@ Test Case 13: split virtqueue vm2vm mergeable path multi-queues payload check wi
3. Attach pdump secondary process to primary process by same file-prefix::
- ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=*,rx-dev=./pdump-virtio-rx.pcap,mbuf-size=8000'
+ ./dpdk-pdump -v --file-prefix=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=*,rx-dev=./pdump-virtio-rx.pcap,mbuf-size=8000'
4. Launch virtio-user0 and send 8k length packets::
- ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 \
+ ./dpdk-testpmd -n 4 -l 5-6 \
--no-pci --file-prefix=virtio \
--vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,queues=2,server=1,packed_vq=0,mrg_rxbuf=1,in_order=0,queue_size=4096 \
-- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096
@@ -865,21 +866,21 @@ Test Case 13: split virtqueue vm2vm mergeable path multi-queues payload check wi
testpmd>set txpkts 64
testpmd>start tx_first 7
-5. Start vhost testpmd, check 502 packets received by virtio-user1 and 54 packets with 4640 length and 448 packets with 64 length in pdump-virtio-rx.pcap.
+5. Start vhost testpmd, check 502 packets received by virtio-user1 and 54 packets with 4640 length and 448 packets with 64 length in /root/pdump-rx.pcap.
Test Case 14: packed virtqueue vm2vm non-mergeable path multi-queues payload check with cbdma enabled
=========================================================================================================
1. Launch vhost by below command::
- ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 \
- --vdev 'eth_vhost0,iface=vhost-net,queues=2,client=1,dmas=[txq0@80:04.0;txq1@80:04.1],dmathr=64' --vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0@80:04.2;txq1@80:04.3],dmathr=64' -- \
+ ./dpdk-testpmd -l 1-2 -n 4 \
+ --vdev 'eth_vhost0,iface=vhost-net,queues=2,client=1,dmas=[txq0@0000:80:04.0;txq1@0000:80:04.1],dmathr=64' --vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0@0000:80:04.2;txq1@0000:80:04.3],dmathr=64' -- \
-i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096 --no-flush-rx
testpmd>vhost enable tx all
2. Launch virtio-user1 by below command::
- ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 \
+ ./dpdk-testpmd -n 4 -l 7-8 \
--no-pci --file-prefix=virtio1 \
--vdev=net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=2,server=1,packed_vq=1,mrg_rxbuf=0,in_order=0,queue_size=4096 \
-- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096
@@ -888,7 +889,7 @@ Test Case 14: packed virtqueue vm2vm non-mergeable path multi-queues payload che
3. Launch virtio-user0 and send packets::
- ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 \
+ ./dpdk-testpmd -n 4 -l 5-6 \
--no-pci --file-prefix=virtio \
--vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,queues=2,server=1,packed_vq=1,mrg_rxbuf=0,in_order=0,queue_size=4096 \
-- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096
@@ -909,14 +910,14 @@ Test Case 15: packed virtqueue vm2vm mergeable path multi-queues payload check w
1. Launch vhost by below command::
- ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 \
- --vdev 'eth_vhost0,iface=vhost-net,queues=2,client=1,dmas=[txq0@00:04.0;txq1@00:04.1],dmathr=512' --vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0@00:04.2;txq1@00:04.3],dmathr=512' -- \
+ ./dpdk-testpmd -l 1-2 -n 4 \
+ --vdev 'eth_vhost0,iface=vhost-net,queues=2,client=1,dmas=[txq0@0000:00:04.0;txq1@0000:00:04.1],dmathr=512' --vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0@0000:00:04.2;txq1@0000:00:04.3],dmathr=512' -- \
-i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096 --no-flush-rx
testpmd>vhost enable tx all
2. Launch virtio-user1 by below command::
- ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 \
+ ./dpdk-testpmd -n 4 -l 7-8 \
--no-pci --file-prefix=virtio1 \
--vdev=net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=2,server=1,packed_vq=1,mrg_rxbuf=1,in_order=0,queue_size=4096 \
-- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096
@@ -925,11 +926,11 @@ Test Case 15: packed virtqueue vm2vm mergeable path multi-queues payload check w
3. Attach pdump secondary process to primary process by same file-prefix::
- ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=*,rx-dev=./pdump-virtio-rx.pcap,mbuf-size=8000'
+ ./dpdk-pdump -v --file-prefix=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=*,rx-dev=./pdump-virtio-rx.pcap,mbuf-size=8000'
4. Launch virtio-user0 and send 8k length packets::
- ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 \
+ ./dpdk-testpmd -n 4 -l 5-6 \
--no-pci --file-prefix=virtio \
--vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,queues=2,server=1,packed_vq=1,mrg_rxbuf=1,in_order=0,queue_size=4096 \
-- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096
@@ -941,4 +942,4 @@ Test Case 15: packed virtqueue vm2vm mergeable path multi-queues payload check w
testpmd>set txpkts 64
testpmd>start tx_first 7
-5. Start vhost testpmd, then quit pdump, check 502 packets received by virtio-user1 and 54 packets with 4640 length and 448 packets with 64 length in pdump-virtio-rx.pcap.
\ No newline at end of file
+5. Start vhost testpmd, then quit pdump, check 502 packets received by virtio-user1 and 54 packets with 4640 length and 448 packets with 64 length in /root/pdump-rx.pcap.
--
2.32.0
^ permalink raw reply [flat|nested] 6+ messages in thread
* [dts] [PATCH V1 2/2] tests/vm2vm_virtio_user: Modify the script sync with testplan
2021-09-16 16:49 [dts] [PATCH V1 0/2] Modify vm2vm_virtio_user testsuite and test_plan Lingli Chen
2021-09-16 16:49 ` [dts] [PATCH V1 1/2] test_plans/vm2vm_virtio_user: Correct test app name Lingli Chen
@ 2021-09-16 16:49 ` Lingli Chen
2021-09-27 8:33 ` Chen, LingliX
2021-09-17 3:08 ` [dts] [PATCH V1 0/2] Modify vm2vm_virtio_user testsuite and test_plan Chen, LingliX
2 siblings, 1 reply; 6+ messages in thread
From: Lingli Chen @ 2021-09-16 16:49 UTC (permalink / raw)
To: dts; +Cc: Lingli Chen
1.Modify case 12, case 14 case name sync with testplan.
2.Modify case 4, case 7, case 8 sync with testplan.
Signed-off-by: Lingli Chen <linglix.chen@intel.com>
---
tests/TestSuite_vm2vm_virtio_user.py | 38 +++++++++++++---------------
1 file changed, 18 insertions(+), 20 deletions(-)
diff --git a/tests/TestSuite_vm2vm_virtio_user.py b/tests/TestSuite_vm2vm_virtio_user.py
index bd1c320e..e6c407a8 100644
--- a/tests/TestSuite_vm2vm_virtio_user.py
+++ b/tests/TestSuite_vm2vm_virtio_user.py
@@ -416,7 +416,7 @@ class TestVM2VMVirtioUser(TestCase):
def test_vm2vm_virtio_user_packed_virtqueue_mergeable_path(self):
"""
- packed virtqueue vm2vm mergeable path test
+ Test Case 1: packed virtqueue vm2vm mergeable path test
about packed virtqueue path, the 8k length pkt will occupies 1 ring since indirect feature enabled
"""
small_pkts_num = 251
@@ -444,7 +444,7 @@ class TestVM2VMVirtioUser(TestCase):
def test_vm2vm_virtio_user_packed_virtqueue_inorder_mergeable_path(self):
"""
- packed virtqueue vm2vm inorder mergeable path test
+ Test Case 2: packed virtqueue vm2vm inorder mergeable path test
about packed virtqueue path, the 8k length pkt will occupies 5 ring,
2000,2000,2000,2000 will need 4 consequent ring, still need one ring put header
so, as the rxt=256, if received pkts include 8k chain pkt, it will received up to 252 pkts
@@ -471,7 +471,7 @@ class TestVM2VMVirtioUser(TestCase):
def test_vm2vm_virtio_user_packed_virtqueue_no_mergeable_path(self):
"""
- packed virtqueue vm2vm non-mergeable path test
+ Test Case 3: packed virtqueue vm2vm non-mergeable path test
about non-mergeable path, it can not received large pkts
"""
small_pkts_num = 251
@@ -497,13 +497,13 @@ class TestVM2VMVirtioUser(TestCase):
def test_vm2vm_virtio_user_packed_virtqueue_inorder_no_mergeable_path(self):
"""
- packed virtqueue vm2vm inorder non-mergeable path test
+ Test Case 4: packed virtqueue vm2vm inorder non-mergeable path test
about non-mergeable path, it can not received large pkts
"""
small_pkts_num = 251
large_8k_pkts_num = 0
large_2k_pkts_num = 0
- path_mode = 'packed_vq=1,mrg_rxbuf=0,in_order=1,vectorized=1'
+ path_mode = 'packed_vq=1,mrg_rxbuf=0,in_order=1'
extern_params = '--rx-offloads=0x10'
ringsize = 256
# get dump pcap file of virtio
@@ -523,8 +523,7 @@ class TestVM2VMVirtioUser(TestCase):
def test_vm2vm_virtio_user_packed_virtqueue_vectorized_path(self):
"""
- packed virtqueue vm2vm inorder non-mergeable path test
- about non-mergeable path, it can not received large pkts
+ Test Case 10: packed virtqueue vm2vm vectorized path test
"""
small_pkts_num = 251
large_8k_pkts_num = 0
@@ -549,8 +548,7 @@ class TestVM2VMVirtioUser(TestCase):
def test_vm2vm_virtio_user_packed_virtqueue_vectorized_path_ringsize_not_powerof_2(self):
"""
- packed virtqueue vm2vm inorder non-mergeable path test
- about non-mergeable path, it can not received large pkts
+ Test Case 11: packed virtqueue vm2vm vectorized path test with ring size is not power of 2
"""
small_pkts_num = 251
large_8k_pkts_num = 0
@@ -575,7 +573,7 @@ class TestVM2VMVirtioUser(TestCase):
def test_vm2vm_virtio_user_split_virtqueue_mergeable_path(self):
"""
- split virtqueue vm2vm mergeable path test
+ Test Case 5: split virtqueue vm2vm mergeable path test
about split virtqueue path, the 8k length pkt will occupies 1 ring,
so, as the rxt=256, if received pkts include 8k chain pkt, also will received up to 256 pkts
"""
@@ -604,7 +602,7 @@ class TestVM2VMVirtioUser(TestCase):
def test_vm2vm_virtio_user_split_virtqueue_inorder_mergeable_path(self):
"""
- split virtqueue vm2vm inorder mergeable path test
+ Test Case 6: split virtqueue vm2vm inorder mergeable path test
about split virtqueue path, the 8k length pkt will occupies 5 ring,
2000,2000,2000,2000 will need 4 consequent ring, still need one ring put header
so, as the rxt=256, if received pkts include 8k chain pkt, it will received up to 252 pkts
@@ -631,13 +629,13 @@ class TestVM2VMVirtioUser(TestCase):
def test_vm2vm_virtio_user_split_virtqueue_no_mergeable_path(self):
"""
- split virtqueue vm2vm non-mergeable path test
+ Test Case 7: split virtqueue vm2vm non-mergeable path test
about non-mergeable path, it can not received large pkts
"""
small_pkts_num = 251
large_8k_pkts_num = 0
large_2k_pkts_num = 0
- path_mode = 'packed_vq=0,mrg_rxbuf=0,in_order=0,vectorized=1'
+ path_mode = 'packed_vq=0,mrg_rxbuf=0,in_order=0'
ringsize = 256
extern_params = '--enable-hw-vlan-strip'
# get dump pcap file of virtio
@@ -656,7 +654,7 @@ class TestVM2VMVirtioUser(TestCase):
def test_vm2vm_virtio_user_split_virtqueue_inorder_no_mergeable_path(self):
"""
- split virtqueue vm2vm inorder non-mergeable path test
+ Test Case 8: split virtqueue vm2vm inorder non-mergeable path test
about non-mergeable path, it can not received large pkts
"""
small_pkts_num = 251
@@ -664,7 +662,7 @@ class TestVM2VMVirtioUser(TestCase):
large_2k_pkts_num = 0
path_mode = 'packed_vq=0,mrg_rxbuf=0,in_order=1'
ringsize = 256
- extern_params = '--rx-offloads=0x10'
+ extern_params = ''
# get dump pcap file of virtio
# the virtio0 will send 283 pkts, but the virtio only will received 251 pkts
self.logger.info('check pcap file info about virtio')
@@ -681,7 +679,7 @@ class TestVM2VMVirtioUser(TestCase):
def test_vm2vm_virtio_user_split_virtqueue_vector_rx_path(self):
"""
- split virtqueue vm2vm vector_rx path test
+ Test Case 9: split virtqueue vm2vm vector_rx path test
about vector_rx path, it can not received large pkts
"""
small_pkts_num = 251
@@ -753,9 +751,9 @@ class TestVM2VMVirtioUser(TestCase):
if driver != driver_now:
netdev.bind_driver(driver=driver)
- def test_vm2vm_virtio_user_split_virtqueue_inorder_mergeable_path_with_cbdma(self):
+ def test_vm2vm_virtio_user_split_virtqueue_non_mergeable_path_with_cbdma(self):
"""
- Test Case 12: split virtqueue vm2vm inorder mergeable path multi-queues payload check with cbdma enabled
+ Test Case 12: split virtqueue vm2vm non-mergeable path multi-queues payload check with cbdma enabled
"""
self.cbdma_nic_dev_num = 4
self.get_cbdma_ports_info_and_bind_to_dpdk()
@@ -812,9 +810,9 @@ class TestVM2VMVirtioUser(TestCase):
self.check_packet_payload_valid_with_cbdma(self.dump_virtio_pcap, total_pkts_num, large_4640_pkts_num, large_64_pkts_num)
self.logger.info('check pcap file info about vhost')
- def test_vm2vm_virtio_user_packed_virtqueue_inorder_mergeable_path_with_cbdma(self):
+ def test_vm2vm_virtio_user_packed_virtqueue_non_mergeable_path_with_cbdma(self):
"""
- Test Case 14: packed virtqueue vm2vm inorder mergeable path multi-queues payload check with cbdma enabled
+ Test Case 14: packed virtqueue vm2vm non-mergeable path multi-queues payload check with cbdma enabled
"""
self.cbdma_nic_dev_num = 4
self.get_cbdma_ports_info_and_bind_to_dpdk()
--
2.32.0
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [dts] [PATCH V1 0/2] Modify vm2vm_virtio_user testsuite and test_plan
2021-09-16 16:49 [dts] [PATCH V1 0/2] Modify vm2vm_virtio_user testsuite and test_plan Lingli Chen
2021-09-16 16:49 ` [dts] [PATCH V1 1/2] test_plans/vm2vm_virtio_user: Correct test app name Lingli Chen
2021-09-16 16:49 ` [dts] [PATCH V1 2/2] tests/vm2vm_virtio_user: Modify the script sync with testplan Lingli Chen
@ 2021-09-17 3:08 ` Chen, LingliX
2 siblings, 0 replies; 6+ messages in thread
From: Chen, LingliX @ 2021-09-17 3:08 UTC (permalink / raw)
To: dts
[-- Attachment #1: Type: text/plain, Size: 325 bytes --]
> -----Original Message-----
> From: Chen, LingliX <linglix.chen@intel.com>
> Sent: Friday, September 17, 2021 12:50 AM
> To: dts@dpdk.org
> Cc: Chen, LingliX <linglix.chen@intel.com>
> Subject: [dts][PATCH V1 0/2] Modify vm2vm_virtio_user testsuite and
> test_plan
Tested-by: Lingli Chen <linglix.chen@intel.com>
[-- Attachment #2: TestVM2VMVirtioUser.log --]
[-- Type: application/octet-stream, Size: 10089 bytes --]
17/09/2021 10:48:53 dts:
TEST SUITE : TestVM2VMVirtioUser
17/09/2021 10:48:53 dts: NIC : fortville_spirit
17/09/2021 10:48:54 dut.10.240.183.220:
17/09/2021 10:48:54 tester:
17/09/2021 10:49:00 dut.10.240.183.220: echo 0000:af:00.0 > /sys/bus/pci/devices/0000\:af\:00.0/driver/unbind
17/09/2021 10:49:00 dut.10.240.183.220: -bash: /sys/bus/pci/devices/0000:af:00.0/driver/unbind: No such file or directory
17/09/2021 10:49:00 dut.10.240.183.220: modprobe i40e
17/09/2021 10:49:00 dut.10.240.183.220:
17/09/2021 10:49:00 dut.10.240.183.220: echo 0000:af:00.0 > /sys/bus/pci/drivers/i40e/bind
17/09/2021 10:49:00 dut.10.240.183.220: -bash: echo: write error: No such device
17/09/2021 10:49:06 dut.10.240.183.220: ifconfig up
17/09/2021 10:49:06 dut.10.240.183.220:
Command 'ifconfig' not found, but can be installed with:
apt install net-tools
17/09/2021 10:49:06 dut.10.240.183.220: echo 0000:af:00.1 > /sys/bus/pci/devices/0000\:af\:00.1/driver/unbind
17/09/2021 10:49:06 dut.10.240.183.220: -bash: /sys/bus/pci/devices/0000:af:00.1/driver/unbind: No such file or directory
17/09/2021 10:49:06 dut.10.240.183.220: modprobe i40e
17/09/2021 10:49:06 dut.10.240.183.220:
17/09/2021 10:49:06 dut.10.240.183.220: echo 0000:af:00.1 > /sys/bus/pci/drivers/i40e/bind
17/09/2021 10:49:06 dut.10.240.183.220: -bash: echo: write error: No such device
17/09/2021 10:49:11 dut.10.240.183.220: ifconfig up
17/09/2021 10:49:11 dut.10.240.183.220:
Command 'ifconfig' not found, but can be installed with:
apt install net-tools
17/09/2021 10:49:11 dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
17/09/2021 10:49:11 dut.10.240.183.220: 2048
17/09/2021 10:49:12 TestVM2VMVirtioUser: Test Case test_vm2vm_virtio_user_packed_virtqueue_inorder_no_mergeable_path Begin
17/09/2021 10:49:12 dut.10.240.183.220:
17/09/2021 10:49:12 tester:
17/09/2021 10:49:12 dut.10.240.183.220: rm -rf ./vhost-net*
17/09/2021 10:49:12 dut.10.240.183.220:
17/09/2021 10:49:12 dut.10.240.183.220: rm -rf /tmp/pdump-virtio-rx.pcap
17/09/2021 10:49:12 dut.10.240.183.220:
17/09/2021 10:49:12 dut.10.240.183.220: rm -rf /tmp/pdump-vhost-rx.pcap
17/09/2021 10:49:12 dut.10.240.183.220:
17/09/2021 10:49:12 TestVM2VMVirtioUser: check pcap file info about virtio
17/09/2021 10:49:22 dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
17/09/2021 10:49:22 dut.10.240.183.220: 2048
17/09/2021 10:49:34 dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
17/09/2021 10:49:34 dut.10.240.183.220: 2048
17/09/2021 10:50:09 dut.10.240.183.220: scp -v root@10.240.183.220:/tmp/pdump-virtio-rx.pcap /tmp/pdump-virtio-rx.pcap
17/09/2021 10:50:11 TestVM2VMVirtioUser: check pcap file info about vhost
17/09/2021 10:50:22 dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
17/09/2021 10:50:22 dut.10.240.183.220: 2048
17/09/2021 10:50:56 dut.10.240.183.220: scp -v root@10.240.183.220:/tmp/pdump-vhost-rx.pcap /tmp/pdump-vhost-rx.pcap
17/09/2021 10:50:58 TestVM2VMVirtioUser: diff the pcap file of vhost and virtio
17/09/2021 10:50:58 TestVM2VMVirtioUser: Test Case test_vm2vm_virtio_user_packed_virtqueue_inorder_no_mergeable_path Result PASSED:
17/09/2021 10:50:58 dut.10.240.183.220: modprobe ioatdma
17/09/2021 10:50:58 dut.10.240.183.220:
17/09/2021 10:50:58 dut.10.240.183.220: ./usertools/dpdk-devbind.py -u
17/09/2021 10:50:59 dut.10.240.183.220: Error: No devices specified.
usage: dpdk-devbind.py [-h] [-s] [--status-dev {baseband,compress,crypto,event,mempool,misc,net,regex}] [-b DRIVER | -u] [--force] [DEVICE [DEVICE ...]]
17/09/2021 10:50:59 dut.10.240.183.220: ./usertools/dpdk-devbind.py --force --bind=ioatdma
17/09/2021 10:50:59 dut.10.240.183.220: Error: No devices specified.
usage: dpdk-devbind.py [-h] [-s] [--status-dev {baseband,compress,crypto,event,mempool,misc,net,regex}] [-b DRIVER | -u] [--force] [DEVICE [DEVICE ...]]
17/09/2021 10:50:59 dut.10.240.183.220: kill_all: called by dut and prefix list has value.
17/09/2021 10:51:03 TestVM2VMVirtioUser: Test Case test_vm2vm_virtio_user_split_virtqueue_inorder_no_mergeable_path Begin
17/09/2021 10:51:03 dut.10.240.183.220:
17/09/2021 10:51:03 tester:
17/09/2021 10:51:03 dut.10.240.183.220: rm -rf ./vhost-net*
17/09/2021 10:51:03 dut.10.240.183.220:
17/09/2021 10:51:03 dut.10.240.183.220: rm -rf /tmp/pdump-virtio-rx.pcap
17/09/2021 10:51:03 dut.10.240.183.220:
17/09/2021 10:51:03 dut.10.240.183.220: rm -rf /tmp/pdump-vhost-rx.pcap
17/09/2021 10:51:03 dut.10.240.183.220:
17/09/2021 10:51:03 TestVM2VMVirtioUser: check pcap file info about virtio
17/09/2021 10:51:14 dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
17/09/2021 10:51:14 dut.10.240.183.220: 2048
17/09/2021 10:51:25 dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
17/09/2021 10:51:25 dut.10.240.183.220: 2048
17/09/2021 10:52:00 dut.10.240.183.220: scp -v root@10.240.183.220:/tmp/pdump-virtio-rx.pcap /tmp/pdump-virtio-rx.pcap
17/09/2021 10:52:02 TestVM2VMVirtioUser: check pcap file info about vhost
17/09/2021 10:52:13 dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
17/09/2021 10:52:13 dut.10.240.183.220: 2048
17/09/2021 10:52:47 dut.10.240.183.220: scp -v root@10.240.183.220:/tmp/pdump-vhost-rx.pcap /tmp/pdump-vhost-rx.pcap
17/09/2021 10:52:49 TestVM2VMVirtioUser: diff the pcap file of vhost and virtio
17/09/2021 10:52:50 TestVM2VMVirtioUser: Test Case test_vm2vm_virtio_user_split_virtqueue_inorder_no_mergeable_path Result PASSED:
17/09/2021 10:52:50 dut.10.240.183.220: modprobe ioatdma
17/09/2021 10:52:50 dut.10.240.183.220:
17/09/2021 10:52:50 dut.10.240.183.220: ./usertools/dpdk-devbind.py -u
17/09/2021 10:52:50 dut.10.240.183.220: Error: No devices specified.
usage: dpdk-devbind.py [-h] [-s] [--status-dev {baseband,compress,crypto,event,mempool,misc,net,regex}] [-b DRIVER | -u] [--force] [DEVICE [DEVICE ...]]
17/09/2021 10:52:50 dut.10.240.183.220: ./usertools/dpdk-devbind.py --force --bind=ioatdma
17/09/2021 10:52:50 dut.10.240.183.220: Error: No devices specified.
usage: dpdk-devbind.py [-h] [-s] [--status-dev {baseband,compress,crypto,event,mempool,misc,net,regex}] [-b DRIVER | -u] [--force] [DEVICE [DEVICE ...]]
17/09/2021 10:52:50 dut.10.240.183.220: kill_all: called by dut and prefix list has value.
17/09/2021 10:52:54 TestVM2VMVirtioUser: Test Case test_vm2vm_virtio_user_split_virtqueue_no_mergeable_path Begin
17/09/2021 10:52:54 dut.10.240.183.220:
17/09/2021 10:52:54 tester:
17/09/2021 10:52:54 dut.10.240.183.220: rm -rf ./vhost-net*
17/09/2021 10:52:54 dut.10.240.183.220:
17/09/2021 10:52:54 dut.10.240.183.220: rm -rf /tmp/pdump-virtio-rx.pcap
17/09/2021 10:52:54 dut.10.240.183.220:
17/09/2021 10:52:54 dut.10.240.183.220: rm -rf /tmp/pdump-vhost-rx.pcap
17/09/2021 10:52:54 dut.10.240.183.220:
17/09/2021 10:52:54 TestVM2VMVirtioUser: check pcap file info about virtio
17/09/2021 10:53:05 dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
17/09/2021 10:53:05 dut.10.240.183.220: 2048
17/09/2021 10:53:16 dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
17/09/2021 10:53:16 dut.10.240.183.220: 2048
17/09/2021 10:53:51 dut.10.240.183.220: scp -v root@10.240.183.220:/tmp/pdump-virtio-rx.pcap /tmp/pdump-virtio-rx.pcap
17/09/2021 10:53:53 TestVM2VMVirtioUser: check pcap file info about vhost
17/09/2021 10:54:04 dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
17/09/2021 10:54:04 dut.10.240.183.220: 2048
17/09/2021 10:54:39 dut.10.240.183.220: scp -v root@10.240.183.220:/tmp/pdump-vhost-rx.pcap /tmp/pdump-vhost-rx.pcap
17/09/2021 10:54:40 TestVM2VMVirtioUser: diff the pcap file of vhost and virtio
17/09/2021 10:54:41 TestVM2VMVirtioUser: Test Case test_vm2vm_virtio_user_split_virtqueue_no_mergeable_path Result PASSED:
17/09/2021 10:54:41 dut.10.240.183.220: modprobe ioatdma
17/09/2021 10:54:41 dut.10.240.183.220:
17/09/2021 10:54:41 dut.10.240.183.220: ./usertools/dpdk-devbind.py -u
17/09/2021 10:54:41 dut.10.240.183.220: Error: No devices specified.
usage: dpdk-devbind.py [-h] [-s] [--status-dev {baseband,compress,crypto,event,mempool,misc,net,regex}] [-b DRIVER | -u] [--force] [DEVICE [DEVICE ...]]
17/09/2021 10:54:41 dut.10.240.183.220: ./usertools/dpdk-devbind.py --force --bind=ioatdma
17/09/2021 10:54:41 dut.10.240.183.220: Error: No devices specified.
usage: dpdk-devbind.py [-h] [-s] [--status-dev {baseband,compress,crypto,event,mempool,misc,net,regex}] [-b DRIVER | -u] [--force] [DEVICE [DEVICE ...]]
17/09/2021 10:54:41 dut.10.240.183.220: kill_all: called by dut and prefix list has value.
17/09/2021 10:54:45 dts:
TEST SUITE ENDED: TestVM2VMVirtioUser
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [dts] [PATCH V1 2/2] tests/vm2vm_virtio_user: Modify the script sync with testplan
2021-09-16 16:49 ` [dts] [PATCH V1 2/2] tests/vm2vm_virtio_user: Modify the script sync with testplan Lingli Chen
@ 2021-09-27 8:33 ` Chen, LingliX
2021-09-29 9:13 ` Wang, Yinan
0 siblings, 1 reply; 6+ messages in thread
From: Chen, LingliX @ 2021-09-27 8:33 UTC (permalink / raw)
To: dts
> -----Original Message-----
> From: Chen, LingliX <linglix.chen@intel.com>
> Sent: Friday, September 17, 2021 12:50 AM
> To: dts@dpdk.org
> Cc: Chen, LingliX <linglix.chen@intel.com>
> Subject: [dts][PATCH V1 2/2] tests/vm2vm_virtio_user: Modify the script sync
> with testplan
>
> 1.Modify case 12, case 14 case name sync with testplan.
> 2.Modify case 4, case 7, case 8 sync with testplan.
>
> Signed-off-by: Lingli Chen <linglix.chen@intel.com>
Tested-by: Lingli Chen <linglix.chen@intel.com>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [dts] [PATCH V1 2/2] tests/vm2vm_virtio_user: Modify the script sync with testplan
2021-09-27 8:33 ` Chen, LingliX
@ 2021-09-29 9:13 ` Wang, Yinan
0 siblings, 0 replies; 6+ messages in thread
From: Wang, Yinan @ 2021-09-29 9:13 UTC (permalink / raw)
To: Chen, LingliX, dts
Acked-by: Yinan Wang <yinan.wang@intel.com>
> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of Chen, LingliX
> Sent: 2021?9?27? 16:34
> To: dts@dpdk.org
> Subject: Re: [dts] [PATCH V1 2/2] tests/vm2vm_virtio_user: Modify the
> script sync with testplan
>
>
> > -----Original Message-----
> > From: Chen, LingliX <linglix.chen@intel.com>
> > Sent: Friday, September 17, 2021 12:50 AM
> > To: dts@dpdk.org
> > Cc: Chen, LingliX <linglix.chen@intel.com>
> > Subject: [dts][PATCH V1 2/2] tests/vm2vm_virtio_user: Modify the script
> sync
> > with testplan
> >
> > 1.Modify case 12, case 14 case name sync with testplan.
> > 2.Modify case 4, case 7, case 8 sync with testplan.
> >
> > Signed-off-by: Lingli Chen <linglix.chen@intel.com>
>
> Tested-by: Lingli Chen <linglix.chen@intel.com>
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2021-09-29 9:13 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-16 16:49 [dts] [PATCH V1 0/2] Modify vm2vm_virtio_user testsuite and test_plan Lingli Chen
2021-09-16 16:49 ` [dts] [PATCH V1 1/2] test_plans/vm2vm_virtio_user: Correct test app name Lingli Chen
2021-09-16 16:49 ` [dts] [PATCH V1 2/2] tests/vm2vm_virtio_user: Modify the script sync with testplan Lingli Chen
2021-09-27 8:33 ` Chen, LingliX
2021-09-29 9:13 ` Wang, Yinan
2021-09-17 3:08 ` [dts] [PATCH V1 0/2] Modify vm2vm_virtio_user testsuite and test_plan Chen, LingliX
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).