Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/109069/?format=api
https://patches.dpdk.org/api/patches/109069/?format=api", "web_url": "https://patches.dpdk.org/project/dts/patch/20220401101026.48960-1-weix.ling@intel.com/", "project": { "id": 3, "url": "https://patches.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": "<20220401101026.48960-1-weix.ling@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dts/20220401101026.48960-1-weix.ling@intel.com", "date": "2022-04-01T10:10:26", "name": "[V1,1/5] test_plans/vm2vm_virtio_user_test_plan: delete case 12-23", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": false, "hash": "f023e338df2a2d8add3cdd338257d292b38c3be0", "submitter": { "id": 1828, "url": "https://patches.dpdk.org/api/people/1828/?format=api", "name": "Ling, WeiX", "email": "weix.ling@intel.com" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dts/patch/20220401101026.48960-1-weix.ling@intel.com/mbox/", "series": [ { "id": 22315, "url": "https://patches.dpdk.org/api/series/22315/?format=api", "web_url": "https://patches.dpdk.org/project/dts/list/?series=22315", "date": "2022-04-01T10:10:17", "name": "update testplan and testsuite by DPDK", "version": 1, "mbox": "https://patches.dpdk.org/series/22315/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/109069/comments/", "check": "pending", "checks": "https://patches.dpdk.org/api/patches/109069/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 D3033A0507;\n\tFri, 1 Apr 2022 12:10:36 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id C990F42913;\n\tFri, 1 Apr 2022 12:10:36 +0200 (CEST)", "from mga12.intel.com (mga12.intel.com [192.55.52.136])\n by mails.dpdk.org (Postfix) with ESMTP id EDD764067E\n for <dts@dpdk.org>; Fri, 1 Apr 2022 12:10:33 +0200 (CEST)", "from orsmga008.jf.intel.com ([10.7.209.65])\n by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 01 Apr 2022 03:10:32 -0700", "from unknown (HELO localhost.localdomain) ([10.239.251.222])\n by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 01 Apr 2022 03:10:30 -0700" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1648807834; x=1680343834;\n h=from:to:cc:subject:date:message-id:mime-version:\n content-transfer-encoding;\n bh=/ER2piSBe+0ihDXJeoYtIj8uFNbz+9p55BAehwahXTY=;\n b=cnqtUQ94Gvu3FCt3HonjPkufvvLdkkRK3o8R+3fTWQoPeNOsW/9PYzzp\n oTsrvkW9VEJakzqfA44zLaJJycB+g4pUMpt8k01HKFwsGtAA5LM1sYFYk\n 7VQzdPEI67sEC3VljrZxl5QBTmL3FchJmz9P0YMklAS97vmIBMsIM1Jo8\n R+6J2KJIO4F11Hwy1D4FPy8K2KLwgiuWq0FcIRh4+IYvShHYEri2/Dg2M\n pokO2SdbefbtURsNW/5WDnR6WUxMFOg40YWJwgd9nv+aZufAo3ii+cloJ\n ZEeUX6h90WSnYczVkndmQe1iRpsoW1xx1qtQRWodrZRariamk4nl/MBMj g==;", "X-IronPort-AV": [ "E=McAfee;i=\"6200,9189,10303\"; a=\"240033963\"", "E=Sophos;i=\"5.90,227,1643702400\"; d=\"scan'208\";a=\"240033963\"", "E=Sophos;i=\"5.90,227,1643702400\"; d=\"scan'208\";a=\"567359809\"" ], "From": "Wei Ling <weix.ling@intel.com>", "To": "dts@dpdk.org", "Cc": "Wei Ling <weix.ling@intel.com>", "Subject": "[dts][PATCH V1 1/5] test_plans/vm2vm_virtio_user_test_plan: delete\n case 12-23", "Date": "Fri, 1 Apr 2022 18:10:26 +0800", "Message-Id": "<20220401101026.48960-1-weix.ling@intel.com>", "X-Mailer": "git-send-email 2.25.1", "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": "As commit 53d3f4778c(vhost: integrate dmadev in asynchronous data-path),\ndelete cbdma related case 12-23 form tests/vm2vm_virtio_user_test_plan.\n\nSigned-off-by: Wei Ling <weix.ling@intel.com>\n---\n test_plans/vm2vm_virtio_user_test_plan.rst | 803 +--------------------\n 1 file changed, 1 insertion(+), 802 deletions(-)", "diff": "diff --git a/test_plans/vm2vm_virtio_user_test_plan.rst b/test_plans/vm2vm_virtio_user_test_plan.rst\nindex c3aa328e..ece1864d 100644\n--- a/test_plans/vm2vm_virtio_user_test_plan.rst\n+++ b/test_plans/vm2vm_virtio_user_test_plan.rst\n@@ -793,808 +793,7 @@ Test Case 11: packed virtqueue vm2vm vectorized path test with ring size is not\n \n 9. Quit pdump,vhost received packets in pdump-vhost-rx.pcap,check headers and payload of all packets in pdump-virtio-rx.pcap and pdump-vhost-rx.pcap and ensure the content are same.\n \n-Test Case 12: split virtqueue vm2vm non-mergeable path multi-queues payload check with cbdma enabled\n-====================================================================================================\n-\n-1. bind 4 cbdma port to vfio-pci and launch vhost by below command::\n-\n- ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 \\\n- --vdev 'eth_vhost0,iface=vhost-net,queues=2,client=1,dmas=[txq0@0000:80:04.0;txq1@0000:80:04.1]' --vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0@0000:80:04.2;txq1@0000:80:04.3]' \\\n- --iova=va -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096 --no-flush-rx\n- testpmd>vhost enable tx all\n-\n-2. Launch virtio-user1 by below command::\n-\n- ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 \\\n- --no-pci --file-prefix=virtio1 \\\n- --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 \\\n- -- -i --enable-hw-vlan-strip --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096\n- testpmd>set fwd rxonly\n- testpmd>start\n-\n-3. Attach pdump secondary process to primary process by same file-prefix::\n-\n- ./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'\n-\n-4. Launch virtio-user0 and send packets::\n-\n- ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 \\\n- --no-pci --file-prefix=virtio \\\n- --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 \\\n- -- -i --enable-hw-vlan-strip --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096\n- testpmd>set burst 1\n- testpmd>set txpkts 64,128,256,512\n- testpmd>start tx_first 27\n- testpmd>stop\n- testpmd>set burst 32\n- testpmd>start tx_first 7\n- testpmd>stop\n- testpmd>set txpkts 64\n- testpmd>start tx_first 1\n- testpmd>stop\n-\n-5. Start vhost testpmd, check virtio-user1 RX-packets is 566 and RX-bytes is 486016, 502 packets with 960 length and 64 packets with 64 length in pdump-virtio-rx.pcap.\n-\n-6. Clear virtio-user1 port stats::\n-\n- testpmd>stop\n- testpmd>clear port stats all\n- testpmd>start\n-\n-7. Quit and relaunch vhost with iova=pa by below command::\n-\n- ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 \\\n- --vdev 'eth_vhost0,iface=vhost-net,queues=2,client=1,dmas=[txq0@0000:80:04.0;txq1@0000:80:04.1]' --vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0@0000:80:04.2;txq1@0000:80:04.3]' \\\n- --iova=pa -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096 --no-flush-rx\n- testpmd>vhost enable tx all\n-\n-8. Attach pdump secondary process to primary process by same file-prefix::\n-\n- ./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'\n-\n-9. Virtio-user0 send packets::\n-\n- testpmd>set burst 1\n- testpmd>set txpkts 64,128,256,512\n- testpmd>start tx_first 27\n- testpmd>stop\n- testpmd>set burst 32\n- testpmd>start tx_first 7\n- testpmd>stop\n- testpmd>set txpkts 64\n- testpmd>start tx_first 1\n- testpmd>stop\n-\n-10. Rerun step 5.\n-\n-Test Case 13: split virtqueue vm2vm mergeable path multi-queues payload check with cbdma enabled\n-================================================================================================\n-\n-1. Launch vhost by below command::\n-\n- ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 \\\n- --vdev 'eth_vhost0,iface=vhost-net,queues=2,client=1,dmas=[txq0@0000:00:04.0;txq1@0000:00:04.1]' --vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0@0000:00:04.2;txq1@0000:00:04.3]' \\\n- --iova=va -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096 --no-flush-rx\n- testpmd>vhost enable tx all\n-\n-2. Launch virtio-user1 by below command::\n-\n- ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 \\\n- --no-pci --file-prefix=virtio1 \\\n- --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 \\\n- -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096\n- testpmd>set fwd rxonly\n- testpmd>start\n-\n-3. Attach pdump secondary process to primary process by same file-prefix::\n-\n- ./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'\n-\n-4. Launch virtio-user0 and send packets::\n-\n- ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 \\\n- --no-pci --file-prefix=virtio \\\n- --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 \\\n- -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096\n- testpmd>set burst 1\n- testpmd>set txpkts 64,256,2000,64,256,2000\n- testpmd>start tx_first 27\n- testpmd>stop\n- testpmd>set burst 32\n- testpmd>set txpkts 64\n- testpmd>start tx_first 7\n- testpmd>stop\n-\n-5. Start vhost testpmd, check 502 packets and 279232 bytes received by virtio-user1 and 54 packets with 4640 length and 448 packets with 64 length in pdump-virtio-rx.pcap.\n-\n-6. Clear virtio-user1 port stats::\n-\n- testpmd>stop\n- testpmd>clear port stats all\n- testpmd>start\n-\n-7. Quit and relaunch vhost with iova=pa by below command::\n-\n- ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 \\\n- --vdev 'eth_vhost0,iface=vhost-net,queues=2,client=1,dmas=[txq0@0000:00:04.0;txq1@0000:00:04.1]' --vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0@0000:00:04.2;txq1@0000:00:04.3]' \\\n- --iova=pa -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096 --no-flush-rx\n- testpmd>vhost enable tx all\n-\n-8. Attach pdump secondary process to primary process by same file-prefix::\n-\n- ./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'\n-\n-9. Virtio-user0 send packets::\n-\n- testpmd>set burst 1\n- testpmd>set txpkts 64,256,2000,64,256,2000\n- testpmd>start tx_first 27\n- testpmd>stop\n- testpmd>set burst 32\n- testpmd>set txpkts 64\n- testpmd>start tx_first 7\n- testpmd>stop\n-\n-10. Rerun step 5.\n-\n-Test Case 14: split virtqueue vm2vm inorder non-mergeable path multi-queues payload check with cbdma enabled\n-============================================================================================================\n-\n-1. Launch vhost by below command::\n-\n- ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 \\\n- --vdev 'eth_vhost0,iface=vhost-net,queues=2,client=1,dmas=[txq0@0000:00:04.0;txq1@0000:00:04.1]' --vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0@0000:00:04.2;txq1@0000:00:04.3]' \\\n- --iova=va -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096 --no-flush-rx\n- testpmd>vhost enable tx all\n-\n-2. Launch virtio-user1 by below command::\n-\n- ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 \\\n- --no-pci --file-prefix=virtio1 \\\n- --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=1,queue_size=4096 \\\n- -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096\n- testpmd>set fwd rxonly\n- testpmd>start\n-\n-3. Attach pdump secondary process to primary process by same file-prefix::\n-\n- ./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'\n-\n-4. Launch virtio-user0 and send packets::\n-\n- ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 \\\n- --no-pci --file-prefix=virtio \\\n- --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=1,queue_size=4096 \\\n- -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096\n- testpmd>set burst 1\n- testpmd>set txpkts 64,256,2000,64,256,2000\n- testpmd>start tx_first 27\n- testpmd>stop\n- testpmd>set burst 32\n- testpmd>set txpkts 64\n- testpmd>start tx_first 7\n- testpmd>stop\n-\n-5. Start vhost testpmd, check 448 packets and 28672 bytes received by virtio-user1 and 448 packets with 64 length in pdump-virtio-rx.pcap.\n-\n-6. Clear virtio-user1 port stats::\n-\n- testpmd>stop\n- testpmd>clear port stats all\n- testpmd>start\n-\n-7. Quit and relaunch vhost with iova=pa by below command::\n-\n- ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 \\\n- --vdev 'eth_vhost0,iface=vhost-net,queues=2,client=1,dmas=[txq0@0000:00:04.0;txq1@0000:00:04.1]' --vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0@0000:00:04.2;txq1@0000:00:04.3]' \\\n- --iova=pa -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096 --no-flush-rx\n- testpmd>vhost enable tx all\n-\n-8. Attach pdump secondary process to primary process by same file-prefix::\n-\n- ./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'\n-\n-9. Virtio-user0 send packets::\n-\n- testpmd>set burst 1\n- testpmd>set txpkts 64,256,2000,64,256,2000\n- testpmd>start tx_first 27\n- testpmd>stop\n- testpmd>set burst 32\n- testpmd>set txpkts 64\n- testpmd>start tx_first 7\n- testpmd>stop\n-\n-10. Rerun step 5.\n-\n-Test Case 15: split virtqueue vm2vm vectorized path multi-queues payload check with cbdma enabled\n-==================================================================================================\n-\n-1. Launch vhost by below command::\n-\n- ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 \\\n- --vdev 'eth_vhost0,iface=vhost-net,queues=2,client=1,dmas=[txq0@0000:00:04.0;txq1@0000:00:04.1]' --vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0@0000:00:04.2;txq1@0000:00:04.3]' \\\n- --iova=va -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096 --no-flush-rx\n- testpmd>vhost enable tx all\n-\n-2. Launch virtio-user1 by below command::\n-\n- ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 --no-pci --file-prefix=virtio1 \\\n- --vdev=net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=2,server=1,mrg_rxbuf=0,in_order=0,vectorized=1,queue_size=4096 \\\n- -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096\n- testpmd>set fwd rxonly\n- testpmd>start\n-\n-3. Attach pdump secondary process to primary process by same file-prefix::\n-\n- ./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'\n-\n-4. Launch virtio-user0 and send packets::\n-\n- ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 --no-pci --file-prefix=virtio \\\n- --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 \\\n- -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096\n- testpmd>set burst 32\n- testpmd>set txpkts 64\n- testpmd>start tx_first 7\n- testpmd>stop\n- testpmd>set burst 1\n- testpmd>set txpkts 64,256,2000,64,256,2000\n- testpmd>start tx_first 27\n- testpmd>stop\n-\n-5. Start vhost testpmd, check 448 packets and 28672 bytes received by virtio-user1 and 448 packets with 64 length in pdump-virtio-rx.pcap.\n-\n-6. Clear virtio-user1 port stats::\n-\n- testpmd>stop\n- testpmd>clear port stats all\n- testpmd>start\n-\n-7. Quit and relaunch vhost with iova=pa by below command::\n-\n- ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 \\\n- --vdev 'eth_vhost0,iface=vhost-net,queues=2,client=1,dmas=[txq0@0000:00:04.0;txq1@0000:00:04.1]' --vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0@0000:00:04.2;txq1@0000:00:04.3]' \\\n- --iova=pa -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096 --no-flush-rx\n- testpmd>vhost enable tx all\n-\n-8. Attach pdump secondary process to primary process by same file-prefix::\n-\n- ./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'\n-\n-9. Virtio-user0 send packets::\n-\n- testpmd>set burst 32\n- testpmd>set txpkts 64\n- testpmd>start tx_first 7\n- testpmd>stop\n- testpmd>set burst 1\n- testpmd>set txpkts 64,256,2000,64,256,2000\n- testpmd>start tx_first 27\n- testpmd>stop\n-\n-10. Rerun step 5.\n-\n-Test Case 16: Split virtqueue vm2vm inorder mergeable path test non-indirect descriptor with cbdma enable\n-=========================================================================================================\n-\n-1. Launch testpmd by below command::\n-\n- ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 \\\n- --vdev 'eth_vhost0,iface=vhost-net,queues=2,client=1,dmas=[txq0@0000:00:04.0;txq1@0000:00:04.1]' --vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0@0000:00:04.2;txq1@0000:00:04.3]' \\\n- --iova=va -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=256 --rxd=256 --no-flush-rx\n- testpmd>vhost enable tx all\n-\n-2. Launch virtio-user1 by below command::\n-\n- ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 \\\n- --no-pci --file-prefix=virtio1 \\\n- --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=1,queue_size=256 \\\n- -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=256 --rxd=256\n- testpmd>set fwd rxonly\n- testpmd>start\n-\n-3. Attach pdump secondary process to primary process by same file-prefix::\n-\n- ./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'\n-\n-4. Launch virtio-user0 and send packets(include 251 small packets and 32 8K packets)::\n-\n- ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 \\\n- --no-pci --file-prefix=virtio \\\n- --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=1,queue_size=256 \\\n- -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=256 --rxd=256\n- testpmd>set burst 1\n- testpmd>start tx_first 27\n- testpmd>stop\n- testpmd>set burst 32\n- testpmd>start tx_first 7\n- testpmd>stop\n- testpmd>set txpkts 2000,2000,2000,2000\n- testpmd>start tx_first 1\n- testpmd>stop\n-\n-5. Start vhost, then quit pdump and three testpmd, about split virtqueue inorder mergeable path, it use the non-indirect descriptors, the 8k length pkt will occupies 5 ring:2000,2000,2000,2000 will need 4 consequent ring,\n-still need one ring put header. So check 504 packets and 48128 bytes received by virtio-user1 and 502 packets with 64 length and 2 packets with 8K length in pdump-virtio-rx.pcap.\n-\n-6. Relaunch vhost with iova=pa by below command::\n-\n- ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 \\\n- --vdev 'eth_vhost0,iface=vhost-net,queues=2,client=1,dmas=[txq0@0000:00:04.0;txq1@0000:00:04.1]' --vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0@0000:00:04.2;txq1@0000:00:04.3]' \\\n- --iova=pa -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=256 --rxd=256 --no-flush-rx\n- testpmd>vhost enable tx all\n-\n-7. Rerun step 2-5.\n-\n-Test Case 17: Split virtqueue vm2vm mergeable path test indirect descriptor with cbdma enable\n-=============================================================================================\n-\n-1. Launch testpmd by below command::\n-\n- ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 \\\n- --vdev 'eth_vhost0,iface=vhost-net,queues=2,client=1,dmas=[txq0@0000:00:04.0;txq1@0000:00:04.1]' --vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0@0000:00:04.2;txq1@0000:00:04.3]' \\\n- --iova=va -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=256 --rxd=256 --no-flush-rx\n- testpmd>vhost enable tx all\n-\n-2. Launch virtio-user1 by below command::\n-\n- ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 \\\n- --no-pci --file-prefix=virtio1 \\\n- --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=256 \\\n- -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=256 --rxd=256\n- testpmd>set fwd rxonly\n- testpmd>start\n-\n-3. Attach pdump secondary process to primary process by same file-prefix::\n-\n- ./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'\n-\n-4. Launch virtio-user0 and send packets(include 251 small packets and 32 8K packets)::\n-\n- ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 \\\n- --no-pci --file-prefix=virtio \\\n- --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=256 \\\n- -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=256 --rxd=256\n- testpmd>set burst 1\n- testpmd>start tx_first 27\n- testpmd>stop\n- testpmd>set burst 32\n- testpmd>start tx_first 7\n- testpmd>stop\n- testpmd>set txpkts 2000,2000,2000,2000\n- testpmd>start tx_first 1\n- testpmd>stop\n-\n-5. Start vhost, then quit pdump and three testpmd, about split virtqueue mergeable path, it use the indirect descriptors, the 8k length pkt will just occupies one ring.\n-So check 512 packets and 112128 bytes received by virtio-user1 and 502 packets with 64 length and 10 packets with 8K length in pdump-virtio-rx.pcap.\n-\n-6. Relaunch vhost with iova=pa by below command::\n-\n- ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 \\\n- --vdev 'eth_vhost0,iface=vhost-net,queues=2,client=1,dmas=[txq0@0000:00:04.0;txq1@0000:00:04.1]' --vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0@0000:00:04.2;txq1@0000:00:04.3]' \\\n- --iova=pa -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=256 --rxd=256 --no-flush-rx\n- testpmd>vhost enable tx all\n-\n-7. Rerun step 2-5.\n-\n-Test Case 18: packed virtqueue vm2vm non-mergeable path multi-queues payload check with cbdma enabled\n-=====================================================================================================\n-\n-1. Launch vhost by below command::\n-\n- ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 \\\n- --vdev 'eth_vhost0,iface=vhost-net,queues=2,client=1,dmas=[txq0@0000:80:04.0;txq1@0000:80:04.1]' --vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0@0000:80:04.2;txq1@0000:80:04.3]' \\\n- --iova=va -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096 --no-flush-rx\n- testpmd>vhost enable tx all\n-\n-2. Launch virtio-user1 by below command::\n-\n- ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 \\\n- --no-pci --file-prefix=virtio1 \\\n- --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 \\\n- -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096\n- testpmd>set fwd rxonly\n- testpmd>start\n-\n-3. Attach pdump secondary process to primary process by same file-prefix::\n-\n- ./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'\n-\n-4. Launch virtio-user0 and send packets::\n-\n- ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 \\\n- --no-pci --file-prefix=virtio \\\n- --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 \\\n- -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096\n- testpmd>set burst 32\n- testpmd>set txpkts 64\n- testpmd>start tx_first 7\n- testpmd>stop\n- testpmd>set burst 1\n- testpmd>set txpkts 64,256,2000,64,256,2000\n- testpmd>start tx_first 27\n- testpmd>stop\n-\n-5. Start vhost testpmd, check virtio-user1 RX-packets is 448 and RX-bytes is 28672, 448 packets with 64 length in pdump-virtio-rx.pcap.\n-\n-6. Clear virtio-user1 port stats::\n-\n- testpmd>stop\n- testpmd>clear port stats all\n- testpmd>start\n-\n-7. Quit and relaunch vhost with iova=pa by below command::\n-\n- ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 \\\n- --vdev 'eth_vhost0,iface=vhost-net,queues=2,client=1,dmas=[txq0@0000:80:04.0;txq1@0000:80:04.1]' --vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0@0000:80:04.2;txq1@0000:80:04.3]' \\\n- --iova=pa -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096 --no-flush-rx\n- testpmd>vhost enable tx all\n-\n-8. Attach pdump secondary process to primary process by same file-prefix::\n-\n- ./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'\n-\n-9. Virtio-user0 send packets::\n-\n- testpmd>set burst 32\n- testpmd>set txpkts 64\n- testpmd>start tx_first 7\n- testpmd>stop\n- testpmd>set burst 1\n- testpmd>set txpkts 64,256,2000,64,256,2000\n- testpmd>start tx_first 27\n- testpmd>stop\n-\n-10. Rerun step 5.\n-\n-Test Case 19: packed virtqueue vm2vm mergeable path multi-queues payload check with cbdma enabled\n-=================================================================================================\n-\n-1. Launch vhost by below command::\n-\n- ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 \\\n- --vdev 'eth_vhost0,iface=vhost-net,queues=2,client=1,dmas=[txq0@0000:00:04.0;txq1@0000:00:04.1]' --vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0@0000:00:04.2;txq1@0000:00:04.3]' \\\n- --iova=va -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096 --no-flush-rx\n- testpmd>vhost enable tx all\n-\n-2. Launch virtio-user1 by below command::\n-\n- ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 \\\n- --no-pci --file-prefix=virtio1 \\\n- --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 \\\n- -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096\n- testpmd>set fwd rxonly\n- testpmd>start\n-\n-3. Attach pdump secondary process to primary process by same file-prefix::\n-\n- ./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'\n-\n-4. Launch virtio-user0 and send packets::\n-\n- ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 \\\n- --no-pci --file-prefix=virtio \\\n- --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 \\\n- -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096\n- testpmd>set burst 1\n- testpmd>set txpkts 64,256,2000,64,256,2000\n- testpmd>start tx_first 27\n- testpmd>stop\n- testpmd>set burst 32\n- testpmd>set txpkts 64\n- testpmd>start tx_first 7\n- testpmd>stop\n-\n-5. Start vhost testpmd, then quit pdump, check 502 packets and 279232 bytes received by virtio-user1 and 54 packets with 4640 length and 448 packets with 64 length in pdump-virtio-rx.pcap.\n-\n-6. Clear virtio-user1 port stats::\n-\n- testpmd>stop\n- testpmd>clear port stats all\n- testpmd>start\n-\n-7. Quit and relaunch vhost with iova=pa by below command::\n-\n- ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 \\\n- --vdev 'eth_vhost0,iface=vhost-net,queues=2,client=1,dmas=[txq0@0000:00:04.0;txq1@0000:00:04.1]' --vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0@0000:00:04.2;txq1@0000:00:04.3]' \\\n- --iova=pa -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096 --no-flush-rx\n- testpmd>vhost enable tx all\n-\n-8. Attach pdump secondary process to primary process by same file-prefix::\n-\n- ./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'\n-\n-9. Virtio-user0 send packets::\n-\n- testpmd>set burst 1\n- testpmd>set txpkts 64,256,2000,64,256,2000\n- testpmd>start tx_first 27\n- testpmd>stop\n- testpmd>set burst 32\n- testpmd>set txpkts 64\n- testpmd>start tx_first 7\n- testpmd>stop\n-\n-10. Rerun step 5.\n-\n-Test Case 20: packed virtqueue vm2vm inorder mergeable path multi-queues payload check with cbdma enabled\n-=========================================================================================================\n-\n-1. Launch vhost by below command::\n-\n- ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 \\\n- --vdev 'eth_vhost0,iface=vhost-net,queues=2,client=1,dmas=[txq0@0000:00:04.0;txq1@0000:00:04.1]' --vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0@0000:00:04.2;txq1@0000:00:04.3]' \\\n- --iova=va -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096 --no-flush-rx\n- testpmd>vhost enable tx all\n-\n-2. Launch virtio-user1 by below command::\n-\n- ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 \\\n- --no-pci --file-prefix=virtio1 \\\n- --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=1,queue_size=4096 \\\n- -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096\n- testpmd>set fwd rxonly\n- testpmd>start\n-\n-3. Attach pdump secondary process to primary process by same file-prefix::\n-\n- ./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'\n-\n-4. Launch virtio-user0 and send packets::\n-\n- ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 \\\n- --no-pci --file-prefix=virtio \\\n- --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=1,queue_size=4096 \\\n- -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096\n- testpmd>set burst 1\n- testpmd>set txpkts 64,256,2000,64,256,2000\n- testpmd>start tx_first 27\n- testpmd>stop\n- testpmd>set burst 32\n- testpmd>set txpkts 64\n- testpmd>start tx_first 7\n- testpmd>stop\n-\n-5. Start vhost testpmd, then quit pdump, check 502 packets and 279232 bytes received by virtio-user1 and 54 packets with 4640 length and 448 packets with 64 length in pdump-virtio-rx.pcap.\n-\n-6. Clear virtio-user1 port stats::\n-\n- testpmd>stop\n- testpmd>clear port stats all\n- testpmd>start\n-\n-7. Quit and relaunch vhost with iova=pa by below command::\n-\n- ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 \\\n- --vdev 'eth_vhost0,iface=vhost-net,queues=2,client=1,dmas=[txq0@0000:00:04.0;txq1@0000:00:04.1]' --vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0@0000:00:04.2;txq1@0000:00:04.3]' \\\n- --iova=pa -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096 --no-flush-rx\n- testpmd>vhost enable tx all\n-\n-8. Attach pdump secondary process to primary process by same file-prefix::\n-\n- ./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'\n-\n-9. Virtio-user0 send packets::\n-\n- testpmd>set burst 1\n- testpmd>set txpkts 64,256,2000,64,256,2000\n- testpmd>start tx_first 27\n- testpmd>stop\n- testpmd>set burst 32\n- testpmd>set txpkts 64\n- testpmd>start tx_first 7\n- testpmd>stop\n-\n-10. Rerun step 5.\n-\n-Test Case 21: packed virtqueue vm2vm inorder non-mergeable path multi-queues payload check with cbdma enabled\n-=============================================================================================================\n-\n-1. Launch vhost by below command::\n-\n- ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 \\\n- --vdev 'eth_vhost0,iface=vhost-net,queues=2,client=1,dmas=[txq0@0000:00:04.0;txq1@0000:00:04.1]' --vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0@0000:00:04.2;txq1@0000:00:04.3]' \\\n- --iova=va -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096 --no-flush-rx\n- testpmd>vhost enable tx all\n-\n-2. Launch virtio-user1 by below command::\n-\n- ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 \\\n- --no-pci --file-prefix=virtio1 \\\n- --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=1,queue_size=4096 \\\n- -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096\n- testpmd>set fwd rxonly\n- testpmd>start\n-\n-3. Attach pdump secondary process to primary process by same file-prefix::\n-\n- ./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'\n-\n-4. Launch virtio-user0 and send 8k length packets::\n-\n- ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 \\\n- --no-pci --file-prefix=virtio \\\n- --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=1,queue_size=4096 \\\n- -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096\n-\n- testpmd>set burst 32\n- testpmd>set txpkts 64\n- testpmd>start tx_first 7\n- testpmd>stop\n- testpmd>set burst 1\n- testpmd>set txpkts 64,256,2000,64,256,2000\n- testpmd>start tx_first 27\n- testpmd>stop\n-\n-5. Start vhost testpmd, then quit pdump, check 448 packets and 28672 bytes received by virtio-user1 and 448 packets with 64 length in pdump-virtio-rx.pcap.\n-\n-6. Clear virtio-user1 port stats::\n-\n- testpmd>stop\n- testpmd>clear port stats all\n- testpmd>start\n-\n-7. Quit and relaunch vhost with iova=pa by below command::\n-\n- ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 \\\n- --vdev 'eth_vhost0,iface=vhost-net,queues=2,client=1,dmas=[txq0@0000:00:04.0;txq1@0000:00:04.1]' --vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0@0000:00:04.2;txq1@0000:00:04.3]' \\\n- --iova=pa -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096 --no-flush-rx\n- testpmd>vhost enable tx all\n-\n-8. Attach pdump secondary process to primary process by same file-prefix::\n-\n- ./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'\n-\n-9. Virtio-user0 send packets::\n-\n- testpmd>set burst 32\n- testpmd>set txpkts 64\n- testpmd>start tx_first 7\n- testpmd>stop\n- testpmd>set burst 1\n- testpmd>set txpkts 64,256,2000,64,256,2000\n- testpmd>start tx_first 27\n- testpmd>stop\n-\n-10. Rerun step 5.\n-\n-Test Case 22: packed virtqueue vm2vm vectorized path multi-queues payload check with cbdma enabled\n-===================================================================================================\n-\n-1. Launch vhost by below command::\n-\n- ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 \\\n- --vdev 'eth_vhost0,iface=vhost-net,queues=2,client=1,dmas=[txq0@0000:00:04.0;txq1@0000:00:04.1]' --vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0@0000:00:04.2;txq1@0000:00:04.3]' \\\n- --iova=va -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096 --no-flush-rx\n- testpmd>vhost enable tx all\n-\n-2. Launch virtio-user1 by below command::\n-\n- ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 --no-pci --file-prefix=virtio1 --force-max-simd-bitwidth=512 \\\n- --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=1,vectorized=1,queue_size=4096 \\\n- -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096\n- testpmd>set fwd rxonly\n- testpmd>start\n-\n-3. Attach pdump secondary process to primary process by same file-prefix::\n-\n- ./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'\n-\n-4. Launch virtio-user0 and send 8k length packets::\n-\n- ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 --force-max-simd-bitwidth=512 --no-pci --file-prefix=virtio \\\n- --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=1,vectorized=1,queue_size=4096 \\\n- -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096\n- testpmd>set burst 32\n- testpmd>set txpkts 64\n- testpmd>start tx_first 7\n- testpmd>stop\n- testpmd>set burst 1\n- testpmd>set txpkts 64,256,2000,64,256,2000\n- testpmd>start tx_first 27\n- testpmd>stop\n-\n-5. Start vhost testpmd, then quit pdump, check 448 packets and 28672 bytes received by virtio-user1 and 448 packets with 64 length in pdump-virtio-rx.pcap.\n-\n-6. Clear virtio-user1 port stats::\n-\n- testpmd>stop\n- testpmd>clear port stats all\n- testpmd>start\n-\n-7. Quit and relaunch vhost with iova=pa by below command::\n-\n- ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 \\\n- --vdev 'eth_vhost0,iface=vhost-net,queues=2,client=1,dmas=[txq0@0000:00:04.0;txq1@0000:00:04.1]' --vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0@0000:00:04.2;txq1@0000:00:04.3]' \\\n- --iova=pa -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096 --no-flush-rx\n- testpmd>vhost enable tx all\n-\n-8. Attach pdump secondary process to primary process by same file-prefix::\n-\n- ./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'\n-\n-9. Virtio-user0 send packets::\n-\n- testpmd>set burst 32\n- testpmd>set txpkts 64\n- testpmd>start tx_first 7\n- testpmd>stop\n- testpmd>set burst 1\n- testpmd>set txpkts 64,256,2000,64,256,2000\n- testpmd>start tx_first 27\n- testpmd>stop\n-\n-10. Rerun step 5.\n-\n-Test Case 23: packed virtqueue vm2vm vectorized path multi-queues payload check with ring size is not power of 2 and cbdma enabled\n-==================================================================================================================================\n-\n-1. Launch vhost by below command::\n-\n- ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 \\\n- --vdev 'eth_vhost0,iface=vhost-net,queues=2,client=1,dmas=[txq0@0000:00:04.0;txq1@0000:00:04.1]' --vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0@0000:00:04.2;txq1@0000:00:04.3]' \\\n- --iova=va -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096 --no-flush-rx\n- testpmd>vhost enable tx all\n-\n-2. Launch virtio-user1 by below command::\n-\n- ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 --force-max-simd-bitwidth=512 --no-pci --file-prefix=virtio1 \\\n- --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=1,vectorized=1,queue_size=4097 \\\n- -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4097 --rxd=4097\n- testpmd>set fwd rxonly\n- testpmd>start\n-\n-3. Attach pdump secondary process to primary process by same file-prefix::\n-\n- ./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'\n-\n-4. Launch virtio-user0 and send 8k length packets::\n-\n- ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 --force-max-simd-bitwidth=512 --no-pci --file-prefix=virtio \\\n- --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=1,vectorized=1,queue_size=4097 \\\n- -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4097 --rxd=4097\n- testpmd>set burst 32\n- testpmd>set txpkts 64\n- testpmd>start tx_first 7\n- testpmd>stop\n- testpmd>set burst 1\n- testpmd>set txpkts 64,256,2000,64,256,2000\n- testpmd>start tx_first 27\n- testpmd>stop\n-\n-5. Start vhost testpmd, then quit pdump, check 448 packets and 28672 bytes received by virtio-user1 and 448 packets with 64 length in pdump-virtio-rx.pcap.\n-\n-6. Clear virtio-user1 port stats::\n-\n- testpmd>stop\n- testpmd>clear port stats all\n- testpmd>start\n-\n-7. Quit and relaunch vhost with iova=pa by below command::\n-\n- ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 \\\n- --vdev 'eth_vhost0,iface=vhost-net,queues=2,client=1,dmas=[txq0@0000:00:04.0;txq1@0000:00:04.1]' --vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0@0000:00:04.2;txq1@0000:00:04.3]' \\\n- --iova=pa -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096 --no-flush-rx\n- testpmd>vhost enable tx all\n-\n-8. Attach pdump secondary process to primary process by same file-prefix::\n-\n- ./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'\n-\n-9. Virtio-user0 send packets::\n-\n- testpmd>set burst 32\n- testpmd>set txpkts 64\n- testpmd>start tx_first 7\n- testpmd>stop\n- testpmd>set burst 1\n- testpmd>set txpkts 64,256,2000,64,256,2000\n- testpmd>start tx_first 27\n- testpmd>stop\n-\n-10. Rerun step 5.\n-\n-Test Case 24: packed virtqueue vm2vm vectorized-tx path multi-queues test indirect descriptor\n+Test Case 12: packed virtqueue vm2vm vectorized-tx path multi-queues test indirect descriptor\n =============================================================================================\n \n 1. Launch vhost by below command::\n", "prefixes": [ "V1", "1/5" ] }{ "id": 109069, "url": "