Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/104590/?format=api
http://patchwork.dpdk.org/api/patches/104590/?format=api", "web_url": "http://patchwork.dpdk.org/project/dts/patch/20211123154648.129079-2-linglix.chen@intel.com/", "project": { "id": 3, "url": "http://patchwork.dpdk.org/api/projects/3/?format=api", "name": "DTS", "link_name": "dts", "list_id": "dts.dpdk.org", "list_email": "dts@dpdk.org", "web_url": "", "scm_url": "git://dpdk.org/tools/dts", "webscm_url": "http://git.dpdk.org/tools/dts/", "list_archive_url": "https://inbox.dpdk.org/dts", "list_archive_url_format": "https://inbox.dpdk.org/dts/{}", "commit_url_format": "" }, "msgid": "<20211123154648.129079-2-linglix.chen@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dts/20211123154648.129079-2-linglix.chen@intel.com", "date": "2021-11-23T15:46:47", "name": "[V1,1/2] test_plans/loopback_virtio_user_server_mode: change cases from 2 queues to 8 queues", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "7a79b33a581dce1ee010259df7c69a08dfcfae14", "submitter": { "id": 1843, "url": "http://patchwork.dpdk.org/api/people/1843/?format=api", "name": "Lingli Chen", "email": "linglix.chen@intel.com" }, "delegate": null, "mbox": "http://patchwork.dpdk.org/project/dts/patch/20211123154648.129079-2-linglix.chen@intel.com/mbox/", "series": [ { "id": 20699, "url": "http://patchwork.dpdk.org/api/series/20699/?format=api", "web_url": "http://patchwork.dpdk.org/project/dts/list/?series=20699", "date": "2021-11-23T15:46:46", "name": "loopback_virtio_user_server_mode: modify for case coverage improvement", "version": 1, "mbox": "http://patchwork.dpdk.org/series/20699/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/104590/comments/", "check": "pending", "checks": "http://patchwork.dpdk.org/api/patches/104590/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dts-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 8EE83A0C4B;\n\tTue, 23 Nov 2021 08:46:09 +0100 (CET)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 815AD40DF5;\n\tTue, 23 Nov 2021 08:46:09 +0100 (CET)", "from mga03.intel.com (mga03.intel.com [134.134.136.65])\n by mails.dpdk.org (Postfix) with ESMTP id 98EC640E78\n for <dts@dpdk.org>; Tue, 23 Nov 2021 08:46:06 +0100 (CET)", "from fmsmga001.fm.intel.com ([10.253.24.23])\n by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 22 Nov 2021 23:46:06 -0800", "from unknown (HELO dpdk.lan) ([10.240.183.77])\n by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 22 Nov 2021 23:46:03 -0800" ], "X-IronPort-AV": [ "E=McAfee;i=\"6200,9189,10176\"; a=\"234919959\"", "E=Sophos;i=\"5.87,257,1631602800\"; d=\"scan'208\";a=\"234919959\"", "E=Sophos;i=\"5.87,257,1631602800\"; d=\"scan'208\";a=\"649986982\"" ], "From": "Lingli Chen <linglix.chen@intel.com>", "To": "dts@dpdk.org", "Cc": "Lingli Chen <linglix.chen@intel.com>", "Subject": "[dts][PATCH V1 1/2] test_plans/loopback_virtio_user_server_mode:\n change cases from 2 queues to 8 queues", "Date": "Tue, 23 Nov 2021 15:46:47 +0000", "Message-Id": "<20211123154648.129079-2-linglix.chen@intel.com>", "X-Mailer": "git-send-email 2.33.1", "In-Reply-To": "<20211123154648.129079-1-linglix.chen@intel.com>", "References": "<20211123154648.129079-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 <dts.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dts>,\n <mailto:dts-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dts/>", "List-Post": "<mailto:dts@dpdk.org>", "List-Help": "<mailto:dts-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dts>,\n <mailto:dts-request@dpdk.org?subject=subscribe>", "Errors-To": "dts-bounces@dpdk.org" }, "content": "1. change cases from 2 queues to 8 queues( maxime queue number supported) . \n2. forwarding packet size change from 64b to 8000b(due to testpmd usage limitation, sent 8000b packet by using 2000,2000,2000,2000) when test mergeable path, such can test mergeable feature more sufficient.\n\nSigned-off-by: Lingli Chen <linglix.chen@intel.com>\n---\n ...back_virtio_user_server_mode_test_plan.rst | 136 +++++++++++-------\n 1 file changed, 81 insertions(+), 55 deletions(-)", "diff": "diff --git a/test_plans/loopback_virtio_user_server_mode_test_plan.rst b/test_plans/loopback_virtio_user_server_mode_test_plan.rst\nindex 18d580f4..f3e9f1de 100644\n--- a/test_plans/loopback_virtio_user_server_mode_test_plan.rst\n+++ b/test_plans/loopback_virtio_user_server_mode_test_plan.rst\n@@ -84,35 +84,38 @@ Test Case 2: Basic test for split ring server mode\n Test Case 3: loopback reconnect test with split ring mergeable path and server mode\n ===================================================================================\n \n-1. launch vhost as client mode with 2 queues::\n+1. launch vhost as client mode with 8 queues::\n \n rm -rf vhost-net*\n ./testpmd -c 0xe -n 4 --no-pci --file-prefix=vhost \\\n- --vdev 'eth_vhost0,iface=vhost-net,client=1,queues=2' -- -i --nb-cores=2 --rxq=2 --txq=2\n+ --vdev 'eth_vhost0,iface=vhost-net,client=1,queues=8' -- -i --nb-cores=2 --rxq=8 --txq=8\n >set fwd mac\n >start\n \n-2. Launch virtio-user as server mode with 2 queues::\n+2. Launch virtio-user as server mode with 8 queues and check throughput can get expected::\n \n ./testpmd -n 4 -l 5-7 --no-pci --file-prefix=virtio \\\n- --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,server=1,queues=2,mrg_rxbuf=1,in_order=0 \\\n- -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip --nb-cores=2 --rxq=2 --txq=2\n+ --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,server=1,queues=8,mrg_rxbuf=1,in_order=0 \\\n+ -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip --nb-cores=2 --rxq=8 --txq=8\n >set fwd mac\n+ >set txpkts 2000,2000,2000,2000\n >start tx_first 32\n+ >show port stats all\n \n 3. Quit vhost side testpmd, check the virtio-user side link status::\n \n testpmd> show port info 0\n #it should show \"down\"\n \n-4. Relaunch vhost and send packets::\n+4. Relaunch vhost and send chain packets::\n \n ./testpmd -c 0xe -n 4 --no-pci --file-prefix=vhost \\\n- --vdev 'eth_vhost0,iface=vhost-net,client=1,queues=2' -- -i --nb-cores=2 --rxq=2 --txq=2\n+ --vdev 'eth_vhost0,iface=vhost-net,client=1,queues=8' -- -i --nb-cores=2 --rxq=8 --txq=8\n >set fwd mac\n+ >set txpkts 2000,2000,2000,2000\n >start tx_first 32\n \n-5. Check the virtio-user side link status and run below command to get throughput,verify the loopback throughput is not zero::\n+5. Check the virtio-user side link status and run below command to get throughput, check throughput can get expected::\n \n testpmd> show port info 0\n #it should show up\"\n@@ -130,22 +133,24 @@ Test Case 3: loopback reconnect test with split ring mergeable path and server m\n 8. Relaunch virtio-user and send packets::\n \n ./testpmd -n 4 -l 5-7 --no-pci --file-prefix=virtio \\\n- --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,server=1,queues=2,mrg_rxbuf=1,in_order=0 \\\n- -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip --nb-cores=2 --rxq=2 --txq=2\n+ --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,server=1,queues=8,mrg_rxbuf=1,in_order=0 \\\n+ -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip --nb-cores=2 --rxq=8 --txq=8\n >set fwd mac\n+ >set txpkts 2000,2000,2000,2000\n >start tx_first 32\n \n-9. Check the vhost side link status and run below command to get throughput, verify the loopback throughput is not zero::\n+9. Check the vhost side link status and run below command to get throughput, check throughput can get expected::\n \n testpmd> show port info 0\n #it should show up\"\n testpmd>show port stats all\n \n-10. Port restart at vhost side by below command and re-calculate the average throughput::\n+10. Port restart at vhost side by below command and check throughput can get expected::\n \n testpmd>stop\n testpmd>port stop 0\n testpmd>port start 0\n+ testpmd>set txpkts 2000,2000,2000,2000\n testpmd>start tx_first 32\n testpmd>show port stats all\n \n@@ -164,13 +169,15 @@ Test Case 4: loopback reconnect test with split ring inorder mergeable path and\n >set fwd mac\n >start\n \n-2. Launch virtio-user as server mode with 2 queues::\n+2. Launch virtio-user as server mode with 2 queues, check throughput can get expected::\n \n ./testpmd -n 4 -l 5-7 --no-pci --file-prefix=virtio \\\n --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,server=1,queues=2,mrg_rxbuf=1,in_order=1 \\\n -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip --nb-cores=2 --rxq=2 --txq=2\n >set fwd mac\n+ >set txpkts 2000,2000,2000,2000\n >start tx_first 32\n+ >show port stats all\n \n 3. Quit vhost side testpmd, check the virtio-user side link status::\n \n@@ -182,9 +189,10 @@ Test Case 4: loopback reconnect test with split ring inorder mergeable path and\n ./testpmd -c 0xe -n 4 --no-pci --file-prefix=vhost \\\n --vdev 'eth_vhost0,iface=vhost-net,client=1,queues=2' -- -i --nb-cores=2 --rxq=2 --txq=2\n >set fwd mac\n+ >set txpkts 2000,2000,2000,2000\n >start tx_first 32\n \n-5. Check the virtio-user side link status and run below command to get throughput,verify the loopback throughput is not zero::\n+5. Check the virtio-user side link status and run below command to get throughput, check throughput can get expected::\n \n testpmd> show port info 0\n #it should show up\"\n@@ -205,19 +213,21 @@ Test Case 4: loopback reconnect test with split ring inorder mergeable path and\n --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,server=1,queues=2,mrg_rxbuf=1,in_order=1\\\n -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip --nb-cores=2 --rxq=2 --txq=2\n >set fwd mac\n+ >set txpkts 2000,2000,2000,2000\n >start tx_first 32\n \n-9. Check the vhost side link status and run below command to get throughput, verify the loopback throughput is not zero::\n+9. Check the vhost side link status and run below command to get throughput, check throughput can get expected::\n \n testpmd> show port info 0\n #it should show up\"\n testpmd>show port stats all\n \n-10. Port restart at vhost side by below command and re-calculate the average throughput::\n+10. Port restart at vhost side by below command and check throughput can get expected::\n \n testpmd>stop\n testpmd>port stop 0\n testpmd>port start 0\n+ testpmd>set txpkts 2000,2000,2000,2000\n testpmd>start tx_first 32\n testpmd>show port stats all\n \n@@ -236,13 +246,14 @@ Test Case 5: loopback reconnect test with split ring inorder non-mergeable path\n >set fwd mac\n >start\n \n-2. Launch virtio-user as server mode with 2 queues::\n+2. Launch virtio-user as server mode with 2 queues check throughput can get expected::\n \n ./testpmd -n 4 -l 5-7 --no-pci --file-prefix=virtio \\\n --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,server=1,queues=2,mrg_rxbuf=0,in_order=1 \\\n -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip --nb-cores=2 --rxq=2 --txq=2\n >set fwd mac\n >start tx_first 32\n+ >show port stats all\n \n 3. Quit vhost side testpmd, check the virtio-user side link status::\n \n@@ -256,7 +267,7 @@ Test Case 5: loopback reconnect test with split ring inorder non-mergeable path\n >set fwd mac\n >start tx_first 32\n \n-5. Check the virtio-user side link status and run below command to get throughput,verify the loopback throughput is not zero::\n+5. Check the virtio-user side link status and run below command to get throughput, check throughput can get expected::\n \n testpmd> show port info 0\n #it should show up\"\n@@ -279,13 +290,13 @@ Test Case 5: loopback reconnect test with split ring inorder non-mergeable path\n >set fwd mac\n >start tx_first 32\n \n-9. Check the vhost side link status and run below command to get throughput, verify the loopback throughput is not zero::\n+9. Check the vhost side link status and run below command to get throughput, check throughput can get expected::\n \n testpmd> show port info 0\n #it should show up\"\n testpmd>show port stats all\n \n-10. Port restart at vhost side by below command and re-calculate the average throughput::\n+10. Port restart at vhost side by below command and check throughput can get expected::\n \n testpmd>stop\n testpmd>port stop 0\n@@ -308,13 +319,14 @@ Test Case 6: loopback reconnect test with split ring non-mergeable path and serv\n >set fwd mac\n >start\n \n-2. Launch virtio-user as server mode with 2 queues::\n+2. Launch virtio-user as server mode with 2 queues and check throughput can get expected::\n \n ./testpmd -n 4 -l 5-7 --no-pci --file-prefix=virtio \\\n --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 \\\n -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip --nb-cores=2 --rxq=2 --txq=2\n >set fwd mac\n >start tx_first 32\n+ >show port stats all\n \n 3. Quit vhost side testpmd, check the virtio-user side link status::\n \n@@ -328,7 +340,7 @@ Test Case 6: loopback reconnect test with split ring non-mergeable path and serv\n >set fwd mac\n >start tx_first 32\n \n-5. Check the virtio-user side link status and run below command to get throughput,verify the loopback throughput is not zero::\n+5. Check the virtio-user side link status and run below command to get throughput, check throughput can get expected::\n \n testpmd> show port info 0\n #it should show up\"\n@@ -351,13 +363,13 @@ Test Case 6: loopback reconnect test with split ring non-mergeable path and serv\n >set fwd mac\n >start tx_first 32\n \n-9. Check the vhost side link status and run below command to get throughput, verify the loopback throughput is not zero::\n+9. Check the vhost side link status and run below command to get throughput, check throughput can get expected::\n \n testpmd> show port info 0\n #it should show up\"\n testpmd>show port stats all\n \n-10. Port restart at vhost side by below command and re-calculate the average throughput::\n+10. Port restart at vhost side by below command and check throughput can get expected::\n \n testpmd>stop\n testpmd>port stop 0\n@@ -380,13 +392,14 @@ Test Case 7: loopback reconnect test with split ring vector_rx path and server m\n >set fwd mac\n >start\n \n-2. Launch virtio-user as server mode with 2 queues::\n+2. Launch virtio-user as server mode with 2 queues and check throughput can get expected::\n \n ./testpmd -n 4 -l 5-7 --no-pci --file-prefix=virtio \\\n --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 \\\n -- -i --nb-cores=2 --rxq=2 --txq=2\n >set fwd mac\n >start tx_first 32\n+ >show port stats all\n \n 3. Quit vhost side testpmd, check the virtio-user side link status::\n \n@@ -400,7 +413,7 @@ Test Case 7: loopback reconnect test with split ring vector_rx path and server m\n >set fwd mac\n >start tx_first 32\n \n-5. Check the virtio-user side link status and run below command to get throughput,verify the loopback throughput is not zero::\n+5. Check the virtio-user side link status and run below command to get throughput, check throughput can get expected::\n \n testpmd> show port info 0\n #it should show up\"\n@@ -423,13 +436,13 @@ Test Case 7: loopback reconnect test with split ring vector_rx path and server m\n >set fwd mac\n >start tx_first 32\n \n-9. Check the vhost side link status and run below command to get throughput, verify the loopback throughput is not zero::\n+9. Check the vhost side link status and run below command to get throughput, check throughput can get expected::\n \n testpmd> show port info 0\n #it should show up\"\n testpmd>show port stats all\n \n-10. Port restart at vhost side by below command and re-calculate the average throughput::\n+10. Port restart at vhost side by below command and check throughput can get expected::\n \n testpmd>stop\n testpmd>port stop 0\n@@ -452,13 +465,15 @@ Test Case 8: loopback reconnect test with packed ring mergeable path and server\n >set fwd mac\n >start\n \n-2. Launch virtio-user as server mode with 2 queues::\n+2. Launch virtio-user as server mode with 2 queues and check throughput can get expected::\n \n ./testpmd -n 4 -l 5-7 --no-pci --file-prefix=virtio \\\n --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 \\\n -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip --nb-cores=2 --rxq=2 --txq=2\n >set fwd mac\n+ >set txpkts 2000,2000,2000,2000\n >start tx_first 32\n+ >show port stats all\n \n 3. Quit vhost side testpmd, check the virtio-user side link status::\n \n@@ -470,9 +485,10 @@ Test Case 8: loopback reconnect test with packed ring mergeable path and server\n ./testpmd -c 0xe -n 4 --no-pci --file-prefix=vhost \\\n --vdev 'eth_vhost0,iface=vhost-net,client=1,queues=2' -- -i --nb-cores=2 --rxq=2 --txq=2\n >set fwd mac\n+ >set txpkts 2000,2000,2000,2000\n >start tx_first 32\n \n-5. Check the virtio-user side link status and run below command to get throughput,verify the loopback throughput is not zero::\n+5. Check the virtio-user side link status and run below command to get throughput, check throughput can get expected::\n \n testpmd> show port info 0\n #it should show up\"\n@@ -493,19 +509,21 @@ Test Case 8: loopback reconnect test with packed ring mergeable path and server\n --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 \\\n -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip --nb-cores=2 --rxq=2 --txq=2\n >set fwd mac\n+ >set txpkts 2000,2000,2000,2000\n >start tx_first 32\n \n-9. Check the vhost side link status and run below command to get throughput, verify the loopback throughput is not zero::\n+9. Check the vhost side link status and run below command to get throughput, check throughput can get expected::\n \n testpmd> show port info 0\n #it should show up\"\n testpmd>show port stats all\n \n-10. Port restart at vhost side by below command and re-calculate the average throughput::\n+10. Port restart at vhost side by below command and check throughput can get expected::\n \n testpmd>stop\n testpmd>port stop 0\n testpmd>port start 0\n+ testpmd>set txpkts 2000,2000,2000,2000\n testpmd>start tx_first 32\n testpmd>show port stats all\n \n@@ -524,13 +542,14 @@ Test Case 9: loopback reconnect test with packed ring non-mergeable path and ser\n >set fwd mac\n >start\n \n-2. Launch virtio-user as server mode with 2 queues::\n+2. Launch virtio-user as server mode with 2 queues and check throughput can get expected::\n \n ./testpmd -n 4 -l 5-7 --no-pci --file-prefix=virtio \\\n --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 \\\n -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip --nb-cores=2 --rxq=2 --txq=2\n >set fwd mac\n >start tx_first 32\n+ >show port stats all\n \n 3. Quit vhost side testpmd, check the virtio-user side link status::\n \n@@ -544,7 +563,7 @@ Test Case 9: loopback reconnect test with packed ring non-mergeable path and ser\n >set fwd mac\n >start tx_first 32\n \n-5. Check the virtio-user side link status and run below command to get throughput,verify the loopback throughput is not zero::\n+5. Check the virtio-user side link status and run below command to get throughput, check throughput can get expected::\n \n testpmd> show port info 0\n #it should show up\"\n@@ -567,13 +586,13 @@ Test Case 9: loopback reconnect test with packed ring non-mergeable path and ser\n >set fwd mac\n >start tx_first 32\n \n-9. Check the vhost side link status and run below command to get throughput, verify the loopback throughput is not zero::\n+9. Check the vhost side link status and run below command to get throughput, check throughput can get expected::\n \n testpmd> show port info 0\n #it should show up\"\n testpmd>show port stats all\n \n-10. Port restart at vhost side by below command and re-calculate the average throughput::\n+10. Port restart at vhost side by below command and check throughput can get expected::\n \n testpmd>stop\n testpmd>port stop 0\n@@ -588,21 +607,23 @@ Test Case 9: loopback reconnect test with packed ring non-mergeable path and ser\n Test Case 10: loopback reconnect test with packed ring inorder mergeable path and server mode\n =============================================================================================\n \n-1. launch vhost as client mode with 2 queues::\n+1. launch vhost as client mode with 8 queues::\n \n rm -rf vhost-net*\n ./testpmd -c 0xe -n 4 --no-pci --file-prefix=vhost \\\n- --vdev 'eth_vhost0,iface=vhost-net,client=1,queues=2' -- -i --nb-cores=2 --rxq=2 --txq=2\n+ --vdev 'eth_vhost0,iface=vhost-net,client=1,queues=8' -- -i --nb-cores=2 --rxq=8 --txq=8\n >set fwd mac\n >start\n \n-2. Launch virtio-user as server mode with 2 queues::\n+2. Launch virtio-user as server mode with 8 queues and check throughput can get expected::\n \n ./testpmd -n 4 -l 5-7 --no-pci --file-prefix=virtio \\\n- --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 \\\n- -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip --nb-cores=2 --rxq=2 --txq=2\n+ --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 \\\n+ -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip --nb-cores=2 --rxq=8 --txq=8\n >set fwd mac\n+ >set txpkts 2000,2000,2000,2000\n >start tx_first 32\n+ >show port stats all\n \n 3. Quit vhost side testpmd, check the virtio-user side link status::\n \n@@ -612,11 +633,12 @@ Test Case 10: loopback reconnect test with packed ring inorder mergeable path an\n 4. Relaunch vhost and send packets::\n \n ./testpmd -c 0xe -n 4 --no-pci --file-prefix=vhost \\\n- --vdev 'eth_vhost0,iface=vhost-net,client=1,queues=2' -- -i --nb-cores=2 --rxq=2 --txq=2\n+ --vdev 'eth_vhost0,iface=vhost-net,client=1,queues=8' -- -i --nb-cores=2 --rxq=8 --txq=8\n >set fwd mac\n+ >set txpkts 2000,2000,2000,2000\n >start tx_first 32\n \n-5. Check the virtio-user side link status and run below command to get throughput,verify the loopback throughput is not zero::\n+5. Check the virtio-user side link status and run below command to get throughput, check throughput can get expected::\n \n testpmd> show port info 0\n #it should show up\"\n@@ -634,22 +656,24 @@ Test Case 10: loopback reconnect test with packed ring inorder mergeable path an\n 8. Relaunch virtio-user and send packets::\n \n ./testpmd -n 4 -l 5-7 --no-pci --file-prefix=virtio \\\n- --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 \\\n- -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip --nb-cores=2 --rxq=2 --txq=2\n+ --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 \\\n+ -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip --nb-cores=2 --rxq=8 --txq=8\n >set fwd mac\n+ >set txpkts 2000,2000,2000,2000\n >start tx_first 32\n \n-9. Check the vhost side link status and run below command to get throughput, verify the loopback throughput is not zero::\n+9. Check the vhost side link status and run below command to get throughput, check throughput can get expected::\n \n testpmd> show port info 0\n #it should show up\"\n testpmd>show port stats all\n \n-10. Port restart at vhost side by below command and re-calculate the average throughput::\n+10. Port restart at vhost side by below command and check throughput can get expected::\n \n testpmd>stop\n testpmd>port stop 0\n testpmd>port start 0\n+ testpmd>set txpkts 2000,2000,2000,2000\n testpmd>start tx_first 32\n testpmd>show port stats all\n \n@@ -668,13 +692,14 @@ Test Case 11: loopback reconnect test with packed ring inorder non-mergeable pat\n >set fwd mac\n >start\n \n-2. Launch virtio-user as server mode with 2 queues::\n+2. Launch virtio-user as server mode with 2 queues and check throughput can get expected::\n \n ./testpmd -n 4 -l 5-7 --no-pci --file-prefix=virtio \\\n --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 \\\n -- -i --rx-offloads=0x10 --enable-hw-vlan-strip --rss-ip --nb-cores=2 --rxq=2 --txq=2\n >set fwd mac\n >start tx_first 32\n+ >show port stats all\n \n 3. Quit vhost side testpmd, check the virtio-user side link status::\n \n@@ -688,7 +713,7 @@ Test Case 11: loopback reconnect test with packed ring inorder non-mergeable pat\n >set fwd mac\n >start tx_first 32\n \n-5. Check the virtio-user side link status and run below command to get throughput,verify the loopback throughput is not zero::\n+5. Check the virtio-user side link status and run below command to get throughput, check throughput can get expected::\n \n testpmd> show port info 0\n #it should show up\"\n@@ -711,13 +736,13 @@ Test Case 11: loopback reconnect test with packed ring inorder non-mergeable pat\n >set fwd mac\n >start tx_first 32\n \n-9. Check the vhost side link status and run below command to get throughput, verify the loopback throughput is not zero::\n+9. Check the vhost side link status and run below command to get throughput, check throughput can get expected::\n \n testpmd> show port info 0\n #it should show up\"\n testpmd>show port stats all\n \n-10. Port restart at vhost side by below command and re-calculate the average throughput::\n+10. Port restart at vhost side by below command and check throughput can get expected::\n \n testpmd>stop\n testpmd>port stop 0\n@@ -740,13 +765,14 @@ Test Case 12: loopback reconnect test with packed ring vectorized path and serve\n >set fwd mac\n >start\n \n-2. Launch virtio-user as server mode with 2 queues::\n+2. Launch virtio-user as server mode with 2 queues and check throughput can get expected::\n \n ./testpmd -n 4 -l 5-7 --log-level=pmd.net.virtio.driver,8 --no-pci --file-prefix=virtio --force-max-simd-bitwidth=512 \\\n --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 \\\n -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip --nb-cores=2 --rxq=2 --txq=2\n >set fwd mac\n >start tx_first 32\n+ >show port stats all\n \n 3. Quit vhost side testpmd, check the virtio-user side link status::\n \n@@ -760,7 +786,7 @@ Test Case 12: loopback reconnect test with packed ring vectorized path and serve\n >set fwd mac\n >start tx_first 32\n \n-5. Check the virtio-user side link status and run below command to get throughput,verify the loopback throughput is not zero::\n+5. Check the virtio-user side link status and run below command to get throughput, check throughput can get expected::\n \n testpmd> show port info 0\n #it should show up\"\n@@ -783,13 +809,13 @@ Test Case 12: loopback reconnect test with packed ring vectorized path and serve\n >set fwd mac\n >start tx_first 32\n \n-9. Check the vhost side link status and run below command to get throughput, verify the loopback throughput is not zero::\n+9. Check the vhost side link status and run below command to get throughput, check throughput can get expected::\n \n testpmd> show port info 0\n #it should show up\"\n testpmd>show port stats all\n \n-10. Port restart at vhost side by below command and re-calculate the average throughput::\n+10. Port restart at vhost side by below command and check throughput can get expected::\n \n testpmd>stop\n testpmd>port stop 0\n", "prefixes": [ "V1", "1/2" ] }{ "id": 104590, "url": "