From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 006B0A0C4B; Thu, 11 Nov 2021 10:31:07 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E7CAC41148; Thu, 11 Nov 2021 10:31:07 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id ECA2040E03 for ; Thu, 11 Nov 2021 10:31:06 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10164"; a="230344457" X-IronPort-AV: E=Sophos;i="5.87,225,1631602800"; d="scan'208";a="230344457" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Nov 2021 01:31:04 -0800 X-IronPort-AV: E=Sophos;i="5.87,225,1631602800"; d="scan'208";a="534359720" Received: from unknown (HELO dpdk.lan) ([10.240.183.77]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Nov 2021 01:31:02 -0800 From: Lingli Chen To: dts@dpdk.org Cc: Lingli Chen Subject: [dts][PATCH V1 1/2] test_plans/loopback_virtio_user_server_mode: modify for case coverage improvement Date: Thu, 11 Nov 2021 17:32:40 +0000 Message-Id: <20211111173241.105919-2-linglix.chen@intel.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211111173241.105919-1-linglix.chen@intel.com> References: <20211111173241.105919-1-linglix.chen@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org 1. Case 3, Case 10 change to 8 queues. 2. Case 3, 4, 8, 10 add 8k packets. Signed-off-by: Lingli Chen --- ...back_virtio_user_server_mode_test_plan.rst | 136 +++++++++++------- 1 file changed, 81 insertions(+), 55 deletions(-) diff --git a/test_plans/loopback_virtio_user_server_mode_test_plan.rst b/test_plans/loopback_virtio_user_server_mode_test_plan.rst index 18d580f4..f3e9f1de 100644 --- a/test_plans/loopback_virtio_user_server_mode_test_plan.rst +++ b/test_plans/loopback_virtio_user_server_mode_test_plan.rst @@ -84,35 +84,38 @@ Test Case 2: Basic test for split ring server mode Test Case 3: loopback reconnect test with split ring mergeable path and server mode =================================================================================== -1. launch vhost as client mode with 2 queues:: +1. launch vhost as client mode with 8 queues:: rm -rf vhost-net* ./testpmd -c 0xe -n 4 --no-pci --file-prefix=vhost \ - --vdev 'eth_vhost0,iface=vhost-net,client=1,queues=2' -- -i --nb-cores=2 --rxq=2 --txq=2 + --vdev 'eth_vhost0,iface=vhost-net,client=1,queues=8' -- -i --nb-cores=2 --rxq=8 --txq=8 >set fwd mac >start -2. Launch virtio-user as server mode with 2 queues:: +2. Launch virtio-user as server mode with 8 queues and check throughput can get expected:: ./testpmd -n 4 -l 5-7 --no-pci --file-prefix=virtio \ - --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,server=1,queues=2,mrg_rxbuf=1,in_order=0 \ - -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip --nb-cores=2 --rxq=2 --txq=2 + --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,server=1,queues=8,mrg_rxbuf=1,in_order=0 \ + -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip --nb-cores=2 --rxq=8 --txq=8 >set fwd mac + >set txpkts 2000,2000,2000,2000 >start tx_first 32 + >show port stats all 3. Quit vhost side testpmd, check the virtio-user side link status:: testpmd> show port info 0 #it should show "down" -4. Relaunch vhost and send packets:: +4. Relaunch vhost and send chain packets:: ./testpmd -c 0xe -n 4 --no-pci --file-prefix=vhost \ - --vdev 'eth_vhost0,iface=vhost-net,client=1,queues=2' -- -i --nb-cores=2 --rxq=2 --txq=2 + --vdev 'eth_vhost0,iface=vhost-net,client=1,queues=8' -- -i --nb-cores=2 --rxq=8 --txq=8 >set fwd mac + >set txpkts 2000,2000,2000,2000 >start tx_first 32 -5. Check the virtio-user side link status and run below command to get throughput,verify the loopback throughput is not zero:: +5. Check the virtio-user side link status and run below command to get throughput, check throughput can get expected:: testpmd> show port info 0 #it should show up" @@ -130,22 +133,24 @@ Test Case 3: loopback reconnect test with split ring mergeable path and server m 8. Relaunch virtio-user and send packets:: ./testpmd -n 4 -l 5-7 --no-pci --file-prefix=virtio \ - --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,server=1,queues=2,mrg_rxbuf=1,in_order=0 \ - -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip --nb-cores=2 --rxq=2 --txq=2 + --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,server=1,queues=8,mrg_rxbuf=1,in_order=0 \ + -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip --nb-cores=2 --rxq=8 --txq=8 >set fwd mac + >set txpkts 2000,2000,2000,2000 >start tx_first 32 -9. Check the vhost side link status and run below command to get throughput, verify the loopback throughput is not zero:: +9. Check the vhost side link status and run below command to get throughput, check throughput can get expected:: testpmd> show port info 0 #it should show up" testpmd>show port stats all -10. Port restart at vhost side by below command and re-calculate the average throughput:: +10. Port restart at vhost side by below command and check throughput can get expected:: testpmd>stop testpmd>port stop 0 testpmd>port start 0 + testpmd>set txpkts 2000,2000,2000,2000 testpmd>start tx_first 32 testpmd>show port stats all @@ -164,13 +169,15 @@ Test Case 4: loopback reconnect test with split ring inorder mergeable path and >set fwd mac >start -2. Launch virtio-user as server mode with 2 queues:: +2. Launch virtio-user as server mode with 2 queues, check throughput can get expected:: ./testpmd -n 4 -l 5-7 --no-pci --file-prefix=virtio \ --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,server=1,queues=2,mrg_rxbuf=1,in_order=1 \ -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip --nb-cores=2 --rxq=2 --txq=2 >set fwd mac + >set txpkts 2000,2000,2000,2000 >start tx_first 32 + >show port stats all 3. Quit vhost side testpmd, check the virtio-user side link status:: @@ -182,9 +189,10 @@ Test Case 4: loopback reconnect test with split ring inorder mergeable path and ./testpmd -c 0xe -n 4 --no-pci --file-prefix=vhost \ --vdev 'eth_vhost0,iface=vhost-net,client=1,queues=2' -- -i --nb-cores=2 --rxq=2 --txq=2 >set fwd mac + >set txpkts 2000,2000,2000,2000 >start tx_first 32 -5. Check the virtio-user side link status and run below command to get throughput,verify the loopback throughput is not zero:: +5. Check the virtio-user side link status and run below command to get throughput, check throughput can get expected:: testpmd> show port info 0 #it should show up" @@ -205,19 +213,21 @@ Test Case 4: loopback reconnect test with split ring inorder mergeable path and --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,server=1,queues=2,mrg_rxbuf=1,in_order=1\ -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip --nb-cores=2 --rxq=2 --txq=2 >set fwd mac + >set txpkts 2000,2000,2000,2000 >start tx_first 32 -9. Check the vhost side link status and run below command to get throughput, verify the loopback throughput is not zero:: +9. Check the vhost side link status and run below command to get throughput, check throughput can get expected:: testpmd> show port info 0 #it should show up" testpmd>show port stats all -10. Port restart at vhost side by below command and re-calculate the average throughput:: +10. Port restart at vhost side by below command and check throughput can get expected:: testpmd>stop testpmd>port stop 0 testpmd>port start 0 + testpmd>set txpkts 2000,2000,2000,2000 testpmd>start tx_first 32 testpmd>show port stats all @@ -236,13 +246,14 @@ Test Case 5: loopback reconnect test with split ring inorder non-mergeable path >set fwd mac >start -2. Launch virtio-user as server mode with 2 queues:: +2. Launch virtio-user as server mode with 2 queues check throughput can get expected:: ./testpmd -n 4 -l 5-7 --no-pci --file-prefix=virtio \ --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,server=1,queues=2,mrg_rxbuf=0,in_order=1 \ -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip --nb-cores=2 --rxq=2 --txq=2 >set fwd mac >start tx_first 32 + >show port stats all 3. Quit vhost side testpmd, check the virtio-user side link status:: @@ -256,7 +267,7 @@ Test Case 5: loopback reconnect test with split ring inorder non-mergeable path >set fwd mac >start tx_first 32 -5. Check the virtio-user side link status and run below command to get throughput,verify the loopback throughput is not zero:: +5. Check the virtio-user side link status and run below command to get throughput, check throughput can get expected:: testpmd> show port info 0 #it should show up" @@ -279,13 +290,13 @@ Test Case 5: loopback reconnect test with split ring inorder non-mergeable path >set fwd mac >start tx_first 32 -9. Check the vhost side link status and run below command to get throughput, verify the loopback throughput is not zero:: +9. Check the vhost side link status and run below command to get throughput, check throughput can get expected:: testpmd> show port info 0 #it should show up" testpmd>show port stats all -10. Port restart at vhost side by below command and re-calculate the average throughput:: +10. Port restart at vhost side by below command and check throughput can get expected:: testpmd>stop testpmd>port stop 0 @@ -308,13 +319,14 @@ Test Case 6: loopback reconnect test with split ring non-mergeable path and serv >set fwd mac >start -2. Launch virtio-user as server mode with 2 queues:: +2. Launch virtio-user as server mode with 2 queues and check throughput can get expected:: ./testpmd -n 4 -l 5-7 --no-pci --file-prefix=virtio \ --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,server=1,queues=2,mrg_rxbuf=0,in_order=0,vectorized=1 \ -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip --nb-cores=2 --rxq=2 --txq=2 >set fwd mac >start tx_first 32 + >show port stats all 3. Quit vhost side testpmd, check the virtio-user side link status:: @@ -328,7 +340,7 @@ Test Case 6: loopback reconnect test with split ring non-mergeable path and serv >set fwd mac >start tx_first 32 -5. Check the virtio-user side link status and run below command to get throughput,verify the loopback throughput is not zero:: +5. Check the virtio-user side link status and run below command to get throughput, check throughput can get expected:: testpmd> show port info 0 #it should show up" @@ -351,13 +363,13 @@ Test Case 6: loopback reconnect test with split ring non-mergeable path and serv >set fwd mac >start tx_first 32 -9. Check the vhost side link status and run below command to get throughput, verify the loopback throughput is not zero:: +9. Check the vhost side link status and run below command to get throughput, check throughput can get expected:: testpmd> show port info 0 #it should show up" testpmd>show port stats all -10. Port restart at vhost side by below command and re-calculate the average throughput:: +10. Port restart at vhost side by below command and check throughput can get expected:: testpmd>stop testpmd>port stop 0 @@ -380,13 +392,14 @@ Test Case 7: loopback reconnect test with split ring vector_rx path and server m >set fwd mac >start -2. Launch virtio-user as server mode with 2 queues:: +2. Launch virtio-user as server mode with 2 queues and check throughput can get expected:: ./testpmd -n 4 -l 5-7 --no-pci --file-prefix=virtio \ --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,server=1,queues=2,mrg_rxbuf=0,in_order=0,vectorized=1 \ -- -i --nb-cores=2 --rxq=2 --txq=2 >set fwd mac >start tx_first 32 + >show port stats all 3. Quit vhost side testpmd, check the virtio-user side link status:: @@ -400,7 +413,7 @@ Test Case 7: loopback reconnect test with split ring vector_rx path and server m >set fwd mac >start tx_first 32 -5. Check the virtio-user side link status and run below command to get throughput,verify the loopback throughput is not zero:: +5. Check the virtio-user side link status and run below command to get throughput, check throughput can get expected:: testpmd> show port info 0 #it should show up" @@ -423,13 +436,13 @@ Test Case 7: loopback reconnect test with split ring vector_rx path and server m >set fwd mac >start tx_first 32 -9. Check the vhost side link status and run below command to get throughput, verify the loopback throughput is not zero:: +9. Check the vhost side link status and run below command to get throughput, check throughput can get expected:: testpmd> show port info 0 #it should show up" testpmd>show port stats all -10. Port restart at vhost side by below command and re-calculate the average throughput:: +10. Port restart at vhost side by below command and check throughput can get expected:: testpmd>stop testpmd>port stop 0 @@ -452,13 +465,15 @@ Test Case 8: loopback reconnect test with packed ring mergeable path and server >set fwd mac >start -2. Launch virtio-user as server mode with 2 queues:: +2. Launch virtio-user as server mode with 2 queues and check throughput can get expected:: ./testpmd -n 4 -l 5-7 --no-pci --file-prefix=virtio \ --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,server=1,queues=2,packed_vq=1,mrg_rxbuf=1,in_order=0 \ -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip --nb-cores=2 --rxq=2 --txq=2 >set fwd mac + >set txpkts 2000,2000,2000,2000 >start tx_first 32 + >show port stats all 3. Quit vhost side testpmd, check the virtio-user side link status:: @@ -470,9 +485,10 @@ Test Case 8: loopback reconnect test with packed ring mergeable path and server ./testpmd -c 0xe -n 4 --no-pci --file-prefix=vhost \ --vdev 'eth_vhost0,iface=vhost-net,client=1,queues=2' -- -i --nb-cores=2 --rxq=2 --txq=2 >set fwd mac + >set txpkts 2000,2000,2000,2000 >start tx_first 32 -5. Check the virtio-user side link status and run below command to get throughput,verify the loopback throughput is not zero:: +5. Check the virtio-user side link status and run below command to get throughput, check throughput can get expected:: testpmd> show port info 0 #it should show up" @@ -493,19 +509,21 @@ Test Case 8: loopback reconnect test with packed ring mergeable path and server --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,server=1,queues=2,packed_vq=1,mrg_rxbuf=1,in_order=0 \ -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip --nb-cores=2 --rxq=2 --txq=2 >set fwd mac + >set txpkts 2000,2000,2000,2000 >start tx_first 32 -9. Check the vhost side link status and run below command to get throughput, verify the loopback throughput is not zero:: +9. Check the vhost side link status and run below command to get throughput, check throughput can get expected:: testpmd> show port info 0 #it should show up" testpmd>show port stats all -10. Port restart at vhost side by below command and re-calculate the average throughput:: +10. Port restart at vhost side by below command and check throughput can get expected:: testpmd>stop testpmd>port stop 0 testpmd>port start 0 + testpmd>set txpkts 2000,2000,2000,2000 testpmd>start tx_first 32 testpmd>show port stats all @@ -524,13 +542,14 @@ Test Case 9: loopback reconnect test with packed ring non-mergeable path and ser >set fwd mac >start -2. Launch virtio-user as server mode with 2 queues:: +2. Launch virtio-user as server mode with 2 queues and check throughput can get expected:: ./testpmd -n 4 -l 5-7 --no-pci --file-prefix=virtio \ --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,server=1,queues=2,packed_vq=1,mrg_rxbuf=0,in_order=0 \ -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip --nb-cores=2 --rxq=2 --txq=2 >set fwd mac >start tx_first 32 + >show port stats all 3. Quit vhost side testpmd, check the virtio-user side link status:: @@ -544,7 +563,7 @@ Test Case 9: loopback reconnect test with packed ring non-mergeable path and ser >set fwd mac >start tx_first 32 -5. Check the virtio-user side link status and run below command to get throughput,verify the loopback throughput is not zero:: +5. Check the virtio-user side link status and run below command to get throughput, check throughput can get expected:: testpmd> show port info 0 #it should show up" @@ -567,13 +586,13 @@ Test Case 9: loopback reconnect test with packed ring non-mergeable path and ser >set fwd mac >start tx_first 32 -9. Check the vhost side link status and run below command to get throughput, verify the loopback throughput is not zero:: +9. Check the vhost side link status and run below command to get throughput, check throughput can get expected:: testpmd> show port info 0 #it should show up" testpmd>show port stats all -10. Port restart at vhost side by below command and re-calculate the average throughput:: +10. Port restart at vhost side by below command and check throughput can get expected:: testpmd>stop testpmd>port stop 0 @@ -588,21 +607,23 @@ Test Case 9: loopback reconnect test with packed ring non-mergeable path and ser Test Case 10: loopback reconnect test with packed ring inorder mergeable path and server mode ============================================================================================= -1. launch vhost as client mode with 2 queues:: +1. launch vhost as client mode with 8 queues:: rm -rf vhost-net* ./testpmd -c 0xe -n 4 --no-pci --file-prefix=vhost \ - --vdev 'eth_vhost0,iface=vhost-net,client=1,queues=2' -- -i --nb-cores=2 --rxq=2 --txq=2 + --vdev 'eth_vhost0,iface=vhost-net,client=1,queues=8' -- -i --nb-cores=2 --rxq=8 --txq=8 >set fwd mac >start -2. Launch virtio-user as server mode with 2 queues:: +2. Launch virtio-user as server mode with 8 queues and check throughput can get expected:: ./testpmd -n 4 -l 5-7 --no-pci --file-prefix=virtio \ - --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,server=1,queues=2,packed_vq=1,mrg_rxbuf=1,in_order=1 \ - -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip --nb-cores=2 --rxq=2 --txq=2 + --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,server=1,queues=8,packed_vq=1,mrg_rxbuf=1,in_order=1 \ + -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip --nb-cores=2 --rxq=8 --txq=8 >set fwd mac + >set txpkts 2000,2000,2000,2000 >start tx_first 32 + >show port stats all 3. Quit vhost side testpmd, check the virtio-user side link status:: @@ -612,11 +633,12 @@ Test Case 10: loopback reconnect test with packed ring inorder mergeable path an 4. Relaunch vhost and send packets:: ./testpmd -c 0xe -n 4 --no-pci --file-prefix=vhost \ - --vdev 'eth_vhost0,iface=vhost-net,client=1,queues=2' -- -i --nb-cores=2 --rxq=2 --txq=2 + --vdev 'eth_vhost0,iface=vhost-net,client=1,queues=8' -- -i --nb-cores=2 --rxq=8 --txq=8 >set fwd mac + >set txpkts 2000,2000,2000,2000 >start tx_first 32 -5. Check the virtio-user side link status and run below command to get throughput,verify the loopback throughput is not zero:: +5. Check the virtio-user side link status and run below command to get throughput, check throughput can get expected:: testpmd> show port info 0 #it should show up" @@ -634,22 +656,24 @@ Test Case 10: loopback reconnect test with packed ring inorder mergeable path an 8. Relaunch virtio-user and send packets:: ./testpmd -n 4 -l 5-7 --no-pci --file-prefix=virtio \ - --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,server=1,queues=2,packed_vq=1,mrg_rxbuf=1,in_order=1 \ - -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip --nb-cores=2 --rxq=2 --txq=2 + --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,server=1,queues=8,packed_vq=1,mrg_rxbuf=1,in_order=1 \ + -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip --nb-cores=2 --rxq=8 --txq=8 >set fwd mac + >set txpkts 2000,2000,2000,2000 >start tx_first 32 -9. Check the vhost side link status and run below command to get throughput, verify the loopback throughput is not zero:: +9. Check the vhost side link status and run below command to get throughput, check throughput can get expected:: testpmd> show port info 0 #it should show up" testpmd>show port stats all -10. Port restart at vhost side by below command and re-calculate the average throughput:: +10. Port restart at vhost side by below command and check throughput can get expected:: testpmd>stop testpmd>port stop 0 testpmd>port start 0 + testpmd>set txpkts 2000,2000,2000,2000 testpmd>start tx_first 32 testpmd>show port stats all @@ -668,13 +692,14 @@ Test Case 11: loopback reconnect test with packed ring inorder non-mergeable pat >set fwd mac >start -2. Launch virtio-user as server mode with 2 queues:: +2. Launch virtio-user as server mode with 2 queues and check throughput can get expected:: ./testpmd -n 4 -l 5-7 --no-pci --file-prefix=virtio \ --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,server=1,queues=2,packed_vq=1,mrg_rxbuf=0,in_order=1,vectorized=1 \ -- -i --rx-offloads=0x10 --enable-hw-vlan-strip --rss-ip --nb-cores=2 --rxq=2 --txq=2 >set fwd mac >start tx_first 32 + >show port stats all 3. Quit vhost side testpmd, check the virtio-user side link status:: @@ -688,7 +713,7 @@ Test Case 11: loopback reconnect test with packed ring inorder non-mergeable pat >set fwd mac >start tx_first 32 -5. Check the virtio-user side link status and run below command to get throughput,verify the loopback throughput is not zero:: +5. Check the virtio-user side link status and run below command to get throughput, check throughput can get expected:: testpmd> show port info 0 #it should show up" @@ -711,13 +736,13 @@ Test Case 11: loopback reconnect test with packed ring inorder non-mergeable pat >set fwd mac >start tx_first 32 -9. Check the vhost side link status and run below command to get throughput, verify the loopback throughput is not zero:: +9. Check the vhost side link status and run below command to get throughput, check throughput can get expected:: testpmd> show port info 0 #it should show up" testpmd>show port stats all -10. Port restart at vhost side by below command and re-calculate the average throughput:: +10. Port restart at vhost side by below command and check throughput can get expected:: testpmd>stop testpmd>port stop 0 @@ -740,13 +765,14 @@ Test Case 12: loopback reconnect test with packed ring vectorized path and serve >set fwd mac >start -2. Launch virtio-user as server mode with 2 queues:: +2. Launch virtio-user as server mode with 2 queues and check throughput can get expected:: ./testpmd -n 4 -l 5-7 --log-level=pmd.net.virtio.driver,8 --no-pci --file-prefix=virtio --force-max-simd-bitwidth=512 \ --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,server=1,queues=2,packed_vq=1,mrg_rxbuf=0,in_order=1,vectorized=1 \ -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip --nb-cores=2 --rxq=2 --txq=2 >set fwd mac >start tx_first 32 + >show port stats all 3. Quit vhost side testpmd, check the virtio-user side link status:: @@ -760,7 +786,7 @@ Test Case 12: loopback reconnect test with packed ring vectorized path and serve >set fwd mac >start tx_first 32 -5. Check the virtio-user side link status and run below command to get throughput,verify the loopback throughput is not zero:: +5. Check the virtio-user side link status and run below command to get throughput, check throughput can get expected:: testpmd> show port info 0 #it should show up" @@ -783,13 +809,13 @@ Test Case 12: loopback reconnect test with packed ring vectorized path and serve >set fwd mac >start tx_first 32 -9. Check the vhost side link status and run below command to get throughput, verify the loopback throughput is not zero:: +9. Check the vhost side link status and run below command to get throughput, check throughput can get expected:: testpmd> show port info 0 #it should show up" testpmd>show port stats all -10. Port restart at vhost side by below command and re-calculate the average throughput:: +10. Port restart at vhost side by below command and check throughput can get expected:: testpmd>stop testpmd>port stop 0 -- 2.33.1