get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 8564,
    "url": "https://patches.dpdk.org/api/patches/8564/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1446550121-27776-1-git-send-email-marcel@redhat.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": "<1446550121-27776-1-git-send-email-marcel@redhat.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1446550121-27776-1-git-send-email-marcel@redhat.com",
    "date": "2015-11-03T11:28:41",
    "name": "[dpdk-dev,Qemu-devel] vhost: fix compilation issue caused by virtio 1.0 support",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "b06df9e6ef073871461028afe5ebef24d9a64bdc",
    "submitter": {
        "id": 331,
        "url": "https://patches.dpdk.org/api/people/331/?format=api",
        "name": "Marcel Apfelbaum",
        "email": "marcel@redhat.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1446550121-27776-1-git-send-email-marcel@redhat.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/8564/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/8564/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 [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id F3ECD8E7A;\n\tTue,  3 Nov 2015 12:28:47 +0100 (CET)",
            "from mx1.redhat.com (mx1.redhat.com [209.132.183.28])\n\tby dpdk.org (Postfix) with ESMTP id D0B258E6E\n\tfor <dev@dpdk.org>; Tue,  3 Nov 2015 12:28:46 +0100 (CET)",
            "from int-mx14.intmail.prod.int.phx2.redhat.com\n\t(int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27])\n\tby mx1.redhat.com (Postfix) with ESMTPS id 1A5C419F384;\n\tTue,  3 Nov 2015 11:28:46 +0000 (UTC)",
            "from work.redhat.com (vpn1-6-51.ams2.redhat.com [10.36.6.51])\n\tby int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with\n\tESMTP id tA3BShwB031567; Tue, 3 Nov 2015 06:28:44 -0500"
        ],
        "From": "Marcel Apfelbaum <marcel@redhat.com>",
        "To": "dev@dpdk.org",
        "Date": "Tue,  3 Nov 2015 13:28:41 +0200",
        "Message-Id": "<1446550121-27776-1-git-send-email-marcel@redhat.com>",
        "X-Scanned-By": "MIMEDefang 2.68 on 10.5.11.27",
        "Cc": "marcel@redhat.com",
        "Subject": "[dpdk-dev] [Qemu-devel] [PATCH] vhost: fix compilation issue caused\n\tby virtio 1.0 support",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "patches and discussions about DPDK <dev.dpdk.org>",
        "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "Commit 15e9ee6982a4822ce395fd597dd500a61ceafa7c (vhost: enable virtio 1.0)\nuses the VIRTIO_F_VERSION_1 macro existing only in newer kernels.\n\nFixed it by manually defining it for older kernels.\n\nReported-by: Xu, Qian Q <qian.q.xu@intel.com>\nSigned-off-by: Marcel Apfelbaum <marcel@redhat.com>\n---\n\nHi,\n\nI reproduced the issue with 3.9.5 kernel and solved using\nXie, Huawei's idea.\n\nBy the way, what is the earlier kernel that DPDK supports?\nI tried 3.19 with no luck.\n\nPlease let me know if you prefer another way to do it.\n\nThanks,\nMarcel\n\n lib/librte_vhost/rte_virtio_net.h | 7 +++++++\n 1 file changed, 7 insertions(+)",
    "diff": "diff --git a/lib/librte_vhost/rte_virtio_net.h b/lib/librte_vhost/rte_virtio_net.h\nindex b6386f9..5687452 100644\n--- a/lib/librte_vhost/rte_virtio_net.h\n+++ b/lib/librte_vhost/rte_virtio_net.h\n@@ -108,6 +108,13 @@ struct vhost_virtqueue {\n  #define VHOST_SUPPORTS_MQ\t0\n #endif\n \n+/*\n+ * Define virtio 1.0 for older kernels\n+ */\n+#ifndef VIRTIO_F_VERSION_1\n+ #define VIRTIO_F_VERSION_1 32\n+#endif\n+\n /**\n  * Device structure contains all configuration information relating to the device.\n  */\n",
    "prefixes": [
        "dpdk-dev",
        "Qemu-devel"
    ]
}