get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 76076,
    "url": "http://patches.dpdk.org/api/patches/76076/?format=api",
    "web_url": "http://patches.dpdk.org/project/dts/patch/20200827173240.43395-1-yinan.wang@intel.com/",
    "project": {
        "id": 3,
        "url": "http://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": "<20200827173240.43395-1-yinan.wang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20200827173240.43395-1-yinan.wang@intel.com",
    "date": "2020-08-27T17:32:40",
    "name": "[v1] test_plans/vhost_user_interrupt_test_plan.rst",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "8270fdcbc125184694c35cb4d1aee6503b9b6d7b",
    "submitter": {
        "id": 1081,
        "url": "http://patches.dpdk.org/api/people/1081/?format=api",
        "name": "Wang, Yinan",
        "email": "yinan.wang@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dts/patch/20200827173240.43395-1-yinan.wang@intel.com/mbox/",
    "series": [
        {
            "id": 11824,
            "url": "http://patches.dpdk.org/api/series/11824/?format=api",
            "web_url": "http://patches.dpdk.org/project/dts/list/?series=11824",
            "date": "2020-08-27T17:32:40",
            "name": "[v1] test_plans/vhost_user_interrupt_test_plan.rst",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/11824/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/76076/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/76076/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 EEFDBA04B1;\n\tThu, 27 Aug 2020 10:43:26 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id B926E1C0CA;\n\tThu, 27 Aug 2020 10:43:26 +0200 (CEST)",
            "from mga04.intel.com (mga04.intel.com [192.55.52.120])\n by dpdk.org (Postfix) with ESMTP id 43B981C0C3\n for <dts@dpdk.org>; Thu, 27 Aug 2020 10:43:23 +0200 (CEST)",
            "from orsmga001.jf.intel.com ([10.7.209.18])\n by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 27 Aug 2020 01:43:23 -0700",
            "from dpdk-yinan-ntb1.sh.intel.com ([10.67.119.39])\n by orsmga001.jf.intel.com with ESMTP; 27 Aug 2020 01:43:21 -0700"
        ],
        "IronPort-SDR": [
            "\n AbCAtQVHQzni8cEiOa+TlBDbwDu4GoP+4gwF+1NSN8EN/nQCXVNbig5J8hSIdajt+YOEjkqxdY\n +cFshOsD1Wyw==",
            "\n lNRUNghIQihwD0TLQ6AUDF2dtUaj64sGlueS/crxo5Yrk9PDrmBJ8/c8r3oH07xBWvgIhzm79t\n rWC4sEakiFSA=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9725\"; a=\"153865936\"",
            "E=Sophos;i=\"5.76,359,1592895600\"; d=\"scan'208\";a=\"153865936\"",
            "E=Sophos;i=\"5.76,359,1592895600\"; d=\"scan'208\";a=\"373658236\""
        ],
        "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:32:40 -0400",
        "Message-Id": "<20200827173240.43395-1-yinan.wang@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=UTF-8",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dts]  [PATCH v1] test_plans/vhost_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_user_interrupt test plan\n\nSigned-off-by: Yinan Wang <yinan.wang@intel.com>\n---\n test_plans/vhost_user_interrupt_test_plan.rst | 150 ++++++++++++++++++\n 1 file changed, 150 insertions(+)\n create mode 100644 test_plans/vhost_user_interrupt_test_plan.rst",
    "diff": "diff --git a/test_plans/vhost_user_interrupt_test_plan.rst b/test_plans/vhost_user_interrupt_test_plan.rst\nnew file mode 100644\nindex 0000000..ea030a9\n--- /dev/null\n+++ b/test_plans/vhost_user_interrupt_test_plan.rst\n@@ -0,0 +1,150 @@\n+.. Copyright (c) <2019>, 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-user interrupt mode test plan\n+===================================\n+\n+Description\n+===========\n+\n+Vhost-user interrupt need test with l3fwd-power sample, small packets send from virtio-user to vhost side,\n+check vhost-user cores can be wakeup,and vhost-user cores should be back to sleep after stop sending packets\n+from virtio side.\n+\n+Test flow\n+=========\n+\n+Virtio-user --> Vhost-user\n+\n+Test Case1: Wake up split ring vhost-user core with l3fwd-power sample\n+======================================================================\n+\n+1. Launch virtio-user with server mode::\n+\n+    ./testpmd -l 7-8 -n 4 --no-pci --file-prefix=virtio \\\n+    --vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=/tmp/sock0,server=1,queues=1 -- -i\n+\n+2. Build l3fwd-power sample and launch l3fwd-power with a virtual vhost device::\n+\n+    ./l3fwd-power -l 0-3 -n 4 --no-pci \\\n+    --vdev 'eth_vhost0,iface=/tmp/sock0,queues=1,client=1' -- -p 0x1 --parse-ptype 1 --config \"(0,0,2)\"\n+\n+3. Send packet by testpmd, check vhost-user core will keep wakeup status::\n+\n+    testpmd>set fwd txonly\n+    testpmd>start\n+\n+4. Stop and restart testpmd again, check vhost-user core will sleep and wakeup again.\n+\n+Test Case2: Wake up split ring vhost-user cores with l3fwd-power sample when multi queues are enabled\n+=====================================================================================================\n+\n+1. Launch virtio-user with server mode::\n+\n+    ./testpmd -l 1-5 -n 4 --no-pci --file-prefix=virtio \\\n+    --vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=/tmp/sock0,server=1,queues=4 -- -i --rxq=4 --txq=4 --rss-ip\n+\n+2. Build l3fwd-power sample and launch l3fwd-power with a virtual vhost device::\n+\n+    ./l3fwd-power -l 9-12 -n 4 --no-pci --log-level=9 \\\n+    --vdev 'eth_vhost0,iface=/tmp/sock0,queues=4,client=1' -- -p 0x1 --parse-ptype 1 \\\n+    --config \"(0,0,9),(0,1,10),(0,2,11),(0,3,12)\"\n+\n+3. Send packet by testpmd, check vhost-user multi-cores will keep wakeup status::\n+\n+    testpmd>set fwd txonly\n+    testpmd>start\n+\n+4. Stop and restart testpmd again, check vhost-user cores will sleep and wakeup again.\n+\n+Test Case3: Wake up packed ring vhost-user core with l3fwd-power sample\n+=======================================================================\n+\n+1. Launch virtio-user with server mode::\n+\n+    ./testpmd -l 7-8 -n 4 --no-pci --file-prefix=virtio \\\n+    --vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=/tmp/sock0,server=1,queues=1,packed_vq=1 -- -i\n+\n+2. Build l3fwd-power sample and launch l3fwd-power with a virtual vhost device::\n+\n+    ./l3fwd-power -l 0-3 -n 4 --no-pci \\\n+    --vdev 'eth_vhost0,iface=/tmp/sock0,queues=1,client=1' -- -p 0x1 --parse-ptype 1 --config \"(0,0,2)\"\n+\n+3. Send packet by testpmd, check vhost-user core will keep wakeup status::\n+\n+    testpmd>set fwd txonly\n+    testpmd>start\n+\n+4. Stop and restart testpmd again, check vhost-user core will sleep and wakeup again.\n+\n+Test Case4:  Wake up packed ring vhost-user cores with l3fwd-power sample when multi queues are enabled\n+=======================================================================================================\n+\n+1. Launch virtio-user with server mode::\n+\n+    ./testpmd -l 1-5 -n 4 --no-pci --file-prefix=virtio \\\n+    --vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=/tmp/sock0,server=1,queues=4,packed_vq=1,mrg_rxbuf=0 -- -i --rxq=4 --txq=4 --rss-ip\n+\n+2. Build l3fwd-power sample and launch l3fwd-power with a virtual vhost device::\n+\n+    ./l3fwd-power -l 9-12 -n 4 --no-pci --log-level=9 \\\n+    --vdev 'eth_vhost0,iface=/tmp/sock0,queues=4,client=1' -- -p 0x1 --parse-ptype 1 \\\n+    --config \"(0,0,9),(0,1,10),(0,2,11),(0,3,12)\"\n+\n+3. Send packet by testpmd, check vhost-user multi-cores will keep wakeup status::\n+\n+    testpmd>set fwd txonly\n+    testpmd>start\n+\n+4. Stop and restart testpmd again, check vhost-user cores will sleep and wakeup again.\n+\n+Test Case5: Wake up split ring vhost-user cores with l3fwd-power sample when multi queues and cbdma are enabled\n+===============================================================================================================\n+\n+1. Launch virtio-user with server mode::\n+\n+    ./testpmd -l 1-5 -n 4 --no-pci --file-prefix=virtio \\\n+    --vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=/tmp/sock0,server=1,queues=4 -- -i --rxq=4 --txq=4 --rss-ip\n+\n+2. Bind 4 cbdma ports to igb_uio driver, then launch l3fwd-power with a virtual vhost device::\n+\n+    ./l3fwd-power -l 9-12 -n 4 --log-level=9 \\\n+    --vdev 'eth_vhost0,iface=/tmp/sock0,queues=4,client=1,dmas=[txq0@80:04.0;txq1@80:04.1;txq2@80:04.2;txq3@80:04.3]' -- -p 0x1 --parse-ptype 1 \\\n+    --config \"(0,0,9),(0,1,10),(0,2,11),(0,3,12)\"\n+\n+3. Send packet by testpmd, check vhost-user multi-cores will keep wakeup status::\n+\n+    testpmd>set fwd txonly\n+    testpmd>start\n+\n+4. Stop and restart testpmd again, check vhost-user cores will sleep and wakeup again.\n\\ No newline at end of file\n",
    "prefixes": [
        "v1"
    ]
}