get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2601,
    "url": "https://patches.dpdk.org/api/patches/2601/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1422362703-18868-1-git-send-email-pawelx.wodkowski@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": "<1422362703-18868-1-git-send-email-pawelx.wodkowski@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1422362703-18868-1-git-send-email-pawelx.wodkowski@intel.com",
    "date": "2015-01-27T12:45:03",
    "name": "[dpdk-dev] Added missing extern 'C' decls in mode4 header files",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "5b9afd054a83496eccf35f4f14ba11db7076a922",
    "submitter": {
        "id": 58,
        "url": "https://patches.dpdk.org/api/people/58/?format=api",
        "name": "Wodkowski, PawelX",
        "email": "pawelx.wodkowski@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1422362703-18868-1-git-send-email-pawelx.wodkowski@intel.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/2601/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/2601/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 35E7B5F7E;\n\tTue, 27 Jan 2015 13:44:39 +0100 (CET)",
            "from mga03.intel.com (mga03.intel.com [134.134.136.65])\n\tby dpdk.org (Postfix) with ESMTP id 9055A5F7D\n\tfor <dev@dpdk.org>; Tue, 27 Jan 2015 13:44:37 +0100 (CET)",
            "from orsmga001.jf.intel.com ([10.7.209.18])\n\tby orsmga103.jf.intel.com with ESMTP; 27 Jan 2015 04:40:19 -0800",
            "from unknown (HELO Sent) ([10.217.248.233])\n\tby orsmga001.jf.intel.com with SMTP; 27 Jan 2015 04:44:34 -0800",
            "by Sent (sSMTP sendmail emulation); Tue, 27 Jan 2015 13:45:08 +0100"
        ],
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.09,474,1418112000\"; d=\"scan'208\";a=\"643221036\"",
        "From": "Pawel Wodkowski <pawelx.wodkowski@intel.com>",
        "To": "dev@dpdk.org",
        "Date": "Tue, 27 Jan 2015 13:45:03 +0100",
        "Message-Id": "<1422362703-18868-1-git-send-email-pawelx.wodkowski@intel.com>",
        "X-Mailer": "git-send-email 1.9.1",
        "Subject": "[dpdk-dev] [PATCH] Added missing extern 'C' decls in mode4 header\n\tfiles",
        "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": "Signed-off-by: Pawel Wodkowski <pawelx.wodkowski@intel.com>\n---\n lib/librte_pmd_bond/rte_eth_bond_8023ad.h         |    8 ++++++++\n lib/librte_pmd_bond/rte_eth_bond_8023ad_private.h |    8 ++++++++\n 2 files changed, 16 insertions(+)",
    "diff": "diff --git a/lib/librte_pmd_bond/rte_eth_bond_8023ad.h b/lib/librte_pmd_bond/rte_eth_bond_8023ad.h\nindex 9adc6aa..ebd0e93 100644\n--- a/lib/librte_pmd_bond/rte_eth_bond_8023ad.h\n+++ b/lib/librte_pmd_bond/rte_eth_bond_8023ad.h\n@@ -36,6 +36,10 @@\n \n #include <rte_ether.h>\n \n+#ifdef __cplusplus\n+extern \"C\" {\n+#endif\n+\n /**\n  * Actor/partner states\n  */\n@@ -211,4 +215,8 @@ int\n rte_eth_bond_8023ad_slave_info(uint8_t port_id, uint8_t slave_id,\n \t\tstruct rte_eth_bond_8023ad_slave_info *conf);\n \n+#ifdef __cplusplus\n+}\n+#endif\n+\n #endif /* RTE_ETH_BOND_8023AD_H_ */\ndiff --git a/lib/librte_pmd_bond/rte_eth_bond_8023ad_private.h b/lib/librte_pmd_bond/rte_eth_bond_8023ad_private.h\nindex 8adee70..7930345 100644\n--- a/lib/librte_pmd_bond/rte_eth_bond_8023ad_private.h\n+++ b/lib/librte_pmd_bond/rte_eth_bond_8023ad_private.h\n@@ -42,6 +42,10 @@\n \n #include \"rte_eth_bond_8023ad.h\"\n \n+#ifdef __cplusplus\n+extern \"C\" {\n+#endif\n+\n #define BOND_MODE_8023AX_UPDATE_TIMEOUT_MS  100\n /** Maximum number of packets to one slave queued in TX ring. */\n #define BOND_MODE_8023AX_SLAVE_RX_PKTS        3\n@@ -305,4 +309,8 @@ bond_mode_8023ad_deactivate_slave(struct rte_eth_dev *dev, uint8_t slave_pos);\n void\n bond_mode_8023ad_mac_address_update(struct rte_eth_dev *bond_dev);\n \n+#ifdef __cplusplus\n+}\n+#endif\n+\n #endif /* RTE_ETH_BOND_8023AD_H_ */\n",
    "prefixes": [
        "dpdk-dev"
    ]
}