[v1] test_plans/vm2vm_virtio_user_test_plan.rst
Commit Message
1. Correct test app name.
2. Add a tip that cbdma case need special dpdk code.
3. Add packed ring cbdma cases for case coverage improvement.
Signed-off-by: Yinan Wang <yinan.wang@intel.com>
---
test_plans/vm2vm_virtio_user_test_plan.rst | 256 +++++++++++++--------
1 file changed, 159 insertions(+), 97 deletions(-)
Comments
Hi Lijuan,
Could you help to review and apply this patch?
> -----Original Message-----
> From: Wang, Yinan <yinan.wang@intel.com>
> Sent: 2021?7?30? 2:03
> To: dts@dpdk.org
> Cc: Wang, Yinan <yinan.wang@intel.com>
> Subject: [dts] [PATCH v1] test_plans/vm2vm_virtio_user_test_plan.rst
>
> 1. Correct test app name.
> 2. Add a tip that cbdma case need special dpdk code.
> 3. Add packed ring cbdma cases for case coverage improvement.
>
> Signed-off-by: Yinan Wang <yinan.wang@intel.com>
> ---
> test_plans/vm2vm_virtio_user_test_plan.rst | 256 +++++++++++++--------
> 1 file changed, 159 insertions(+), 97 deletions(-)
>
> diff --git a/test_plans/vm2vm_virtio_user_test_plan.rst
> b/test_plans/vm2vm_virtio_user_test_plan.rst
> index 4855b51f..005c82bb 100644
> --- a/test_plans/vm2vm_virtio_user_test_plan.rst
> +++ b/test_plans/vm2vm_virtio_user_test_plan.rst
> @@ -41,6 +41,7 @@ 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-16 which have cbdma usage should add dpdk local
> path to support async vhostpmd.
>
> Test flow
> =========
> @@ -51,13 +52,13 @@ 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,13 +263,13 @@ 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 \
> -- -i --rx-offloads=0x10 --nb-cores=1 --txd=256 --rxd=256
> @@ -277,11 +278,11 @@ Test Case 4: packed 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=1,mrg_rxbuf=0,in_order=1,packed_vec=1 \
> -- -i --rx-offloads=0x10 --nb-cores=1 --txd=256 --rxd=256
> @@ -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,11 +307,11 @@ 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 \
> -- -i --rx-offloads=0x10 --nb-cores=1 --txd=256 --rxd=256
> @@ -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_s
> ize=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_siz
> e=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_s
> ize=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_s
> ize=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_siz
> e=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_s
> ize=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_s
> ize=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_siz
> e=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_s
> ize=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],dmat
> hr=64' --vdev 'eth_vhost1,iface=vhost-
> net1,queues=2,client=1,dmas=[txq0@0000:80:04.2;txq1@0000:80:04.3],dma
> thr=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=4
> 096 \
> -- -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],dmat
> hr=512' --vdev 'eth_vhost1,iface=vhost-
> net1,queues=2,client=1,dmas=[txq0@0000:00:04.2;txq1@0000:00:04.3],dma
> thr=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=4
> 096 \
> -- -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],dmat
> hr=64' --vdev 'eth_vhost1,iface=vhost-
> net1,queues=2,client=1,dmas=[txq0@0000:80:04.2;txq1@0000:80:04.3],dma
> thr=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=4
> 096 \
> -- -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],dmat
> hr=512' --vdev 'eth_vhost1,iface=vhost-
> net1,queues=2,client=1,dmas=[txq0@0000:00:04.2;txq1@0000:00:04.3],dma
> thr=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=4
> 096 \
> -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096
> @@ -941,4 +942,65 @@ 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.
> +
> +Test Case 16: packed virtqueue vm2vm vectorized path with cbdma
> enabled test with ring size is not power of 2
> +==============================================================
> ===============================================
> +
> +1. Launch testpmd by below command::
> +
> + ./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],dmat
> hr=0' --vdev 'eth_vhost1,iface=vhost-
> net1,queues=2,client=1,dmas=[txq0@0000:00:04.2;txq1@0000:00:04.3],dma
> thr=0' -- \
> + -i --nb-cores=1 --no-flush-rx --txd=4095 --rxd=4095 --rxq=2 --txq=2
> + testpmd>vhost enable tx all
> +
> +2. Launch virtio-user1 by below command::
> +
> + ./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=2,packed_vq=1,mrg_rxbuf=0,in_order=1,vectorized=1,queue_s
> ize=4095,server=1 \
> + -- -i --nb-cores=1 --txd=4095 --rxd=4095 --rxq=2 --txq=2 --mbuf-size=9216
> + testpmd>set fwd rxonly
> + testpmd>start
> +
> +3. Attach pdump secondary process to primary process by same file-prefix::
> +
> + ./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::
> +
> + ./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=2,packed_vq=1,mrg_rxbuf=0,in_order=1,vectorized=1,queue_siz
> e=4095,server=1 \
> + -- -i --nb-cores=1 --txd=4095 --rxd=4095 --rxq=2 --txq=2 --mbuf-size=9216
> + testpmd>set burst 1
> + testpmd>start tx_first 27
> + testpmd>stop
> + testpmd>set burst 32
> + testpmd>start tx_first 7
> + testpmd>stop
> + testpmd>set txpkts 2000,2000,2000,2000
> + testpmd>start tx_first 1
> +
> +5. Start vhost, then quit pdump and three testpmd, get 566 packets
> received by virtio-user1 and 64 pkts with 8000b and 502 pkts with 64b in
> /root/pdump-rx.pcap.
> +
> +6. Launch virtio-user by below command::
> +
> + ./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=2,packed_vq=1,mrg_rxbuf=0,in_order=1,vectorized=1,queue_s
> ize=255,server=1 \
> + -- -i --nb-cores=1 --txd=255 --rxd=255 --rxq=2 --txq=2
> + testpmd>set fwd mac
> + testpmd>start
> +
> +7. Launch vhost by below command::
> +
> + ./dpdk-testpmd -l 1-2 -n 4 \
> + --vdev 'eth_vhost0,iface=vhost-
> net1,queues=2,client=1,dmas=[txq0@0000:00:04.0;txq1@0000:00:04.1],dma
> thr=0' -- \
> + -i --nb-cores=1 --no-flush-rx --txd=255 --rxd=255 --rxq=2 --txq=2
> + testpmd>vhost enable tx all
> + testpmd>set fwd mac
> + testpmd>set burst 1
> + testpmd>start tx_first 1
> +
> +8. Record loopback throughput can get expected(>5mpps).
> --
> 2.25.1
@@ -41,6 +41,7 @@ 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-16 which have cbdma usage should add dpdk local path to support async vhostpmd.
Test flow
=========
@@ -51,13 +52,13 @@ 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,13 +263,13 @@ 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 \
-- -i --rx-offloads=0x10 --nb-cores=1 --txd=256 --rxd=256
@@ -277,11 +278,11 @@ Test Case 4: packed 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=1,mrg_rxbuf=0,in_order=1,packed_vec=1 \
-- -i --rx-offloads=0x10 --nb-cores=1 --txd=256 --rxd=256
@@ -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,11 +307,11 @@ 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 \
-- -i --rx-offloads=0x10 --nb-cores=1 --txd=256 --rxd=256
@@ -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,65 @@ 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.
+
+Test Case 16: packed virtqueue vm2vm vectorized path with cbdma enabled test with ring size is not power of 2
+=============================================================================================================
+
+1. Launch testpmd by below command::
+
+ ./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=0' --vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0@0000:00:04.2;txq1@0000:00:04.3],dmathr=0' -- \
+ -i --nb-cores=1 --no-flush-rx --txd=4095 --rxd=4095 --rxq=2 --txq=2
+ testpmd>vhost enable tx all
+
+2. Launch virtio-user1 by below command::
+
+ ./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=2,packed_vq=1,mrg_rxbuf=0,in_order=1,vectorized=1,queue_size=4095,server=1 \
+ -- -i --nb-cores=1 --txd=4095 --rxd=4095 --rxq=2 --txq=2 --mbuf-size=9216
+ testpmd>set fwd rxonly
+ testpmd>start
+
+3. Attach pdump secondary process to primary process by same file-prefix::
+
+ ./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::
+
+ ./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=2,packed_vq=1,mrg_rxbuf=0,in_order=1,vectorized=1,queue_size=4095,server=1 \
+ -- -i --nb-cores=1 --txd=4095 --rxd=4095 --rxq=2 --txq=2 --mbuf-size=9216
+ testpmd>set burst 1
+ testpmd>start tx_first 27
+ testpmd>stop
+ testpmd>set burst 32
+ testpmd>start tx_first 7
+ testpmd>stop
+ testpmd>set txpkts 2000,2000,2000,2000
+ testpmd>start tx_first 1
+
+5. Start vhost, then quit pdump and three testpmd, get 566 packets received by virtio-user1 and 64 pkts with 8000b and 502 pkts with 64b in /root/pdump-rx.pcap.
+
+6. Launch virtio-user by below command::
+
+ ./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=2,packed_vq=1,mrg_rxbuf=0,in_order=1,vectorized=1,queue_size=255,server=1 \
+ -- -i --nb-cores=1 --txd=255 --rxd=255 --rxq=2 --txq=2
+ testpmd>set fwd mac
+ testpmd>start
+
+7. Launch vhost by below command::
+
+ ./dpdk-testpmd -l 1-2 -n 4 \
+ --vdev 'eth_vhost0,iface=vhost-net1,queues=2,client=1,dmas=[txq0@0000:00:04.0;txq1@0000:00:04.1],dmathr=0' -- \
+ -i --nb-cores=1 --no-flush-rx --txd=255 --rxd=255 --rxq=2 --txq=2
+ testpmd>vhost enable tx all
+ testpmd>set fwd mac
+ testpmd>set burst 1
+ testpmd>start tx_first 1
+
+8. Record loopback throughput can get expected(>5mpps).