get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 107239,
    "url": "http://patches.dpdk.org/api/patches/107239/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20220210120257.585822-3-bruce.richardson@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": "<20220210120257.585822-3-bruce.richardson@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20220210120257.585822-3-bruce.richardson@intel.com",
    "date": "2022-02-10T12:02:52",
    "name": "[v2,2/7] eventdev: fix header build with C++",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "f361b4537fd59a95b56dd8848c42b908d6228014",
    "submitter": {
        "id": 20,
        "url": "http://patches.dpdk.org/api/people/20/?format=api",
        "name": "Bruce Richardson",
        "email": "bruce.richardson@intel.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/20220210120257.585822-3-bruce.richardson@intel.com/mbox/",
    "series": [
        {
            "id": 21596,
            "url": "http://patches.dpdk.org/api/series/21596/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=21596",
            "date": "2022-02-10T12:02:50",
            "name": "Verify C++ compatibility of public headers",
            "version": 2,
            "mbox": "http://patches.dpdk.org/series/21596/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/107239/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/107239/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "Delivered-To": "patchwork@inbox.dpdk.org",
        "Received": [
            "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 5BD84A00C2;\n\tThu, 10 Feb 2022 13:03:40 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 4D5A4426E2;\n\tThu, 10 Feb 2022 13:03:40 +0100 (CET)",
            "from mga17.intel.com (mga17.intel.com [192.55.52.151])\n by mails.dpdk.org (Postfix) with ESMTP id 4CA624013F;\n Thu, 10 Feb 2022 13:03:38 +0100 (CET)",
            "from fmsmga003.fm.intel.com ([10.253.24.29])\n by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 10 Feb 2022 04:03:37 -0800",
            "from silpixa00399126.ir.intel.com ([10.237.223.162])\n by FMSMGA003.fm.intel.com with ESMTP; 10 Feb 2022 04:03:35 -0800"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1644494618; x=1676030618;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=mniVCn9k5i1gPUhp/5Epowbf2EvwvceUaEu1OsgzmG0=;\n b=G+JU8eQw77pMk8BFJfVp70diroOgxqL7r0o+1mr0F/sQ/eJGhSJiqR5Z\n ru2RVhVk7/kqnQk0GcSJJiXsJDQ6FE59505808RLeL9qgLVQ3nB09K4Bk\n 8FSZG12QUVYQP6hCsPfNGSczlgNZHsx5AXDO5LH95dZsx/I/saYBdrPRs\n 5qLdWhm7IgLUWq53isfewy4ayh7H/KCWMP54A235IjrGyGiSWntKT5Q7G\n yb+OhEvMDxWYl/0cGhS7J8rEiIrtcUR75AlnMmqa+5qaPBDK+hALXMr9f\n p+tHPGUBXUmRPt9HyEJG+v6r32gtwyLAph7krXMCmZOzT4l7PqK6YDRiF Q==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10253\"; a=\"230121039\"",
            "E=Sophos;i=\"5.88,358,1635231600\"; d=\"scan'208\";a=\"230121039\"",
            "E=Sophos;i=\"5.88,358,1635231600\"; d=\"scan'208\";a=\"622658272\""
        ],
        "X-ExtLoop1": "1",
        "From": "Bruce Richardson <bruce.richardson@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "Bruce Richardson <bruce.richardson@intel.com>, erik.g.carrillo@intel.com,\n skori@marvell.com, stable@dpdk.org, Jerin Jacob <jerinj@marvell.com>,\n Jerin Jacob <jerin.jacob@caviumnetworks.com>,\n Pavan Nikhilesh <pbhagavatula@caviumnetworks.com>,\n David Marchand <david.marchand@redhat.com>",
        "Subject": "[PATCH v2 2/7] eventdev: fix header build with C++",
        "Date": "Thu, 10 Feb 2022 12:02:52 +0000",
        "Message-Id": "<20220210120257.585822-3-bruce.richardson@intel.com>",
        "X-Mailer": "git-send-email 2.32.0",
        "In-Reply-To": "<20220210120257.585822-1-bruce.richardson@intel.com>",
        "References": "<20220204174209.440207-1-bruce.richardson@intel.com>\n <20220210120257.585822-1-bruce.richardson@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <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 <mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org"
    },
    "content": "The eventdev headers had issues when used from C++\n\n* Missing closing \"}\" for the extern \"C\" block\n* No automatic casting to/from void *\n\nFixes: a6562f6d6f8e (\"eventdev: introduce event timer adapter\")\nFixes: 32e326869ed6 (\"eventdev: add tracepoints\")\nCc: erik.g.carrillo@intel.com\nCc: skori@marvell.com\nCc: stable@dpdk.org\n\nSigned-off-by: Bruce Richardson <bruce.richardson@intel.com>\nAcked-by: Jerin Jacob <jerinj@marvell.com>\n---\n lib/eventdev/rte_event_timer_adapter.h | 3 +++\n lib/eventdev/rte_eventdev.h            | 2 +-\n 2 files changed, 4 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/lib/eventdev/rte_event_timer_adapter.h b/lib/eventdev/rte_event_timer_adapter.h\nindex 1551741820..1fe4dd8e8f 100644\n--- a/lib/eventdev/rte_event_timer_adapter.h\n+++ b/lib/eventdev/rte_event_timer_adapter.h\n@@ -678,4 +678,7 @@ rte_event_timer_cancel_burst(const struct rte_event_timer_adapter *adapter,\n \treturn adapter->cancel_burst(adapter, evtims, nb_evtims);\n }\n \n+#ifdef __cplusplus\n+}\n+#endif\n #endif /* __RTE_EVENT_TIMER_ADAPTER_H__ */\ndiff --git a/lib/eventdev/rte_eventdev.h b/lib/eventdev/rte_eventdev.h\nindex eef47d8acc..25fb7c89dd 100644\n--- a/lib/eventdev/rte_eventdev.h\n+++ b/lib/eventdev/rte_eventdev.h\n@@ -1805,7 +1805,7 @@ __rte_event_enqueue_burst(uint8_t dev_id, uint8_t port_id,\n \t\treturn 0;\n \t}\n #endif\n-\trte_eventdev_trace_enq_burst(dev_id, port_id, ev, nb_events, fn);\n+\trte_eventdev_trace_enq_burst(dev_id, port_id, ev, nb_events, (void *)fn);\n \t/*\n \t * Allow zero cost non burst mode routine invocation if application\n \t * requests nb_events as const one\n",
    "prefixes": [
        "v2",
        "2/7"
    ]
}