get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 25492,
    "url": "http://patches.dpdk.org/api/patches/25492/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/66ef428e7997e1467be74a0ffd21901778bcd48a.1498001626.git.gaetan.rivet@6wind.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": "<66ef428e7997e1467be74a0ffd21901778bcd48a.1498001626.git.gaetan.rivet@6wind.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/66ef428e7997e1467be74a0ffd21901778bcd48a.1498001626.git.gaetan.rivet@6wind.com",
    "date": "2017-06-20T23:35:48",
    "name": "[dpdk-dev,v5,14/19] net/virtio: do not reference device type",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "901f6fdbf9d209da5bed4374f7714fbe15bca840",
    "submitter": {
        "id": 269,
        "url": "http://patches.dpdk.org/api/people/269/?format=api",
        "name": "Gaëtan Rivet",
        "email": "gaetan.rivet@6wind.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/66ef428e7997e1467be74a0ffd21901778bcd48a.1498001626.git.gaetan.rivet@6wind.com/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/25492/comments/",
    "check": "fail",
    "checks": "http://patches.dpdk.org/api/patches/25492/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 5929D7CCC;\n\tWed, 21 Jun 2017 01:37:09 +0200 (CEST)",
            "from mail-wr0-f179.google.com (mail-wr0-f179.google.com\n\t[209.85.128.179]) by dpdk.org (Postfix) with ESMTP id 139E14BE1\n\tfor <dev@dpdk.org>; Wed, 21 Jun 2017 01:36:22 +0200 (CEST)",
            "by mail-wr0-f179.google.com with SMTP id r103so111606833wrb.0\n\tfor <dev@dpdk.org>; Tue, 20 Jun 2017 16:36:22 -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\tf45sm6463684wrf.2.2017.06.20.16.36.20\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tTue, 20 Jun 2017 16:36:20 -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=tltcn2ywrHrvFxp+NGFVK89mDN6drTPtS1SCyL843bg=;\n\tb=wOEz2eD0kt4Dn/Z9+udHUxXTwPzHwZL5nnqhkyj9gj76IJ+4hSUTEf/GJjj7K3R5GR\n\talBBkYxUOhLu+L3pLfSi7L6oqdcxb5Lba1XZ3rpr4u/5jnkorFqr1cqLOv7yUciRmxyf\n\tfhiTyEnmQ5r6b+XimPBEUZuXFyi8V/XAIxxxPbmoRGZ9aUoimddP5GKfMh+MBHvz3Vf3\n\tYicDB0m1TLqveTzFgz48xhq2pDswAzNIDHNpARgT2JxP0cmB4aTn96eCho7peYTyQsuX\n\t8npn/u73SaXiUaG/sJlxStdPuWnrizNkz4l6L2t6FCANq0hBP04q68InVMafHsOz1rOO\n\tVAtw==",
        "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=tltcn2ywrHrvFxp+NGFVK89mDN6drTPtS1SCyL843bg=;\n\tb=QLSGv6HAo/phb++FjuXp4McvQdjfZGOyWFA5rowRZjXfMQ0YiPo9LDZDA3hYLS9h/N\n\t7YwzneB763cwWPbArZUFMunAB62IL1AgrgevIIyMOHCtLhlLw1EVMhxFzkWxiQ1UnacQ\n\txmZydwXyyCpyuDCk9/hYvzOU73uXm/QyEGXS1AKgmaYCOmXZXBaHw0k9MCqytHv73Hr6\n\tyo2qkMzeIv1HA1vy6Hm29Li5Gvy9osjLD8NyP7HV/y9/CkgLUVsTXGNNIGCrQGy+93ua\n\t4EzSBV6iulhzim06NsOy6sBaghV1URBtfnvqrGmDDbNd6O/E5I/Gowp9Gemf3sdq44S5\n\tfkvg==",
        "X-Gm-Message-State": "AKS2vOxHiBxsJoBQNRlmzbtnMJOk5KaTCxA1F7l6VwCtCDtQBMvD1NWk\n\te00ffVQE8lxnyzzC3V0=",
        "X-Received": "by 10.28.198.66 with SMTP id w63mr4226898wmf.110.1498001781489; \n\tTue, 20 Jun 2017 16:36:21 -0700 (PDT)",
        "From": "Gaetan Rivet <gaetan.rivet@6wind.com>",
        "To": "dev@dpdk.org",
        "Cc": "Gaetan Rivet <gaetan.rivet@6wind.com>",
        "Date": "Wed, 21 Jun 2017 01:35:48 +0200",
        "Message-Id": "<66ef428e7997e1467be74a0ffd21901778bcd48a.1498001626.git.gaetan.rivet@6wind.com>",
        "X-Mailer": "git-send-email 2.1.4",
        "In-Reply-To": [
            "<cover.1498001626.git.gaetan.rivet@6wind.com>",
            "<cover.1498001626.git.gaetan.rivet@6wind.com>"
        ],
        "References": [
            "<cover.1496876859.git.gaetan.rivet@6wind.com>\n\t<cover.1498001626.git.gaetan.rivet@6wind.com>",
            "<cover.1498001626.git.gaetan.rivet@6wind.com>"
        ],
        "Subject": "[dpdk-dev] [PATCH v5 14/19] net/virtio: do not reference device type",
        "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": "Signed-off-by: Gaetan Rivet <gaetan.rivet@6wind.com>\n---\n drivers/net/virtio/virtio_pci.c | 5 +++--\n 1 file changed, 3 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/drivers/net/virtio/virtio_pci.c b/drivers/net/virtio/virtio_pci.c\nindex b7b3d61..cd48fb5 100644\n--- a/drivers/net/virtio/virtio_pci.c\n+++ b/drivers/net/virtio/virtio_pci.c\n@@ -38,6 +38,7 @@\n #endif\n \n #include <rte_io.h>\n+#include <rte_bus.h>\n \n #include \"virtio_pci.h\"\n #include \"virtio_logs.h\"\n@@ -684,8 +685,8 @@ vtpci_init(struct rte_pci_device *dev, struct virtio_hw *hw)\n \tif (rte_pci_ioport_map(dev, 0, VTPCI_IO(hw)) < 0) {\n \t\tif (dev->kdrv == RTE_KDRV_UNKNOWN &&\n \t\t    (!dev->device.devargs ||\n-\t\t     dev->device.devargs->type !=\n-\t\t\tRTE_DEVTYPE_WHITELISTED_PCI)) {\n+\t\t     dev->device.devargs->bus !=\n+\t\t     rte_bus_from_name(PCI_BUS_NAME))) {\n \t\t\tPMD_INIT_LOG(INFO,\n \t\t\t\t\"skip kernel managed virtio device.\");\n \t\t\treturn 1;\n",
    "prefixes": [
        "dpdk-dev",
        "v5",
        "14/19"
    ]
}