get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 41245,
    "url": "https://patches.dpdk.org/api/patches/41245/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20180619010457.61490-3-ferruh.yigit@intel.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": "<20180619010457.61490-3-ferruh.yigit@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20180619010457.61490-3-ferruh.yigit@intel.com",
    "date": "2018-06-19T01:04:57",
    "name": "[v4,3/3] eal: don't enable static log macro for ethdev",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "0f24a2eb4025b12f835d566aa51b3e5add940003",
    "submitter": {
        "id": 324,
        "url": "https://patches.dpdk.org/api/people/324/?format=api",
        "name": "Ferruh Yigit",
        "email": "ferruh.yigit@intel.com"
    },
    "delegate": {
        "id": 319,
        "url": "https://patches.dpdk.org/api/users/319/?format=api",
        "username": "fyigit",
        "first_name": "Ferruh",
        "last_name": "Yigit",
        "email": "ferruh.yigit@amd.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20180619010457.61490-3-ferruh.yigit@intel.com/mbox/",
    "series": [
        {
            "id": 159,
            "url": "https://patches.dpdk.org/api/series/159/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=159",
            "date": "2018-06-19T01:04:55",
            "name": "[v4,1/3] ethdev: move log macro to header",
            "version": 4,
            "mbox": "https://patches.dpdk.org/series/159/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/41245/comments/",
    "check": "fail",
    "checks": "https://patches.dpdk.org/api/patches/41245/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 527CB2C16;\n\tTue, 19 Jun 2018 02:05:28 +0200 (CEST)",
            "from mga18.intel.com (mga18.intel.com [134.134.136.126])\n\tby dpdk.org (Postfix) with ESMTP id DC8632BE5\n\tfor <dev@dpdk.org>; Tue, 19 Jun 2018 02:05:23 +0200 (CEST)",
            "from orsmga003.jf.intel.com ([10.7.209.27])\n\tby orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t18 Jun 2018 17:05:23 -0700",
            "from silpixa00399752.ir.intel.com (HELO\n\tsilpixa00399752.ger.corp.intel.com) ([10.237.222.212])\n\tby orsmga003.jf.intel.com with ESMTP; 18 Jun 2018 17:05:22 -0700"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.51,241,1526367600\"; d=\"scan'208\";a=\"60275276\"",
        "From": "Ferruh Yigit <ferruh.yigit@intel.com>",
        "To": "Thomas Monjalon <thomas@monjalon.net>",
        "Cc": "dev@dpdk.org,\n\tFerruh Yigit <ferruh.yigit@intel.com>",
        "Date": "Tue, 19 Jun 2018 02:04:57 +0100",
        "Message-Id": "<20180619010457.61490-3-ferruh.yigit@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20180619010457.61490-1-ferruh.yigit@intel.com>",
        "References": "<20180514155648.81149-1-ferruh.yigit@intel.com>\n\t<20180619010457.61490-1-ferruh.yigit@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v4 3/3] eal: don't enable static log macro for\n\tethdev",
        "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://mails.dpdk.org/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "static logging macro RTE_PMD_DEBUG_TRACE is enabled with a few DEBUG\nconfig options, including RTE_LIBRTE_ETHDEV_DEBUG\n\nRTE_LIBRTE_ETHDEV_DEBUG is still used for data path logging, but all\nethdev logging switched to dynamic logging, so no need to enable static\nlogging macro for ethdev.\n\nSigned-off-by: Ferruh Yigit <ferruh.yigit@intel.com>\n---\n lib/librte_eal/common/include/rte_dev.h | 3 +--\n 1 file changed, 1 insertion(+), 2 deletions(-)",
    "diff": "diff --git a/lib/librte_eal/common/include/rte_dev.h b/lib/librte_eal/common/include/rte_dev.h\nindex 3879ff3ca..ba6e445fc 100644\n--- a/lib/librte_eal/common/include/rte_dev.h\n+++ b/lib/librte_eal/common/include/rte_dev.h\n@@ -69,8 +69,7 @@ rte_pmd_debug_trace(const char *func_name, const char *fmt, ...)\n  * Enable RTE_PMD_DEBUG_TRACE() when at least one component relying on the\n  * RTE_*_RET() macros defined below is compiled in debug mode.\n  */\n-#if defined(RTE_LIBRTE_ETHDEV_DEBUG) || \\\n-\tdefined(RTE_LIBRTE_CRYPTODEV_DEBUG) || \\\n+#if defined(RTE_LIBRTE_CRYPTODEV_DEBUG) || \\\n \tdefined(RTE_LIBRTE_EVENTDEV_DEBUG)\n #define RTE_PMD_DEBUG_TRACE(...) \\\n \trte_pmd_debug_trace(__func__, __VA_ARGS__)\n",
    "prefixes": [
        "v4",
        "3/3"
    ]
}