get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 50529,
    "url": "https://patches.dpdk.org/api/patches/50529/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20190226213424.10567-5-stephen@networkplumber.org/",
    "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": "<20190226213424.10567-5-stephen@networkplumber.org>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20190226213424.10567-5-stephen@networkplumber.org",
    "date": "2019-02-26T21:34:23",
    "name": "[4/5] eal: remove RTE_PMD_DEBUG_TRACE",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "48008afb3b7624b8696a495b7701f23e9fdc0ad7",
    "submitter": {
        "id": 27,
        "url": "https://patches.dpdk.org/api/people/27/?format=api",
        "name": "Stephen Hemminger",
        "email": "stephen@networkplumber.org"
    },
    "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/20190226213424.10567-5-stephen@networkplumber.org/mbox/",
    "series": [
        {
            "id": 3553,
            "url": "https://patches.dpdk.org/api/series/3553/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=3553",
            "date": "2019-02-26T21:34:19",
            "name": "no longer use RTE_LOGTYPE_PMD",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/3553/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/50529/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/50529/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 17C7A4C93;\n\tTue, 26 Feb 2019 22:34:37 +0100 (CET)",
            "from mail-pl1-f195.google.com (mail-pl1-f195.google.com\n\t[209.85.214.195]) by dpdk.org (Postfix) with ESMTP id E184B4C77\n\tfor <dev@dpdk.org>; Tue, 26 Feb 2019 22:34:33 +0100 (CET)",
            "by mail-pl1-f195.google.com with SMTP id y5so6849222plk.8\n\tfor <dev@dpdk.org>; Tue, 26 Feb 2019 13:34:33 -0800 (PST)",
            "from shemminger-XPS-13-9360.lan (204-195-22-127.wavecable.com.\n\t[204.195.22.127]) by smtp.gmail.com with ESMTPSA id\n\th75sm22191108pfd.150.2019.02.26.13.34.31\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tTue, 26 Feb 2019 13:34:31 -0800 (PST)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=networkplumber-org.20150623.gappssmtp.com; s=20150623;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=tM2FBJtCGqLbR2tDEn0Rts17RV6MzwcUez7IXfhTXIA=;\n\tb=rrid/WcPNoY4D7QDW5Vh1OGf76bziVSAKmrbWZNGLYUCKWEKdiMbkixLUwNG6rZyJg\n\tkypUbks3NePtnMe/fb1xWvIztOV3yWO/O6qYEPu+hBIm3nkqx4wVsYfgkBAGvcnV4MhX\n\tNQFbhKzXLKJ6nho6K87TINnvLB3/ZDlID8xIYxsVuygv/Dyvp2ivMYV8kYijSXc5dtjs\n\tZvQwvjhrZlFxRJQwqHGRLeHjJ2ZP/v2AidHvjl9zu7ziZIRyz7oyJmm0bTi72gebZEpU\n\tbkpNW46/yf522eoicNcFXQtDD3ghYTK/HKcPXzBaPV5nOoCfdLmefYwMVIP1Bkpr3Ac+\n\t3+Ww==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=tM2FBJtCGqLbR2tDEn0Rts17RV6MzwcUez7IXfhTXIA=;\n\tb=lvq/ZyFapI39lJv3OP9KyA6EPtmL7K9SOpm/i4hZd6fZRHxRc294tiMNesILy19oMf\n\t8vHgCZB63KEqx886igyQBwZwAA1yNHZfV+X4KVs09WOeFrORryF5zKWpjv7QBSFGx4VJ\n\tXhdn9aA+13JTd9Q/HiRa+08Jawm+5r6bdG1ShYdHz3zc8TbrqCZvVGLsLZ29Zcuteiea\n\tXk5uxKA+CH8IjoPpy6LopP8XQMnzJPGkEAWNcwK2UlRh+zQSCbu3ZauPFTRsuNffha3k\n\tdDElrKkgSkQvFCvyqPQcxUQMSLIOvtR8n2yr4NB78NFAqquB+A5SMIJx+YDcsS8f0F+i\n\t4bsw==",
        "X-Gm-Message-State": "AHQUAuaHs3sXQqAFQE8Uwy/oumqeTmwHocJ5hT+KbB3Q8c7NFql7/6pL\n\tg/l38TZm6EkZrcuxmuDNpYYL/S6OF1A=",
        "X-Google-Smtp-Source": "AHgI3IZQDZhWiJfJEdafZQxMFdHhNM1hot/Bk0fptCvMAIYGeCGo8hr9WLriiPpV3YCNJBwxlTNWJA==",
        "X-Received": "by 2002:a17:902:22f:: with SMTP id\n\t44mr683891plc.249.1551216872748; \n\tTue, 26 Feb 2019 13:34:32 -0800 (PST)",
        "From": "Stephen Hemminger <stephen@networkplumber.org>",
        "To": "dev@dpdk.org",
        "Cc": "Stephen Hemminger <stephen@networkplumber.org>",
        "Date": "Tue, 26 Feb 2019 13:34:23 -0800",
        "Message-Id": "<20190226213424.10567-5-stephen@networkplumber.org>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20190226213424.10567-1-stephen@networkplumber.org>",
        "References": "<20190226213424.10567-1-stephen@networkplumber.org>",
        "Subject": "[dpdk-dev] [PATCH 4/5] eal: remove RTE_PMD_DEBUG_TRACE",
        "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": "The RTE_PMD_DEBUG_TRACE was only enabled for EVENTDEV_DEBUG and\nthat configuration is now handled by RTE_EDEV_LOG macros.\n\nSigned-off-by: Stephen Hemminger <stephen@networkplumber.org>\n---\n lib/librte_eal/common/include/rte_dev.h | 41 ++-----------------------\n 1 file changed, 2 insertions(+), 39 deletions(-)",
    "diff": "diff --git a/lib/librte_eal/common/include/rte_dev.h b/lib/librte_eal/common/include/rte_dev.h\nindex 5e16a4f86b70..3cad4bce57bf 100644\n--- a/lib/librte_eal/common/include/rte_dev.h\n+++ b/lib/librte_eal/common/include/rte_dev.h\n@@ -43,52 +43,15 @@ typedef void (*rte_dev_event_cb_fn)(const char *device_name,\n \t\t\t\t\tenum rte_dev_event_type event,\n \t\t\t\t\tvoid *cb_arg);\n \n-__attribute__((format(printf, 2, 0)))\n-static inline void\n-rte_pmd_debug_trace(const char *func_name, const char *fmt, ...)\n-{\n-\tva_list ap;\n-\n-\tva_start(ap, fmt);\n-\n-\t{\n-\t\tchar buffer[vsnprintf(NULL, 0, fmt, ap) + 1];\n-\n-\t\tva_end(ap);\n-\n-\t\tva_start(ap, fmt);\n-\t\tvsnprintf(buffer, sizeof(buffer), fmt, ap);\n-\t\tva_end(ap);\n-\n-\t\trte_log(RTE_LOG_ERR, RTE_LOGTYPE_PMD, \"%s: %s\",\n-\t\t\tfunc_name, buffer);\n-\t}\n-}\n-\n-/*\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_EVENTDEV_DEBUG)\n-#define RTE_PMD_DEBUG_TRACE(...) \\\n-\trte_pmd_debug_trace(__func__, __VA_ARGS__)\n-#else\n-#define RTE_PMD_DEBUG_TRACE(...) (void)0\n-#endif\n-\n /* Macros to check for invalid function pointers */\n #define RTE_FUNC_PTR_OR_ERR_RET(func, retval) do { \\\n-\tif ((func) == NULL) { \\\n-\t\tRTE_PMD_DEBUG_TRACE(\"Function not supported\\n\"); \\\n+\tif ((func) == NULL) \\\n \t\treturn retval; \\\n-\t} \\\n } while (0)\n \n #define RTE_FUNC_PTR_OR_RET(func) do { \\\n-\tif ((func) == NULL) { \\\n-\t\tRTE_PMD_DEBUG_TRACE(\"Function not supported\\n\"); \\\n+\tif ((func) == NULL) \\\n \t\treturn; \\\n-\t} \\\n } while (0)\n \n /**\n",
    "prefixes": [
        "4/5"
    ]
}