get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 27278,
    "url": "http://patches.dpdk.org/api/patches/27278/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/30721dc00d3d6e2509974511ba4c7d1850191d77.1501496837.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": "<30721dc00d3d6e2509974511ba4c7d1850191d77.1501496837.git.gaetan.rivet@6wind.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/30721dc00d3d6e2509974511ba4c7d1850191d77.1501496837.git.gaetan.rivet@6wind.com",
    "date": "2017-07-31T10:57:05",
    "name": "[dpdk-dev] dev: fix virtual dev attach",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "cd23ebfdb989ec8ec618e1db277ad8160b0af2d8",
    "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/30721dc00d3d6e2509974511ba4c7d1850191d77.1501496837.git.gaetan.rivet@6wind.com/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/27278/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/27278/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 B728799E0;\n\tMon, 31 Jul 2017 12:57:20 +0200 (CEST)",
            "from mail-wr0-f176.google.com (mail-wr0-f176.google.com\n\t[209.85.128.176]) by dpdk.org (Postfix) with ESMTP id 4EF3799DE\n\tfor <dev@dpdk.org>; Mon, 31 Jul 2017 12:57:19 +0200 (CEST)",
            "by mail-wr0-f176.google.com with SMTP id 12so177877964wrb.1\n\tfor <dev@dpdk.org>; Mon, 31 Jul 2017 03:57:19 -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\tq141sm5544055wmb.11.2017.07.31.03.57.17\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tMon, 31 Jul 2017 03:57:17 -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;\n\tbh=qEZbFLGxtHlU/YBWqOrbFX/OYUyQCsqo5riFQjsm0b4=;\n\tb=uODkQHfy3Lo9NRD78x2BxlsTwGZdidjWMdHtqmOGPbYWBQF8Go+1cmaYbZLpLPe24a\n\txipUsT47RCd3o0OnL7tyGyChB8G3ptX1zfMhGXhmU/zKm8Va1fFv1Q/+LSGBtiKIJVN9\n\tBlJimgv2vZ+sI7CV6RD0Qs7RjZ30QoQFbX/Y10GYr424+w81v+9SDUFXw6vQqG1cR33G\n\tU1qev38aID0s79GKPvy+0T7j66WbvchBBT6lBdhIBWdYmEp6KVBcMB9FWK+/1vU04vV0\n\tEY0EoZ86pM+r+EhQ0VbvfrXyNZVHLmYgIY9f10cUW+kIxtSItw4FCyu9FRfe8OcpSwc5\n\twYfQ==",
        "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;\n\tbh=qEZbFLGxtHlU/YBWqOrbFX/OYUyQCsqo5riFQjsm0b4=;\n\tb=BwFcresoS5fRd2ofHUozM3if6pV2DjtrmbNJvug/60Ma2qHH6dhS802yR/2z8SfOAa\n\tzx1lECTEMm6D68AZnqypTBghfJW0c+lotUXth8n+apcOebOhKdTny3OpZD4TyfRFGZb/\n\tbUVqyXGw5cGIh1n3BiOuEsuCOHp+OKvVPrZi48zvoLC+enfvE7PHQEKqicbW49xr/u0V\n\tM5owbZvwtluMlrm1o+ZYi+9EUx4FptuNA6QHWo7r8e+LBwRcr/vYmnX/N2FhsidqJ0MN\n\teq7G/aVGh9O1U0xfI6lRSuu6V5SYVTXubxSi7PGo3O8IIPAHzOrCgRG9jZP7X74ph/f+\n\tWtQA==",
        "X-Gm-Message-State": "AIVw113X16MN9SWdK8CGIu0weZYCt8blJz1bFxhE/ftQWlhq7Xst7f3r\n\tKPVXzMFI6bNBDoxR3+g=",
        "X-Received": "by 10.223.145.106 with SMTP id j97mr2384226wrj.172.1501498638575;\n\tMon, 31 Jul 2017 03:57:18 -0700 (PDT)",
        "From": "Gaetan Rivet <gaetan.rivet@6wind.com>",
        "To": "dev@dpdk.org",
        "Cc": "Gaetan Rivet <gaetan.rivet@6wind.com>",
        "Date": "Mon, 31 Jul 2017 12:57:05 +0200",
        "Message-Id": "<30721dc00d3d6e2509974511ba4c7d1850191d77.1501496837.git.gaetan.rivet@6wind.com>",
        "X-Mailer": "git-send-email 2.1.4",
        "Subject": "[dpdk-dev] [PATCH] dev: fix virtual dev attach",
        "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": "If the device cannot be parsed as a PCI device, the rte_devargs\nfunction returns -EFAULT. This error code signifies that the address\ngiven to the PCI bus is invalid. When it happens, the best course of\naction is to try to plug the device using the vdev bus.\n\nFixes: 1c35f666df07 (\"dev: fix attach proceeding with vdev on PCI\nsuccess\")\n\nSigned-off-by: Gaetan Rivet <gaetan.rivet@6wind.com>\n---\n lib/librte_eal/common/eal_common_dev.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/lib/librte_eal/common/eal_common_dev.c b/lib/librte_eal/common/eal_common_dev.c\nindex d74f978..97b063e 100644\n--- a/lib/librte_eal/common/eal_common_dev.c\n+++ b/lib/librte_eal/common/eal_common_dev.c\n@@ -74,7 +74,7 @@ int rte_eal_dev_attach(const char *name, const char *devargs)\n \t}\n \n \tret = rte_eal_hotplug_add(\"pci\", name, devargs);\n-\tif (ret != -EINVAL)\n+\tif (ret != -EINVAL && ret != -EFAULT)\n \t\treturn ret;\n \n \t/*\n",
    "prefixes": [
        "dpdk-dev"
    ]
}