Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/76074/?format=api
https://patches.dpdk.org/api/patches/76074/?format=api", "web_url": "https://patches.dpdk.org/project/dts/patch/20200827172652.43230-1-yinan.wang@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": "<20200827172652.43230-1-yinan.wang@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dts/20200827172652.43230-1-yinan.wang@intel.com", "date": "2020-08-27T17:26:52", "name": "[v1] test_plans/vhost_virtio_user_interrupt_test_plan.rst", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "bf1304cbafedd73f89d03ba6a9abde2763c52bab", "submitter": { "id": 1081, "url": "https://patches.dpdk.org/api/people/1081/?format=api", "name": "Wang, Yinan", "email": "yinan.wang@intel.com" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dts/patch/20200827172652.43230-1-yinan.wang@intel.com/mbox/", "series": [ { "id": 11822, "url": "https://patches.dpdk.org/api/series/11822/?format=api", "web_url": "https://patches.dpdk.org/project/dts/list/?series=11822", "date": "2020-08-27T17:26:52", "name": "[v1] test_plans/vhost_virtio_user_interrupt_test_plan.rst", "version": 1, "mbox": "https://patches.dpdk.org/series/11822/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/76074/comments/", "check": "pending", "checks": "https://patches.dpdk.org/api/patches/76074/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 dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 1E98FA04B1;\n\tThu, 27 Aug 2020 10:37:38 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 040951C0C3;\n\tThu, 27 Aug 2020 10:37:38 +0200 (CEST)", "from mga07.intel.com (mga07.intel.com [134.134.136.100])\n by dpdk.org (Postfix) with ESMTP id AE53E1C0B9\n for <dts@dpdk.org>; Thu, 27 Aug 2020 10:37:35 +0200 (CEST)", "from orsmga001.jf.intel.com ([10.7.209.18])\n by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 27 Aug 2020 01:37:34 -0700", "from dpdk-yinan-ntb1.sh.intel.com ([10.67.119.39])\n by orsmga001.jf.intel.com with ESMTP; 27 Aug 2020 01:37:33 -0700" ], "IronPort-SDR": [ "\n TRtOWSL1c3lzoZcl+TgHOQ8MrPta3PJO3nEFYD5+nj7WRIIebvzG+ndvHupGOzKqDcnKVHcIE7\n soOOJhyCYSTQ==", "\n fxuUd3PKZbSKkpXOhaVHBTkNFSQ6lg8F8YNEdQHdVJ7tbxaLtt5/pEG3jAIjAo57/EYY65jU3F\n IaUt7pmggU5w==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6000,8403,9725\"; a=\"220697247\"", "E=Sophos;i=\"5.76,359,1592895600\"; d=\"scan'208\";a=\"220697247\"", "E=Sophos;i=\"5.76,359,1592895600\"; d=\"scan'208\";a=\"373656081\"" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "From": "Yinan Wang <yinan.wang@intel.com>", "To": "dts@dpdk.org", "Cc": "Yinan Wang <yinan.wang@intel.com>", "Date": "Thu, 27 Aug 2020 13:26:52 -0400", "Message-Id": "<20200827172652.43230-1-yinan.wang@intel.com>", "X-Mailer": "git-send-email 2.17.1", "Subject": "[dts] [PATCH v1]\n\ttest_plans/vhost_virtio_user_interrupt_test_plan.rst", "X-BeenThere": "dts@dpdk.org", "X-Mailman-Version": "2.1.15", "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", "Sender": "\"dts\" <dts-bounces@dpdk.org>" }, "content": "Add cbdma cases in vhost_virtio_user_interrupt test plan\n\nSigned-off-by: Yinan Wang <yinan.wang@intel.com>\n---\n .../vhost_virtio_user_interrupt_test_plan.rst | 68 ++++++++++++++++---\n 1 file changed, 58 insertions(+), 10 deletions(-)", "diff": "diff --git a/test_plans/vhost_virtio_user_interrupt_test_plan.rst b/test_plans/vhost_virtio_user_interrupt_test_plan.rst\nindex 149d373..9ed0dba 100644\n--- a/test_plans/vhost_virtio_user_interrupt_test_plan.rst\n+++ b/test_plans/vhost_virtio_user_interrupt_test_plan.rst\n@@ -46,12 +46,12 @@ flow: TG --> NIC --> Vhost --> Virtio\n \n 1. Bind one NIC port to igb_uio, launch testpmd with a virtual vhost device as backend::\n \n- ./testpmd -c 0x7c -n 4 --socket-mem 1024,1024 --legacy-mem --vdev 'net_vhost0,iface=vhost-net,queues=1' -- -i --rxq=1 --txq=1\n+ ./testpmd -c 0x7c -n 4 --vdev 'net_vhost0,iface=vhost-net,queues=1' -- -i --rxq=1 --txq=1\n testpmd>start\n \n 2. Start l3fwd-power with a virtio-user device::\n \n- ./l3fwd-power -c 0xc000 -n 4 --socket-mem 1024,1024 --log-level='user1,7' --no-pci --file-prefix=l3fwd-pwd \\\n+ ./l3fwd-power -c 0xc000 -n 4 --log-level='user1,7' --no-pci --file-prefix=l3fwd-pwd \\\n --vdev=virtio_user0,path=./vhost-net -- -p 1 -P --config=\"(0,0,14)\" --parse-ptype\n \n 3. Send packets with packet generator, check the virtio-user related core can be wakeup status.\n@@ -67,7 +67,7 @@ flow: Tap --> Vhost-net --> Virtio\n \n 1. Start l3fwd-power with a virtio-user device, vhost-net as backend::\n \n- ./l3fwd-power -c 0xc000 -n 4 --socket-mem 1024,1024 --legacy-mem --log-level='user1,7' --no-pci --file-prefix=l3fwd-pwd \\\n+ ./l3fwd-power -c 0xc000 -n 4 --log-level='user1,7' --no-pci --file-prefix=l3fwd-pwd \\\n --vdev=virtio_user0,path=/dev/vhost-net -- -p 1 -P --config=\"(0,0,14)\" --parse-ptype\n \n 2. Vhost-net will generate one tap device, normally, it's TAP0, config it and generate packets on it using pind cmd::\n@@ -89,13 +89,13 @@ flow: Vhost <--> Virtio\n \n 1. Start vhost-user side::\n \n- ./testpmd -c 0x3000 -n 4 --socket-mem 1024,1024 --no-pci --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-net,queues=1,client=0' -- -i\n+ ./testpmd -c 0x3000 -n 4 --no-pci --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-net,queues=1,client=0' -- -i\n testpmd>set fwd mac\n testpmd>start\n \n 2. Start virtio-user side::\n \n- ./testpmd -c 0xc000 -n 4 --socket-mem 1024,1024 --no-pci --file-prefix=virtio --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net -- -i --tx-offloads=0x00\n+ ./testpmd -c 0xc000 -n 4 --no-pci --file-prefix=virtio --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net -- -i --tx-offloads=0x00\n testpmd>set fwd mac\n testpmd>start\n \n@@ -116,12 +116,12 @@ flow: TG --> NIC --> Vhost --> Virtio\n \n 1. Bind one NIC port to igb_uio, launch testpmd with a virtual vhost device as backend::\n \n- ./testpmd -c 0x7c -n 4 --socket-mem 1024,1024 --legacy-mem --vdev 'net_vhost0,iface=vhost-net,queues=1' -- -i --rxq=1 --txq=1\n+ ./testpmd -c 0x7c -n 4 --vdev 'net_vhost0,iface=vhost-net,queues=1' -- -i --rxq=1 --txq=1\n testpmd>start\n \n 2. Start l3fwd-power with a virtio-user device::\n \n- ./l3fwd-power -c 0xc000 -n 4 --socket-mem 1024,1024 --log-level='user1,7' --no-pci --file-prefix=l3fwd-pwd \\\n+ ./l3fwd-power -c 0xc000 -n 4 --log-level='user1,7' --no-pci --file-prefix=l3fwd-pwd \\\n --vdev=virtio_user0,path=./vhost-net,packed_vq=1 -- -p 1 -P --config=\"(0,0,14)\" --parse-ptype\n \n 3. Send packets with packet generator, check the virtio-user related core can be wakeup status.\n@@ -137,7 +137,7 @@ flow: Tap --> Vhost-net --> Virtio\n \n 1. Start l3fwd-power with a virtio-user device, vhost-net as backend::\n \n- ./l3fwd-power -c 0xc000 -n 4 --socket-mem 1024,1024 --legacy-mem --log-level='user1,7' --no-pci --file-prefix=l3fwd-pwd \\\n+ ./l3fwd-power -c 0xc000 -n 4 --log-level='user1,7' --no-pci --file-prefix=l3fwd-pwd \\\n --vdev=virtio_user0,path=/dev/vhost-net,packed_vq=1 -- -p 1 -P --config=\"(0,0,14)\" --parse-ptype\n \n 2. Vhost-net will generate one tap device, normally, it's TAP0, config it and generate packets on it using pind cmd::\n@@ -159,13 +159,13 @@ flow: Vhost <--> Virtio\n \n 1. Start vhost-user side::\n \n- ./testpmd -c 0x3000 -n 4 --socket-mem 1024,1024 --no-pci --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-net,queues=1,client=0' -- -i\n+ ./testpmd -c 0x3000 -n 4 --no-pci --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-net,queues=1,client=0' -- -i\n testpmd>set fwd mac\n testpmd>start\n \n 2. Start virtio-user side::\n \n- ./testpmd -c 0xc000 -n 4 --socket-mem 1024,1024 --no-pci --file-prefix=virtio --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,packed_vq=1 -- -i --tx-offloads=0x00\n+ ./testpmd -c 0xc000 -n 4 --no-pci --file-prefix=virtio --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,packed_vq=1 -- -i --tx-offloads=0x00\n testpmd>set fwd mac\n testpmd>start\n \n@@ -178,3 +178,51 @@ flow: Vhost <--> Virtio\n \n testpmd> show port info 0\n #it should show \"down\"\n+\n+Test Case7: LSC event between vhost-user and virtio-user with split ring and cbdma enabled\n+==========================================================================================\n+\n+flow: Vhost <--> Virtio\n+\n+1. Start vhost-user side::\n+\n+ ./testpmd -c 0x3000 -n 4 --no-pci --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-net,queues=1,client=0,dmas=[txq0@00:04.0]' -- -i\n+ testpmd>set fwd mac\n+ testpmd>start\n+\n+2. Start virtio-user side::\n+\n+ ./testpmd -c 0xc000 -n 4 --no-pci --file-prefix=virtio --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net -- -i --tx-offloads=0x00\n+ testpmd>set fwd mac\n+ testpmd>start\n+\n+3. Check the virtio-user side link status::\n+\n+ testpmd> show port info 0\n+ #it should show \"up\"\n+\n+4. Quit the vhost-user side with testpmd, then check the virtio-user side link status::\n+\n+ testpmd> show port info 0\n+ #it should show \"down\"\n+\n+Test Case8: Split ring virtio-user interrupt test with vhost-user as backend and cbdma enabled\n+==============================================================================================\n+\n+flow: TG --> NIC --> Vhost --> Virtio\n+\n+1. Bind one cbdma port and one NIC port to igb_uio, launch testpmd with a virtual vhost device as backend::\n+\n+ ./testpmd -c 0x7c -n 4 --vdev 'net_vhost0,iface=vhost-net,queues=1,dmas=[txq0@00:04.0]' -- -i --rxq=1 --txq=1\n+ testpmd>start\n+\n+2. Start l3fwd-power with a virtio-user device::\n+\n+ ./l3fwd-power -c 0xc000 -n 4 --log-level='user1,7' --no-pci --file-prefix=l3fwd-pwd \\\n+ --vdev=virtio_user0,path=./vhost-net -- -p 1 -P --config=\"(0,0,14)\" --parse-ptype\n+\n+3. Send packets with packet generator, check the virtio-user related core can be wakeup status.\n+\n+4. Stop sending packets with packet generator, check virtio-user related core change to sleep status.\n+\n+5. Restart sending packets with packet generator, check virtio-user related core change to wakeup status again.\n\\ No newline at end of file\n", "prefixes": [ "v1" ] }{ "id": 76074, "url": "