get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/85272/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 85272,
    "url": "https://patches.dpdk.org/api/patches/85272/?format=api",
    "web_url": "https://patches.dpdk.org/project/dts/patch/20201217154313.247800-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": "<20201217154313.247800-1-yinan.wang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20201217154313.247800-1-yinan.wang@intel.com",
    "date": "2020-12-17T15:43:13",
    "name": "[v1] test_plans/virtio_smoke_test_plan.rst",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "a76ff4628cac5130b0379104b20fea3c0fe9382b",
    "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/20201217154313.247800-1-yinan.wang@intel.com/mbox/",
    "series": [
        {
            "id": 14341,
            "url": "https://patches.dpdk.org/api/series/14341/?format=api",
            "web_url": "https://patches.dpdk.org/project/dts/list/?series=14341",
            "date": "2020-12-17T15:43:13",
            "name": "[v1] test_plans/virtio_smoke_test_plan.rst",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/14341/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/85272/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/85272/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 D391DA09F0;\n\tThu, 17 Dec 2020 07:55:18 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id D5718C9CE;\n\tThu, 17 Dec 2020 07:55:16 +0100 (CET)",
            "from mga06.intel.com (mga06.intel.com [134.134.136.31])\n by dpdk.org (Postfix) with ESMTP id BD005C9CC\n for <dts@dpdk.org>; Thu, 17 Dec 2020 07:55:14 +0100 (CET)",
            "from fmsmga002.fm.intel.com ([10.253.24.26])\n by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 16 Dec 2020 22:55:11 -0800",
            "from dpdk-yinan-ntb1.sh.intel.com ([10.67.119.39])\n by fmsmga002.fm.intel.com with ESMTP; 16 Dec 2020 22:55:09 -0800"
        ],
        "IronPort-SDR": [
            "\n NcT+xnCfiqj/eMVwtiFiSGUyzhoiSfAhRnXMR945vetuFLlNiyNcXa7rMPaJ8Oei5T3rlc7ISh\n TnooHPpzNLuw==",
            "\n 9wBBMcxZBu0ylk7dq4PkCxlOXckPwVkuXi8670BsMyXW7umA76D42/b5hEdk6FAzLXFC7853sH\n 7MulGnYKQ0Fg=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9837\"; a=\"236777674\"",
            "E=Sophos;i=\"5.78,425,1599548400\"; d=\"scan'208\";a=\"236777674\"",
            "E=Sophos;i=\"5.78,425,1599548400\"; d=\"scan'208\";a=\"387295002\""
        ],
        "X-ExtLoop1": "1",
        "From": "Yinan Wang <yinan.wang@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Yinan Wang <yinan.wang@intel.com>",
        "Date": "Thu, 17 Dec 2020 10:43:13 -0500",
        "Message-Id": "<20201217154313.247800-1-yinan.wang@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dts]  [PATCH v1] test_plans/virtio_smoke_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 two virtio smoke test cases.\n\nSigned-off-by: Yinan Wang <yinan.wang@intel.com>\n---\n test_plans/virtio_smoke_test_plan.rst | 100 ++++++++++++++++++++++++++\n 1 file changed, 100 insertions(+)\n create mode 100644 test_plans/virtio_smoke_test_plan.rst",
    "diff": "diff --git a/test_plans/virtio_smoke_test_plan.rst b/test_plans/virtio_smoke_test_plan.rst\nnew file mode 100644\nindex 00000000..66f10805\n--- /dev/null\n+++ b/test_plans/virtio_smoke_test_plan.rst\n@@ -0,0 +1,100 @@\n+. Copyright (c) <2020>, Intel Corporation\n+   All rights reserved.\n+\n+   Redistribution and use in source and binary forms, with or without\n+   modification, are permitted provided that the following conditions\n+   are met:\n+\n+   - Redistributions of source code must retain the above copyright\n+     notice, this list of conditions and the following disclaimer.\n+\n+   - Redistributions in binary form must reproduce the above copyright\n+     notice, this list of conditions and the following disclaimer in\n+     the documentation and/or other materials provided with the\n+     distribution.\n+\n+   - Neither the name of Intel Corporation nor the names of its\n+     contributors may be used to endorse or promote products derived\n+     from this software without specific prior written permission.\n+\n+   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n+   \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n+   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n+   FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\n+   COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n+   INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n+   (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n+   SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n+   HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n+   STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n+   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\n+   OF THE POSSIBILITY OF SUCH DAMAGE.\n+\n+=================================\n+vhost/virtio-user smoke test plan\n+=================================\n+\n+This test plan cover vhost/virtio pvp and loopback topolopy test, split ring and packed ring test,\n+server mode and client mode test, also multi-queues and dynamic queue size test.\n+\n+Test Case 1: loopback reconnect test with split ring mergeable path and server mode\n+===================================================================================\n+\n+1. Launch vhost as client mode with 2 queues::\n+\n+    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xe -n 4 --no-pci --file-prefix=vhost \\\n+    --vdev 'eth_vhost0,iface=vhost-net,client=1,queues=8' -- -i --nb-cores=2 --rxq=2 --txq=2\n+    >set fwd mac\n+    >start\n+\n+2. Launch virtio-user as server mode with 8 queues::\n+\n+    ./x86_64-native-linuxapp-gcc/app/dpdk-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=8,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+    >start tx_first 32\n+\n+3. Stop vhost port and check queue0 and queue1 RX/TX direction both have packets::\n+\n+    testpmd>stop\n+\n+4. Relaunch vhost with 8 queues and send packets::\n+\n+    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xe -n 4 --no-pci --file-prefix=vhost \\\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 tx_first 32\n+    stop\n+    set burst 1\n+    start tx_first 1\n+\n+5. Stop vhost port and check queue0 to queue7 RX/TX direction both have packets::\n+\n+    testpmd>stop\n+\n+Test Case 2: pvp test with virtio packed ring vectorized path\n+============================================================\n+\n+1. Bind one port to vfio-pci, then launch vhost by below command::\n+\n+    rm -rf vhost-net*\n+    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 2-4 --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-net,queues=1' \\\n+    -- -i --nb-cores=2 --txd=1024 --rxd=1024\n+    testpmd>set fwd mac\n+    testpmd>start\n+\n+2. Launch virtio-user by below command::\n+\n+    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 --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,packed_vq=1,mrg_rxbuf=0,in_order=1,vectorized=1,queue_size=1024 \\\n+    -- -i --nb-cores=1 --txd=1024 --rxd=1024\n+    testpmd>set fwd mac\n+    testpmd>start\n+\n+3. Send 64B and 1518B packets with packet generator, check the throughput with below command::\n+\n+    testpmd>show port stats all\n+\n+\n+\n",
    "prefixes": [
        "v1"
    ]
}