get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 28121,
    "url": "https://patches.dpdk.org/api/patches/28121/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20170831095023.21037-2-maxime.coquelin@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": "<20170831095023.21037-2-maxime.coquelin@redhat.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20170831095023.21037-2-maxime.coquelin@redhat.com",
    "date": "2017-08-31T09:50:03",
    "name": "[dpdk-dev,01/21] Revert \"vhost: workaround MQ fails to startup\"",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "07bdfaed0cd1331cfbfa545b1ce0a88ada889e92",
    "submitter": {
        "id": 512,
        "url": "https://patches.dpdk.org/api/people/512/?format=api",
        "name": "Maxime Coquelin",
        "email": "maxime.coquelin@redhat.com"
    },
    "delegate": {
        "id": 355,
        "url": "https://patches.dpdk.org/api/users/355/?format=api",
        "username": "yliu",
        "first_name": "Yuanhan",
        "last_name": "Liu",
        "email": "yuanhan.liu@linux.intel.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20170831095023.21037-2-maxime.coquelin@redhat.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/28121/comments/",
    "check": "warning",
    "checks": "https://patches.dpdk.org/api/patches/28121/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 6D83D2C72;\n\tThu, 31 Aug 2017 11:51:03 +0200 (CEST)",
            "from mx1.redhat.com (mx1.redhat.com [209.132.183.28])\n\tby dpdk.org (Postfix) with ESMTP id E2BDC2C17\n\tfor <dev@dpdk.org>; Thu, 31 Aug 2017 11:51:01 +0200 (CEST)",
            "from smtp.corp.redhat.com\n\t(int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby mx1.redhat.com (Postfix) with ESMTPS id 226B2285B5;\n\tThu, 31 Aug 2017 09:51:01 +0000 (UTC)",
            "from localhost.localdomain (ovpn-112-32.ams2.redhat.com\n\t[10.36.112.32])\n\tby smtp.corp.redhat.com (Postfix) with ESMTP id 840F3841C1;\n\tThu, 31 Aug 2017 09:50:58 +0000 (UTC)"
        ],
        "DMARC-Filter": "OpenDMARC Filter v1.3.2 mx1.redhat.com 226B2285B5",
        "Authentication-Results": [
            "ext-mx06.extmail.prod.ext.phx2.redhat.com;\n\tdmarc=none (p=none dis=none) header.from=redhat.com",
            "ext-mx06.extmail.prod.ext.phx2.redhat.com;\n\tspf=fail smtp.mailfrom=maxime.coquelin@redhat.com"
        ],
        "From": "Maxime Coquelin <maxime.coquelin@redhat.com>",
        "To": "dev@dpdk.org, yliu@fridaylinux.org, jfreiman@redhat.com,\n\ttiwei.bie@intel.com",
        "Cc": "mst@redhat.com, vkaplans@redhat.com, jasowang@redhat.com,\n\tMaxime Coquelin <maxime.coquelin@redhat.com>",
        "Date": "Thu, 31 Aug 2017 11:50:03 +0200",
        "Message-Id": "<20170831095023.21037-2-maxime.coquelin@redhat.com>",
        "In-Reply-To": "<20170831095023.21037-1-maxime.coquelin@redhat.com>",
        "References": "<20170831095023.21037-1-maxime.coquelin@redhat.com>",
        "X-Scanned-By": "MIMEDefang 2.79 on 10.5.11.12",
        "X-Greylist": "Sender IP whitelisted, not delayed by milter-greylist-4.5.16\n\t(mx1.redhat.com [10.5.110.30]); Thu, 31 Aug 2017 09:51:01 +0000 (UTC)",
        "Subject": "[dpdk-dev] [PATCH 01/21] Revert \"vhost: workaround MQ fails to\n\tstartup\"",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <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": "This reverts commit 04d81227960b5c1cf2f11f492100979ead20c526.\n\nAs agreed when this workaround was introduced, it can be reverted\nas Qemu v2.10 that fixes the issue is now out.\n\nThe reply-ack feature is required for vhost-user IOMMU support.\n\nSigned-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>\n---\n lib/librte_vhost/vhost_user.h | 6 +-----\n 1 file changed, 1 insertion(+), 5 deletions(-)",
    "diff": "diff --git a/lib/librte_vhost/vhost_user.h b/lib/librte_vhost/vhost_user.h\nindex 35ebd7190..2ba22dbb0 100644\n--- a/lib/librte_vhost/vhost_user.h\n+++ b/lib/librte_vhost/vhost_user.h\n@@ -49,14 +49,10 @@\n #define VHOST_USER_PROTOCOL_F_REPLY_ACK\t3\n #define VHOST_USER_PROTOCOL_F_NET_MTU 4\n \n-/*\n- * disable REPLY_ACK feature to workaround the buggy QEMU implementation.\n- * Proved buggy QEMU includes v2.7 - v2.9.\n- */\n #define VHOST_USER_PROTOCOL_FEATURES\t((1ULL << VHOST_USER_PROTOCOL_F_MQ) | \\\n \t\t\t\t\t (1ULL << VHOST_USER_PROTOCOL_F_LOG_SHMFD) |\\\n \t\t\t\t\t (1ULL << VHOST_USER_PROTOCOL_F_RARP) | \\\n-\t\t\t\t\t (0ULL << VHOST_USER_PROTOCOL_F_REPLY_ACK) | \\\n+\t\t\t\t\t (1ULL << VHOST_USER_PROTOCOL_F_REPLY_ACK) | \\\n \t\t\t\t\t (1ULL << VHOST_USER_PROTOCOL_F_NET_MTU))\n \n typedef enum VhostUserRequest {\n",
    "prefixes": [
        "dpdk-dev",
        "01/21"
    ]
}