get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 76077,
    "url": "https://patches.dpdk.org/api/patches/76077/?format=api",
    "web_url": "https://patches.dpdk.org/project/dts/patch/20200827094108.110920-1-qimaix.xiao@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": "<20200827094108.110920-1-qimaix.xiao@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20200827094108.110920-1-qimaix.xiao@intel.com",
    "date": "2020-08-27T09:41:08",
    "name": "[V1] test_plans/vhost_enqueue_interrupt_test_plan: remove old testplan",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "bc0f52b443aabf8aca7369021058c042ebc523d4",
    "submitter": {
        "id": 1303,
        "url": "https://patches.dpdk.org/api/people/1303/?format=api",
        "name": "Xiao, QimaiX",
        "email": "qimaix.xiao@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dts/patch/20200827094108.110920-1-qimaix.xiao@intel.com/mbox/",
    "series": [
        {
            "id": 11825,
            "url": "https://patches.dpdk.org/api/series/11825/?format=api",
            "web_url": "https://patches.dpdk.org/project/dts/list/?series=11825",
            "date": "2020-08-27T09:41:08",
            "name": "[V1] test_plans/vhost_enqueue_interrupt_test_plan: remove old testplan",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/11825/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/76077/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/76077/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 20577A04B1;\n\tThu, 27 Aug 2020 12:03:00 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id D83A41C192;\n\tThu, 27 Aug 2020 12:02:59 +0200 (CEST)",
            "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n by dpdk.org (Postfix) with ESMTP id CFED91C190\n for <dts@dpdk.org>; Thu, 27 Aug 2020 12:02:54 +0200 (CEST)",
            "from fmsmga001.fm.intel.com ([10.253.24.23])\n by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 27 Aug 2020 03:02:45 -0700",
            "from unknown (HELO localhost.localdomain) ([10.240.183.52])\n by fmsmga001.fm.intel.com with ESMTP; 27 Aug 2020 03:02:41 -0700"
        ],
        "IronPort-SDR": [
            "\n paWUoaarV4ClTGThiputwfzInSdVKb8LFjdaiDMKyaHZ+FLCC7vt4Y6KvePkhRBjNGuVempFL8\n Kza6uRh7viIw==",
            "\n 9q8MbPyXYLXvnrPmE5+YTuZpMf6Tg2ydopf0CF6GCwjJBuIfC35ElTPy6TM2QaiGkXBdT2bujw\n rd47VoESnrqQ=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9725\"; a=\"154015155\"",
            "E=Sophos;i=\"5.76,359,1592895600\"; d=\"scan'208\";a=\"154015155\"",
            "E=Sophos;i=\"5.76,359,1592895600\"; d=\"scan'208\";a=\"403357367\""
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "From": "Xiao Qimai <qimaix.xiao@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Xiao Qimai <qimaix.xiao@intel.com>",
        "Date": "Thu, 27 Aug 2020 09:41:08 +0000",
        "Message-Id": "<20200827094108.110920-1-qimaix.xiao@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=y",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dts] [PATCH V1]test_plans/vhost_enqueue_interrupt_test_plan:\n\tremove old testplan",
        "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": "*. test_plans/vhost_enqueue_interrupt_test_plan has been replaced by test_plans/vhost_user_interrupt_test_plan.rst\n\nSigned-off-by: Xiao Qimai <qimaix.xiao@intel.com>\n---\n .../vhost_enqueue_interrupt_test_plan.rst     | 145 ------------------\n 1 file changed, 145 deletions(-)\n delete mode 100644 test_plans/vhost_enqueue_interrupt_test_plan.rst",
    "diff": "diff --git a/test_plans/vhost_enqueue_interrupt_test_plan.rst b/test_plans/vhost_enqueue_interrupt_test_plan.rst\ndeleted file mode 100644\nindex ee9b7a5d..00000000\n--- a/test_plans/vhost_enqueue_interrupt_test_plan.rst\n+++ /dev/null\n@@ -1,145 +0,0 @@\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 enqueue interrupt mode test plan\n-======================================\n-\n-Description\n-===========\n-\n-Vhost enqueue 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-Prerequisites\n-=============\n-\n-Modify l3fwd-power example code and recompile::\n-\n-        --- a/examples/l3fwd-power/main.c\n-        +++ b/examples/l3fwd-power/main.c\n-        @@ -248,7 +248,6 @@ static struct rte_eth_conf port_conf = {\n-                .mq_mode        = ETH_MQ_RX_RSS,\n-                .max_rx_pkt_len = RTE_ETHER_MAX_LEN,\n-                .split_hdr_size = 0,\n-        -       .offloads = DEV_RX_OFFLOAD_CHECKSUM,\n-        },\n-        .rx_adv_conf = {\n-                .rss_conf = {\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 --socket-mem 1024,1024 --legacy-mem --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 --socket-mem 1024,1024 --legacy-mem --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 --socket-mem 1024,1024 --legacy-mem --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 --socket-mem 1024,1024 --legacy-mem --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 --socket-mem 1024,1024 --legacy-mem --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 --socket-mem 1024,1024 --legacy-mem --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 --socket-mem 1024,1024 --legacy-mem --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 --socket-mem 1024,1024 --legacy-mem --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",
    "prefixes": [
        "V1"
    ]
}