get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1206,
    "url": "https://patches.dpdk.org/api/patches/1206/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1415364512-9918-1-git-send-email-thomas.monjalon@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": "<1415364512-9918-1-git-send-email-thomas.monjalon@6wind.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1415364512-9918-1-git-send-email-thomas.monjalon@6wind.com",
    "date": "2014-11-07T12:48:32",
    "name": "[dpdk-dev] app, examples: remove references to drivers config",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "4ff91d75fe544c61090351548085a7d5a20e61a1",
    "submitter": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/people/1/?format=api",
        "name": "Thomas Monjalon",
        "email": "thomas.monjalon@6wind.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1415364512-9918-1-git-send-email-thomas.monjalon@6wind.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/1206/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/1206/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 D22827F58;\n\tFri,  7 Nov 2014 13:39:34 +0100 (CET)",
            "from mail-wi0-f176.google.com (mail-wi0-f176.google.com\n\t[209.85.212.176]) by dpdk.org (Postfix) with ESMTP id ED9A37F54\n\tfor <dev@dpdk.org>; Fri,  7 Nov 2014 13:39:33 +0100 (CET)",
            "by mail-wi0-f176.google.com with SMTP id h11so4444029wiw.9\n\tfor <dev@dpdk.org>; Fri, 07 Nov 2014 04:49:05 -0800 (PST)",
            "from localhost.localdomain (136-92-190-109.dsl.ovh.fr.\n\t[109.190.92.136]) by mx.google.com with ESMTPSA id\n\ttd9sm1935122wic.15.2014.11.07.04.49.03 for <multiple recipients>\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tFri, 07 Nov 2014 04:49:04 -0800 (PST)"
        ],
        "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:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=r3HezPkqW9ezk2yysJKoN2Qo5uzVAvQzzsPob/USXmc=;\n\tb=jZ1eLhTtlQ8yiO2kSRXWMzEpvyCSQgx7di05lNbZkgWbzChlR3UK4xYPd9A38J2F2r\n\thdv7dYAUGnm/5jVH9a0cwUsM3HetAD+BfbvZm61MFQ4xoqutrR1+RscaiWLvi9m9SZ6v\n\tu6uVjJQvFT+4TmISFAiq8C/yMsMO/2tmp93TjOQqTJaGx4SNGNTMpS2pJM1S03Vh0e0F\n\t2ZaRnIX/2WQ5SLht0PEZ+6sIFcWSlKrGZckMMsWnUC9PhPEfErLSOW9JBNDavTtlzUUf\n\t7uOZKPOY2Di4vm4N/AD/6EInncfXp/Q/dkmAJNL3OTegGnnH0+XY7LHCMSICaR8ZvUwz\n\tHH4Q==",
        "X-Gm-Message-State": "ALoCoQnTq1U8s3HUc6Gev7Lw5Ek4E+heb7zawxyfxE1MsA1T5AZgNDgH00keP/8ggpr4CO6Id1qP",
        "X-Received": "by 10.194.110.161 with SMTP id ib1mr16607624wjb.78.1415364545053;\n\tFri, 07 Nov 2014 04:49:05 -0800 (PST)",
        "From": "Thomas Monjalon <thomas.monjalon@6wind.com>",
        "To": "dev@dpdk.org",
        "Date": "Fri,  7 Nov 2014 13:48:32 +0100",
        "Message-Id": "<1415364512-9918-1-git-send-email-thomas.monjalon@6wind.com>",
        "X-Mailer": "git-send-email 2.1.3",
        "In-Reply-To": "<1404374093-29710-1-git-send-email-helin.zhang@intel.com>",
        "References": "<1404374093-29710-1-git-send-email-helin.zhang@intel.com>",
        "Subject": "[dpdk-dev] [PATCH] app,\n\texamples: remove references to drivers config",
        "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": "These references to drivers break the layering isolation between\napplication and drivers.\n\nSigned-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>\n---\n app/test-pmd/testpmd.c         | 7 +------\n examples/exception_path/main.c | 4 +---\n examples/kni/main.c            | 4 +---\n 3 files changed, 3 insertions(+), 12 deletions(-)",
    "diff": "diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c\nindex f76406f..c373e3a 100644\n--- a/app/test-pmd/testpmd.c\n+++ b/app/test-pmd/testpmd.c\n@@ -1870,12 +1870,7 @@ main(int argc, char** argv)\n \n \tnb_ports = (portid_t) rte_eth_dev_count();\n \tif (nb_ports == 0)\n-\t\trte_exit(EXIT_FAILURE, \"No probed ethernet devices - \"\n-\t\t\t\t\t\t\t\"check that \"\n-\t\t\t  \"CONFIG_RTE_LIBRTE_IGB_PMD=y and that \"\n-\t\t\t  \"CONFIG_RTE_LIBRTE_EM_PMD=y and that \"\n-\t\t\t  \"CONFIG_RTE_LIBRTE_IXGBE_PMD=y in your \"\n-\t\t\t  \"configuration file\\n\");\n+\t\trte_exit(EXIT_FAILURE, \"No probed ethernet devices\\n\");\n \n \tset_def_fwd_config();\n \tif (nb_lcores == 0)\ndiff --git a/examples/exception_path/main.c b/examples/exception_path/main.c\nindex 3f8b1fb..692383b 100644\n--- a/examples/exception_path/main.c\n+++ b/examples/exception_path/main.c\n@@ -546,9 +546,7 @@ main(int argc, char** argv)\n \t/* Get number of ports found in scan */\n \tnb_sys_ports = rte_eth_dev_count();\n \tif (nb_sys_ports == 0)\n-\t\tFATAL_ERROR(\"No supported Ethernet devices found - check that \"\n-\t\t            \"CONFIG_RTE_LIBRTE_IGB_PMD=y and/or \"\n-\t\t            \"CONFIG_RTE_LIBRTE_IXGBE_PMD=y in the config file\");\n+\t\tFATAL_ERROR(\"No supported Ethernet devices found\");\n \t/* Find highest port set in portmask */\n \tfor (high_port = (sizeof(ports_mask) * 8) - 1;\n \t\t\t(high_port != 0) && !(ports_mask & (1 << high_port));\ndiff --git a/examples/kni/main.c b/examples/kni/main.c\nindex 1344a87..370ae1c 100644\n--- a/examples/kni/main.c\n+++ b/examples/kni/main.c\n@@ -881,9 +881,7 @@ main(int argc, char** argv)\n \t/* Get number of ports found in scan */\n \tnb_sys_ports = rte_eth_dev_count();\n \tif (nb_sys_ports == 0)\n-\t\trte_exit(EXIT_FAILURE, \"No supported Ethernet devices found - \"\n-\t\t\t\"check that CONFIG_RTE_LIBRTE_IGB_PMD=y and/or \"\n-\t\t\t\"CONFIG_RTE_LIBRTE_IXGBE_PMD=y in the config file\\n\");\n+\t\trte_exit(EXIT_FAILURE, \"No supported Ethernet devices found\\n\");\n \n \t/* Check if the configured port ID is valid */\n \tfor (i = 0; i < RTE_MAX_ETHPORTS; i++)\n",
    "prefixes": [
        "dpdk-dev"
    ]
}