get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 54937,
    "url": "http://patches.dpdk.org/api/patches/54937/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1560924514-220305-1-git-send-email-noae@mellanox.com/",
    "project": {
        "id": 1,
        "url": "http://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": "<1560924514-220305-1-git-send-email-noae@mellanox.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1560924514-220305-1-git-send-email-noae@mellanox.com",
    "date": "2019-06-19T06:08:34",
    "name": "vhost: fix add a missing include",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "2cd2b98c7e87467145fb226db345a2350630c9ae",
    "submitter": {
        "id": 1186,
        "url": "http://patches.dpdk.org/api/people/1186/?format=api",
        "name": "Noa Ezra",
        "email": "noae@mellanox.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1560924514-220305-1-git-send-email-noae@mellanox.com/mbox/",
    "series": [
        {
            "id": 5071,
            "url": "http://patches.dpdk.org/api/series/5071/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=5071",
            "date": "2019-06-19T06:08:34",
            "name": "vhost: fix add a missing include",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/5071/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/54937/comments/",
    "check": "fail",
    "checks": "http://patches.dpdk.org/api/patches/54937/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 6E96D1C1EC;\n\tWed, 19 Jun 2019 08:08:42 +0200 (CEST)",
            "from git-send-mailer.rdmz.labs.mlnx (unknown [37.142.13.130])\n\tby dpdk.org (Postfix) with ESMTP id 73EB61C1AE;\n\tWed, 19 Jun 2019 08:08:41 +0200 (CEST)"
        ],
        "From": "Noa Ezra <noae@mellanox.com>",
        "To": "maxime.coquelin@redhat.com",
        "Cc": "matan@mellanox.com,\n\tdev@dpdk.org,\n\tnoae@mellanox.com,\n\tstable@dpdk.org",
        "Date": "Wed, 19 Jun 2019 06:08:34 +0000",
        "Message-Id": "<1560924514-220305-1-git-send-email-noae@mellanox.com>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "Subject": "[dpdk-dev] [PATCH] vhost: fix add a missing include",
        "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": "Add a missing include with the defines for vhost-user driver features.\n\nFixes: 5fbb3941da9f (\"vhost: introduce driver features related APIs\")\nCc: stable@dpdk.org\n\nSigned-off-by: Noa Ezra <noae@mellanox.com>\nReviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>\nReviewed-by: Matan Azrad <matan@mellanox.com>\n---\n lib/librte_vhost/rte_vhost.h | 1 +\n 1 file changed, 1 insertion(+)\n mode change 100644 => 100755 lib/librte_vhost/rte_vhost.h",
    "diff": "diff --git a/lib/librte_vhost/rte_vhost.h b/lib/librte_vhost/rte_vhost.h\nold mode 100644\nnew mode 100755\nindex 0226b3e..338e47c\n--- a/lib/librte_vhost/rte_vhost.h\n+++ b/lib/librte_vhost/rte_vhost.h\n@@ -23,6 +23,7 @@\n /* These are not C++-aware. */\n #include <linux/vhost.h>\n #include <linux/virtio_ring.h>\n+#include <linux/virtio_net.h>\n \n #define RTE_VHOST_USER_CLIENT\t\t(1ULL << 0)\n #define RTE_VHOST_USER_NO_RECONNECT\t(1ULL << 1)\n",
    "prefixes": []
}