get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 244,
    "url": "https://patches.dpdk.org/api/patches/244/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1409062338-26477-4-git-send-email-david.marchand@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": "<1409062338-26477-4-git-send-email-david.marchand@6wind.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1409062338-26477-4-git-send-email-david.marchand@6wind.com",
    "date": "2014-08-26T14:12:18",
    "name": "[dpdk-dev,3/3] eal: probe pci devices at rte_eal_init time",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "940674ffbbe65221f20f8f55a30cc389d03e7fe8",
    "submitter": {
        "id": 3,
        "url": "https://patches.dpdk.org/api/people/3/?format=api",
        "name": "David Marchand",
        "email": "david.marchand@6wind.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1409062338-26477-4-git-send-email-david.marchand@6wind.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/244/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/244/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<david.marchand@6wind.com>",
        "Received": [
            "from mail-wi0-f175.google.com (mail-wi0-f175.google.com\n\t[209.85.212.175]) by dpdk.org (Postfix) with ESMTP id A8893B3E0\n\tfor <dev@dpdk.org>; Tue, 26 Aug 2014 16:08:27 +0200 (CEST)",
            "by mail-wi0-f175.google.com with SMTP id ho1so4272138wib.2\n\tfor <dev@dpdk.org>; Tue, 26 Aug 2014 07:12:27 -0700 (PDT)",
            "from alcyon.dev.6wind.com (guy78-3-82-239-227-177.fbx.proxad.net.\n\t[82.239.227.177]) by mx.google.com with ESMTPSA id\n\tcy9sm12568145wib.18.2014.08.26.07.12.26 for <dev@dpdk.org>\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tTue, 26 Aug 2014 07:12:27 -0700 (PDT)"
        ],
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20130820;\n\th=x-gm-message-state:from:to:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=ZUJdz+meQgpQmxuKoPPBh6RbUPBcy9/V4b+1xDbRTDI=;\n\tb=SefEwvA+hMd0ZB0SjH72ECrBpfqwRj7Dy0QQ8PHZ7++cz4j/uHCtzo2abl0Hh63Q0s\n\tE96aiWpAsGT+5GPiNpIkWa0eGKiNKMfYz/9FjD3U+CbkJ5yRc1q0/b68dEbJL/JpYgc3\n\tXFFQEKyVWPUEGchUL3mAdneaUu9LwYKTCdyDQFU3So594mjyqeF6xIE2eZIWrLyQZ61Z\n\t2i3YpJajnPjTTHRaTWnzI4C0uBQWCdDkPxN8y19jxn5ihd1yTCE/mrV1ZdkZi5BMErKu\n\tU5SZ2EO2j1FpPYHPjWvfCW7hniuIFLZS0KSPRJGIpjtUy/eC2E1+fIph+wWYPT4iiscF\n\tIKYw==",
        "X-Gm-Message-State": "ALoCoQnZ8gSJTUwwJhe61St9YCvGOHHBnnGkpHPbo3hkUJLk3giuhP9NlLKeNXvn4aOI1EpnOb2O",
        "X-Received": "by 10.194.63.37 with SMTP id d5mr16440766wjs.92.1409062347728;\n\tTue, 26 Aug 2014 07:12:27 -0700 (PDT)",
        "From": "David Marchand <david.marchand@6wind.com>",
        "To": "dev@dpdk.org",
        "Date": "Tue, 26 Aug 2014 16:12:18 +0200",
        "Message-Id": "<1409062338-26477-4-git-send-email-david.marchand@6wind.com>",
        "X-Mailer": "git-send-email 1.7.10.4",
        "In-Reply-To": "<1409062338-26477-1-git-send-email-david.marchand@6wind.com>",
        "References": "<1409062338-26477-1-git-send-email-david.marchand@6wind.com>",
        "Subject": "[dpdk-dev] [PATCH 3/3] eal: probe pci devices at rte_eal_init time",
        "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>",
        "X-List-Received-Date": "Tue, 26 Aug 2014 14:08:28 -0000"
    },
    "content": "Restore call to rte_eal_pci_probe() from commit\na155d430119d947d3cb03136ce50924a642dbfe0 so that applications do not have to\nknow that pci devices should be probed.\n\nSigned-off-by: David Marchand <david.marchand@6wind.com>\n---\n lib/librte_eal/bsdapp/eal/eal.c   |    4 ++++\n lib/librte_eal/linuxapp/eal/eal.c |    4 ++++\n 2 files changed, 8 insertions(+)",
    "diff": "diff --git a/lib/librte_eal/bsdapp/eal/eal.c b/lib/librte_eal/bsdapp/eal/eal.c\nindex 6ca8758..34f29f1 100644\n--- a/lib/librte_eal/bsdapp/eal/eal.c\n+++ b/lib/librte_eal/bsdapp/eal/eal.c\n@@ -930,6 +930,10 @@ rte_eal_init(int argc, char **argv)\n \trte_eal_mp_remote_launch(sync_func, NULL, SKIP_MASTER);\n \trte_eal_mp_wait_lcore();\n \n+\t/* Probe & Initialize PCI devices */\n+\tif (rte_eal_pci_probe())\n+\t\t\trte_panic(\"Cannot probe PCI\\n\");\n+\n \treturn fctret;\n }\n \ndiff --git a/lib/librte_eal/linuxapp/eal/eal.c b/lib/librte_eal/linuxapp/eal/eal.c\nindex 392bedf..0ae5959 100644\n--- a/lib/librte_eal/linuxapp/eal/eal.c\n+++ b/lib/librte_eal/linuxapp/eal/eal.c\n@@ -1207,6 +1207,10 @@ rte_eal_init(int argc, char **argv)\n \trte_eal_mp_remote_launch(sync_func, NULL, SKIP_MASTER);\n \trte_eal_mp_wait_lcore();\n \n+\t/* Probe & Initialize PCI devices */\n+\tif (rte_eal_pci_probe())\n+\t\t\trte_panic(\"Cannot probe PCI\\n\");\n+\n \treturn fctret;\n }\n \n",
    "prefixes": [
        "dpdk-dev",
        "3/3"
    ]
}