get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 35148,
    "url": "http://patches.dpdk.org/api/patches/35148/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1518534227-104477-1-git-send-email-martinx.klozik@intel.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": "<1518534227-104477-1-git-send-email-martinx.klozik@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1518534227-104477-1-git-send-email-martinx.klozik@intel.com",
    "date": "2018-02-13T15:03:47",
    "name": "[dpdk-dev] ethdev: adjust error log level",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "737c1ed6bc24cf123bbf01d7ff6f9864b6fffe35",
    "submitter": {
        "id": 980,
        "url": "http://patches.dpdk.org/api/people/980/?format=api",
        "name": "Martin Klozik",
        "email": "martinx.klozik@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1518534227-104477-1-git-send-email-martinx.klozik@intel.com/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/35148/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/35148/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 [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id C93EC1B2D3;\n\tTue, 13 Feb 2018 16:04:30 +0100 (CET)",
            "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n\tby dpdk.org (Postfix) with ESMTP id 6035C1B2C6\n\tfor <dev@dpdk.org>; Tue, 13 Feb 2018 16:04:29 +0100 (CET)",
            "from fmsmga001.fm.intel.com ([10.253.24.23])\n\tby orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t13 Feb 2018 07:04:27 -0800",
            "from irvmail001.ir.intel.com ([163.33.26.43])\n\tby fmsmga001.fm.intel.com with ESMTP; 13 Feb 2018 07:04:25 -0800",
            "from silpixa00389822.ir.intel.com (silpixa00389822.ir.intel.com\n\t[10.237.219.151])\n\tby irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id\n\tw1DF4PiO017278; Tue, 13 Feb 2018 15:04:25 GMT"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.46,507,1511856000\"; d=\"scan'208\";a=\"30415128\"",
        "From": "Martin Klozik <martinx.klozik@intel.com>",
        "To": "Thomas Monjalon <thomas@monjalon.net>",
        "Cc": "dev@dpdk.org, Martin Klozik <martinx.klozik@intel.com>",
        "Date": "Tue, 13 Feb 2018 15:03:47 +0000",
        "Message-Id": "<1518534227-104477-1-git-send-email-martinx.klozik@intel.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "Subject": "[dpdk-dev] [PATCH] ethdev: adjust error log level",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://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": "<https://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": "DPDK API does not propagate the reason of device allocation failure\nfrom rte_eth_dev_allocate() up to the DPDK application (e.g. Open\nvSwitch).\nLog level of associated log entries was changed to warning. So user\ncan find additional details in log files also in production systems,\nwhere debug messages cannot be turned on.\n\nSigned-off-by: Martin Klozik <martinx.klozik@intel.com>\n---\n lib/librte_ether/rte_ethdev.c | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/lib/librte_ether/rte_ethdev.c b/lib/librte_ether/rte_ethdev.c\nindex a6ce2a5..0590f0c 100644\n--- a/lib/librte_ether/rte_ethdev.c\n+++ b/lib/librte_ether/rte_ethdev.c\n@@ -277,12 +277,12 @@ rte_eth_dev_allocate(const char *name)\n \n \tport_id = rte_eth_dev_find_free_port();\n \tif (port_id == RTE_MAX_ETHPORTS) {\n-\t\tRTE_PMD_DEBUG_TRACE(\"Reached maximum number of Ethernet ports\\n\");\n+\t\tRTE_LOG(ERR, EAL, \"Reached maximum number of Ethernet ports\\n\");\n \t\tgoto unlock;\n \t}\n \n \tif (rte_eth_dev_allocated(name) != NULL) {\n-\t\tRTE_PMD_DEBUG_TRACE(\"Ethernet Device with name %s already allocated!\\n\",\n+\t\tRTE_LOG(ERR, EAL, \"Ethernet Device with name %s already allocated!\\n\",\n \t\t\t\tname);\n \t\tgoto unlock;\n \t}\n",
    "prefixes": [
        "dpdk-dev"
    ]
}