get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 25142,
    "url": "https://patches.dpdk.org/api/patches/25142/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/c7bab544cc816f489f557d134b27051f79bbe443.1496876859.git.gaetan.rivet@6wind.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": "<c7bab544cc816f489f557d134b27051f79bbe443.1496876859.git.gaetan.rivet@6wind.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/c7bab544cc816f489f557d134b27051f79bbe443.1496876859.git.gaetan.rivet@6wind.com",
    "date": "2017-06-07T23:56:55",
    "name": "[dpdk-dev,v4,09/19] dev: device kernel module is a device attribute",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "b43360751cc7d5119b59fdad1e1fe333199f4ce6",
    "submitter": {
        "id": 269,
        "url": "https://patches.dpdk.org/api/people/269/?format=api",
        "name": "Gaëtan Rivet",
        "email": "gaetan.rivet@6wind.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/c7bab544cc816f489f557d134b27051f79bbe443.1496876859.git.gaetan.rivet@6wind.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/25142/comments/",
    "check": "fail",
    "checks": "https://patches.dpdk.org/api/patches/25142/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 67E7A7CFA;\n\tThu,  8 Jun 2017 01:57:49 +0200 (CEST)",
            "from mail-wm0-f51.google.com (mail-wm0-f51.google.com\n\t[74.125.82.51]) by dpdk.org (Postfix) with ESMTP id 3B74F2C02\n\tfor <dev@dpdk.org>; Thu,  8 Jun 2017 01:57:30 +0200 (CEST)",
            "by mail-wm0-f51.google.com with SMTP id 7so127764765wmo.1\n\tfor <dev@dpdk.org>; Wed, 07 Jun 2017 16:57:30 -0700 (PDT)",
            "from bidouze.dev.6wind.com (host.78.145.23.62.rev.coltfrance.com.\n\t[62.23.145.78]) by smtp.gmail.com with ESMTPSA id\n\t185sm22397056wmp.1.2017.06.07.16.57.28\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tWed, 07 Jun 2017 16:57:28 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=6wind-com.20150623.gappssmtp.com; s=20150623;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references\n\t:in-reply-to:references;\n\tbh=DbW+19DsaqvKcEJ9xmhq4G9hk2DRcdmVIQKqYXFHVI8=;\n\tb=X8nxoS6Vrt7NxHzPBGJA4DIfaaNmuXNtcrtrNY8DcYlXjaLpPjbHUVuevBYSLKnbq7\n\t6G6/6YVtgkmMoN46DZtVfzvlezl46Ds303P8W8kG7eylq+FKN2N3wvzcHciFftWUfFlT\n\t5o6xAi2XYcLuvU2pOhwGBSYUtoj/yBQ0cqOXLhg+H29AHVEE/Kg0hmBczjmE0QUP6kNS\n\tC/pOYcwF2GvYdCsGF+TdXhHOGV5DnkmG9uVgxZ8sEyDVpNXYZnwjsAMQ4GU1ku7+uiDc\n\tu6yeCEz3izq3kCVMXs8lMCiSlUqSBYjw5wRw//zFt2XejJbP8xZKU3ugz8G3j+P+jgnU\n\tM3ww==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references:in-reply-to:references;\n\tbh=DbW+19DsaqvKcEJ9xmhq4G9hk2DRcdmVIQKqYXFHVI8=;\n\tb=O0yfc5qq8gvU+/UmkTRSunGekcKtJzxjS7Miev31IAvjny7jvKgafSE24wr3mZvhJp\n\tt7Kat3qHLFuPtG/7Dct3om5SrcOuzgMHekksrFGr+WYaRcCj2QyVTx5rKQ4DXwZx2SAo\n\txU2KxWhDoFti5jO26Dm6+36eog2+qDg7oUk83RQGLOSwb4gK9Qmjhhq8KV0MPI7yfP01\n\t+WH5iseJVHs8vHRzY0eDwjMe21WTlTuvLomLY0TYdWyuVi1msG7dyzgzxfy8aPwqdkjk\n\t9bgjJVDU652cKaN2wHtgoB8ZQR3px7qkD3g7R7ltyh8Mc+SFu7DJN231LHg/Z3fWtP/N\n\txiNg==",
        "X-Gm-Message-State": "AODbwcAhoO4GShTyO6bK7czr6t2TwB/eg3YzqXWs6S1jcbktBKyJ54sP\n\tI5q8CMImWQRA0w17p2E=",
        "X-Received": "by 10.28.194.68 with SMTP id s65mr1399176wmf.121.1496879849507; \n\tWed, 07 Jun 2017 16:57:29 -0700 (PDT)",
        "From": "Gaetan Rivet <gaetan.rivet@6wind.com>",
        "To": "dev@dpdk.org",
        "Cc": "Gaetan Rivet <gaetan.rivet@6wind.com>",
        "Date": "Thu,  8 Jun 2017 01:56:55 +0200",
        "Message-Id": "<c7bab544cc816f489f557d134b27051f79bbe443.1496876859.git.gaetan.rivet@6wind.com>",
        "X-Mailer": "git-send-email 2.1.4",
        "In-Reply-To": [
            "<cover.1496876859.git.gaetan.rivet@6wind.com>",
            "<cover.1496876859.git.gaetan.rivet@6wind.com>"
        ],
        "References": [
            "<cover.1496309846.git.gaetan.rivet@6wind.com>\n\t<cover.1496876859.git.gaetan.rivet@6wind.com>",
            "<cover.1496876859.git.gaetan.rivet@6wind.com>"
        ],
        "Subject": "[dpdk-dev] [PATCH v4 09/19] dev: device kernel module is a device\n\tattribute",
        "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": "It is used in generic device structures and must not be tied to a bus.\n\nSigned-off-by: Gaetan Rivet <gaetan.rivet@6wind.com>\n---\n lib/librte_eal/common/include/rte_dev.h | 12 ++++++++++++\n lib/librte_eal/common/include/rte_pci.h |  9 ---------\n 2 files changed, 12 insertions(+), 9 deletions(-)",
    "diff": "diff --git a/lib/librte_eal/common/include/rte_dev.h b/lib/librte_eal/common/include/rte_dev.h\nindex 9f35b1f..3162822 100644\n--- a/lib/librte_eal/common/include/rte_dev.h\n+++ b/lib/librte_eal/common/include/rte_dev.h\n@@ -115,6 +115,18 @@ rte_pmd_debug_trace(const char *func_name, const char *fmt, ...)\n } while (0)\n \n /**\n+ * Device driver.\n+ */\n+enum rte_kernel_driver {\n+\tRTE_KDRV_UNKNOWN = 0,\n+\tRTE_KDRV_IGB_UIO,\n+\tRTE_KDRV_VFIO,\n+\tRTE_KDRV_UIO_GENERIC,\n+\tRTE_KDRV_NIC_UIO,\n+\tRTE_KDRV_NONE,\n+};\n+\n+/**\n  * A generic memory resource representation.\n  */\n struct rte_mem_resource {\ndiff --git a/lib/librte_eal/common/include/rte_pci.h b/lib/librte_eal/common/include/rte_pci.h\nindex b82ab9e..51b084e 100644\n--- a/lib/librte_eal/common/include/rte_pci.h\n+++ b/lib/librte_eal/common/include/rte_pci.h\n@@ -120,15 +120,6 @@ struct rte_pci_addr {\n \n struct rte_devargs;\n \n-enum rte_kernel_driver {\n-\tRTE_KDRV_UNKNOWN = 0,\n-\tRTE_KDRV_IGB_UIO,\n-\tRTE_KDRV_VFIO,\n-\tRTE_KDRV_UIO_GENERIC,\n-\tRTE_KDRV_NIC_UIO,\n-\tRTE_KDRV_NONE,\n-};\n-\n /**\n  * A structure describing a PCI device.\n  */\n",
    "prefixes": [
        "dpdk-dev",
        "v4",
        "09/19"
    ]
}