get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 44323,
    "url": "https://patches.dpdk.org/api/patches/44323/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1536225103-181590-2-git-send-email-nikhil.rao@intel.com/",
    "project": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/projects/1/?format=api",
        "name": "DPDK",
        "link_name": "dpdk",
        "list_id": "dev.dpdk.org",
        "list_email": "dev@dpdk.org",
        "web_url": "http://core.dpdk.org",
        "scm_url": "git://dpdk.org/dpdk",
        "webscm_url": "http://git.dpdk.org/dpdk",
        "list_archive_url": "https://inbox.dpdk.org/dev",
        "list_archive_url_format": "https://inbox.dpdk.org/dev/{}",
        "commit_url_format": ""
    },
    "msgid": "<1536225103-181590-2-git-send-email-nikhil.rao@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1536225103-181590-2-git-send-email-nikhil.rao@intel.com",
    "date": "2018-09-06T09:11:43",
    "name": "[2/2] test/eventdev: remove eth Rx adapter vdev workaround",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "e5fdace59e4f2082db5acc3835258f5e12b3c0ad",
    "submitter": {
        "id": 528,
        "url": "https://patches.dpdk.org/api/people/528/?format=api",
        "name": "Rao, Nikhil",
        "email": "nikhil.rao@intel.com"
    },
    "delegate": {
        "id": 310,
        "url": "https://patches.dpdk.org/api/users/310/?format=api",
        "username": "jerin",
        "first_name": "Jerin",
        "last_name": "Jacob",
        "email": "jerinj@marvell.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1536225103-181590-2-git-send-email-nikhil.rao@intel.com/mbox/",
    "series": [
        {
            "id": 1203,
            "url": "https://patches.dpdk.org/api/series/1203/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=1203",
            "date": "2018-09-06T09:11:42",
            "name": "[1/2] eventdev: fix eth Rx adapter hotplug incompatibility",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/1203/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/44323/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/44323/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id CCE014C91;\n\tThu,  6 Sep 2018 11:12:51 +0200 (CEST)",
            "from mga17.intel.com (mga17.intel.com [192.55.52.151])\n\tby dpdk.org (Postfix) with ESMTP id 0A3AE3772;\n\tThu,  6 Sep 2018 11:12:48 +0200 (CEST)",
            "from fmsmga003.fm.intel.com ([10.253.24.29])\n\tby fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t06 Sep 2018 02:12:48 -0700",
            "from unknown (HELO localhost.localdomain.localdomain)\n\t([10.224.122.193])\n\tby FMSMGA003.fm.intel.com with ESMTP; 06 Sep 2018 02:12:47 -0700"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.53,337,1531810800\"; d=\"scan'208\";a=\"78401670\"",
        "From": "Nikhil Rao <nikhil.rao@intel.com>",
        "To": "jerin.jacob@caviumnetworks.com",
        "Cc": "dev@dpdk.org, Nikhil Rao <nikhil.rao@intel.com>, vipin.varghese@intel.com,\n\tstable@dpdk.org",
        "Date": "Thu,  6 Sep 2018 14:41:43 +0530",
        "Message-Id": "<1536225103-181590-2-git-send-email-nikhil.rao@intel.com>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "In-Reply-To": "<1536225103-181590-1-git-send-email-nikhil.rao@intel.com>",
        "References": "<1536225103-181590-1-git-send-email-nikhil.rao@intel.com>",
        "Subject": "[dpdk-dev] [PATCH 2/2] test/eventdev: remove eth Rx adapter vdev\n\tworkaround",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "eth Rx adapter has been updated to support hotplugged\ndevices, devices created after adapter creation can now be\nadded to the adapter.\n\nUpdate the adapter_multi_eth_add_del\ntest case to create the adapter as part of test setup\ninstead of creating it after creating vdevs.\n\nFixes: 2a9c83ae3b2e (\"test/eventdev: add multi-ports test\")\nCc: vipin.varghese@intel.com\nCc: stable@dpdk.org\nSigned-off-by: Nikhil Rao <nikhil.rao@intel.com>\n---\n test/test/test_event_eth_rx_adapter.c | 8 ++------\n 1 file changed, 2 insertions(+), 6 deletions(-)",
    "diff": "diff --git a/test/test/test_event_eth_rx_adapter.c b/test/test/test_event_eth_rx_adapter.c\nindex 4cca77f..d6d137e 100644\n--- a/test/test/test_event_eth_rx_adapter.c\n+++ b/test/test/test_event_eth_rx_adapter.c\n@@ -489,9 +489,6 @@ struct event_eth_rx_adapter_test_params {\n \terr = init_ports(rte_eth_dev_count_total());\n \tTEST_ASSERT(err == 0, \"Port initialization failed err %d\\n\", err);\n \n-\t/* creating new instance for all newly added eth devices */\n-\tadapter_create();\n-\n \t/* eth_rx_adapter_queue_add for n ports */\n \tport_index = 0;\n \tfor (; port_index < rte_eth_dev_count_total(); port_index += 1) {\n@@ -509,8 +506,6 @@ struct event_eth_rx_adapter_test_params {\n \t\tTEST_ASSERT(err == 0, \"Expected 0 got %d\", err);\n \t}\n \n-\tadapter_free();\n-\n \treturn TEST_SUCCESS;\n }\n \n@@ -675,7 +670,8 @@ struct event_eth_rx_adapter_test_params {\n \t\tTEST_CASE_ST(NULL, NULL, adapter_create_free),\n \t\tTEST_CASE_ST(adapter_create, adapter_free,\n \t\t\t\t\tadapter_queue_add_del),\n-\t\tTEST_CASE_ST(NULL, NULL, adapter_multi_eth_add_del),\n+\t\tTEST_CASE_ST(adapter_create, adapter_free,\n+\t\t\t\t\tadapter_multi_eth_add_del),\n \t\tTEST_CASE_ST(adapter_create, adapter_free, adapter_start_stop),\n \t\tTEST_CASE_ST(adapter_create, adapter_free, adapter_stats),\n \t\tTEST_CASES_END() /**< NULL terminate unit test array */\n",
    "prefixes": [
        "2/2"
    ]
}