get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 12206,
    "url": "http://patches.dpdk.org/api/patches/12206/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1461332640-24273-2-git-send-email-thomas.monjalon@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": "<1461332640-24273-2-git-send-email-thomas.monjalon@6wind.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1461332640-24273-2-git-send-email-thomas.monjalon@6wind.com",
    "date": "2016-04-22T13:43:57",
    "name": "[dpdk-dev,1/4] eal: increase log level of some messages",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "0ecfcef5622a070eea8640323dd49bcd62051cf3",
    "submitter": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/people/1/?format=api",
        "name": "Thomas Monjalon",
        "email": "thomas.monjalon@6wind.com"
    },
    "delegate": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1461332640-24273-2-git-send-email-thomas.monjalon@6wind.com/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/12206/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/12206/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 812AC3990;\n\tFri, 22 Apr 2016 15:44:24 +0200 (CEST)",
            "from mail-wm0-f49.google.com (mail-wm0-f49.google.com\n\t[74.125.82.49]) by dpdk.org (Postfix) with ESMTP id 41D852C18\n\tfor <dev@dpdk.org>; Fri, 22 Apr 2016 15:44:22 +0200 (CEST)",
            "by mail-wm0-f49.google.com with SMTP id v188so21681390wme.1\n\tfor <dev@dpdk.org>; Fri, 22 Apr 2016 06:44:22 -0700 (PDT)",
            "from XPS13.livebox.home\n\t(APoitiers-658-1-12-134.w86-213.abo.wanadoo.fr. [86.213.195.134])\n\tby smtp.gmail.com with ESMTPSA id\n\tqt3sm8149097wjc.32.2016.04.22.06.44.21\n\tfor <dev@dpdk.org> (version=TLSv1/SSLv3 cipher=OTHER);\n\tFri, 22 Apr 2016 06:44:21 -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:subject:date:message-id:in-reply-to:references;\n\tbh=ZEvs0jQ6ABbhXksPHi4w98ePvIL3fY4ZrbUxJuPC6F0=;\n\tb=JGTnQy4+dG8LGeZKdb59OULctAcwUmci6vU0ob8XCJXeaD+hbBIsPi7yS2638K5PwN\n\t1tGglp7cLjey5na2MgkQpJ5GExGy0qJfgRTJ4UNUdvASjWBqdtqj5QVMybk7Wu3EtG5b\n\tnGNNa9poef42zgjaJUxIJ2n+tVITrKGsXFn+nc0UIxZAg6DJqU3MQZUYdYXedK/6DkWx\n\tzxpAfahVt1dxrSBavOtiGHo5uSyh9hBMxPvenPoZroE+FEKmZrWEp+s8IE1t96bigS4H\n\t5gaWCFf0gPGVzzHnR5Ab5RsWqJSDur7GyDR/Q+7rAcK5Z3b0Xe0bzS38XB9drOkyRW2R\n\tWvKg==",
        "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=ZEvs0jQ6ABbhXksPHi4w98ePvIL3fY4ZrbUxJuPC6F0=;\n\tb=UtuUGfHquO32TVc282ofP6G4HeQ3+9CYo+MpAzk5iZH/JK6Q0jDB8XmeSDIJdI+UxU\n\tWt2YzXd+RwspdfkQIVhJhkwLkZ0NoQCr+axQEyk2oCwz0FJqitMF4N2mMhsSV1++izzg\n\tIxCrzG4v80Fm07ucFY2GnKif8sZfPatM7i4th74XLFn5VgCRClgXSrfvpfBMZMXFdYwN\n\tc1a6QMpHzwgYsB4LDXIS1+wGgZmkQZRFCO4ZZlSq+ai02i/JyWKnVY/mC5Z7QKBORdpi\n\tMLWYIlcTa1HQjM9GxbTP87vKBVGljaamfW2d976SZSXk4kNvjuYCcWlcUSftCHQ4+7Xk\n\tLBIQ==",
        "X-Gm-Message-State": "AOPr4FV/Bbtt9hzqNMB4AbEtGG4ZirD+SahKE5t8DzGP6o0eSNaMlzeTAuS/4W2QIivHexSY",
        "X-Received": "by 10.194.16.133 with SMTP id g5mr20771832wjd.42.1461332662058; \n\tFri, 22 Apr 2016 06:44:22 -0700 (PDT)",
        "From": "Thomas Monjalon <thomas.monjalon@6wind.com>",
        "To": "dev@dpdk.org",
        "Date": "Fri, 22 Apr 2016 15:43:57 +0200",
        "Message-Id": "<1461332640-24273-2-git-send-email-thomas.monjalon@6wind.com>",
        "X-Mailer": "git-send-email 2.7.0",
        "In-Reply-To": "<1461332640-24273-1-git-send-email-thomas.monjalon@6wind.com>",
        "References": "<1461332640-24273-1-git-send-email-thomas.monjalon@6wind.com>",
        "Subject": "[dpdk-dev] [PATCH 1/4] eal: increase log level of some messages",
        "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>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "Some relevant EAL logs are raised from debug to info level in order to\nshow the available number of cores and the detected devices.\nThe driver ids and name are logged only if the device is not blacklisted.\n\nSigned-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>\n---\n lib/librte_eal/common/eal_common_lcore.c | 2 +-\n lib/librte_eal/common/eal_common_pci.c   | 8 ++++----\n 2 files changed, 5 insertions(+), 5 deletions(-)",
    "diff": "diff --git a/lib/librte_eal/common/eal_common_lcore.c b/lib/librte_eal/common/eal_common_lcore.c\nindex a4263ba..2cd4132 100644\n--- a/lib/librte_eal/common/eal_common_lcore.c\n+++ b/lib/librte_eal/common/eal_common_lcore.c\n@@ -104,7 +104,7 @@ rte_eal_cpu_init(void)\n \tRTE_LOG(DEBUG, EAL,\n \t\t\"Support maximum %u logical core(s) by configuration.\\n\",\n \t\tRTE_MAX_LCORE);\n-\tRTE_LOG(DEBUG, EAL, \"Detected %u lcore(s)\\n\", config->lcore_count);\n+\tRTE_LOG(INFO, EAL, \"Detected %u lcore(s)\\n\", config->lcore_count);\n \n \treturn 0;\n }\ndiff --git a/lib/librte_eal/common/eal_common_pci.c b/lib/librte_eal/common/eal_common_pci.c\nindex 40f4922..3cae4cb 100644\n--- a/lib/librte_eal/common/eal_common_pci.c\n+++ b/lib/librte_eal/common/eal_common_pci.c\n@@ -165,13 +165,10 @@ rte_eal_pci_probe_one_driver(struct rte_pci_driver *dr, struct rte_pci_device *d\n \n \t\tstruct rte_pci_addr *loc = &dev->addr;\n \n-\t\tRTE_LOG(DEBUG, EAL, \"PCI device \"PCI_PRI_FMT\" on NUMA socket %i\\n\",\n+\t\tRTE_LOG(INFO, EAL, \"PCI device \"PCI_PRI_FMT\" on NUMA socket %i\\n\",\n \t\t\t\tloc->domain, loc->bus, loc->devid, loc->function,\n \t\t\t\tdev->numa_node);\n \n-\t\tRTE_LOG(DEBUG, EAL, \"  probe driver: %x:%x %s\\n\", dev->id.vendor_id,\n-\t\t\t\tdev->id.device_id, dr->name);\n-\n \t\t/* no initialization when blacklisted, return without error */\n \t\tif (dev->devargs != NULL &&\n \t\t\tdev->devargs->type == RTE_DEVTYPE_BLACKLISTED_PCI) {\n@@ -179,6 +176,9 @@ rte_eal_pci_probe_one_driver(struct rte_pci_driver *dr, struct rte_pci_device *d\n \t\t\treturn 1;\n \t\t}\n \n+\t\tRTE_LOG(INFO, EAL, \"  probe driver: %x:%x %s\\n\", dev->id.vendor_id,\n+\t\t\t\tdev->id.device_id, dr->name);\n+\n \t\tif (dr->drv_flags & RTE_PCI_DRV_NEED_MAPPING) {\n \t\t\t/* map resources for devices that use igb_uio */\n \t\t\tret = rte_eal_pci_map_device(dev);\n",
    "prefixes": [
        "dpdk-dev",
        "1/4"
    ]
}