get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 29738,
    "url": "https://patches.dpdk.org/api/patches/29738/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1507210100-69917-8-git-send-email-david.hunt@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": "<1507210100-69917-8-git-send-email-david.hunt@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1507210100-69917-8-git-send-email-david.hunt@intel.com",
    "date": "2017-10-05T13:28:18",
    "name": "[dpdk-dev,v7,7/9] power: add send channel msg function to map file",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "0d61f709222ff53ee2714c5ff18e0ae8ef088621",
    "submitter": {
        "id": 342,
        "url": "https://patches.dpdk.org/api/people/342/?format=api",
        "name": "Hunt, David",
        "email": "david.hunt@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1507210100-69917-8-git-send-email-david.hunt@intel.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/29738/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/29738/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 7B96E1B23D;\n\tThu,  5 Oct 2017 15:28:43 +0200 (CEST)",
            "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n\tby dpdk.org (Postfix) with ESMTP id 9B28C1B20E\n\tfor <dev@dpdk.org>; Thu,  5 Oct 2017 15:28:39 +0200 (CEST)",
            "from orsmga004.jf.intel.com ([10.7.209.38])\n\tby fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t05 Oct 2017 06:28:39 -0700",
            "from silpixa00397898.ir.intel.com ([10.237.223.116])\n\tby orsmga004.jf.intel.com with ESMTP; 05 Oct 2017 06:28:37 -0700"
        ],
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.42,481,1500966000\"; d=\"scan'208\";a=\"135515457\"",
        "From": "David Hunt <david.hunt@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "konstantin.ananyev@intel.com, jingjing.wu@intel.com,\n\tsantosh.shukla@caviumnetworks.com, David Hunt <david.hunt@intel.com>",
        "Date": "Thu,  5 Oct 2017 14:28:18 +0100",
        "Message-Id": "<1507210100-69917-8-git-send-email-david.hunt@intel.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "In-Reply-To": "<1507210100-69917-1-git-send-email-david.hunt@intel.com>",
        "References": "<1507206350-215367-1-git-send-email-david.hunt@intel.com>\n\t<1507210100-69917-1-git-send-email-david.hunt@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v7 7/9] power: add send channel msg function to\n\tmap file",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <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": "Adding new wrapper function to existing private (but unused 'till now)\nfunction with an rte_power_ prefix.\n\nThe plan is to clean up all the header files in the next release so\nthat only the intended public functions are in the map file and only\nthe relevant headers have the rte_ prefix so that only they are\nincluded in the documentation.\n\nSigned-off-by: David Hunt <david.hunt@intel.com>\nReviewed-by: Santosh Shukla <santosh.shukla@caviumnetworks.com>\n---\n lib/librte_power/guest_channel.c       |  7 +++++++\n lib/librte_power/guest_channel.h       | 15 +++++++++++++++\n lib/librte_power/rte_power_version.map |  1 +\n 3 files changed, 23 insertions(+)",
    "diff": "diff --git a/lib/librte_power/guest_channel.c b/lib/librte_power/guest_channel.c\nindex 85c92fa..fa5de0f 100644\n--- a/lib/librte_power/guest_channel.c\n+++ b/lib/librte_power/guest_channel.c\n@@ -148,6 +148,13 @@ guest_channel_send_msg(struct channel_packet *pkt, unsigned lcore_id)\n \treturn 0;\n }\n \n+int rte_power_guest_channel_send_msg(struct channel_packet *pkt,\n+\t\t\tunsigned int lcore_id)\n+{\n+\treturn guest_channel_send_msg(pkt, lcore_id);\n+}\n+\n+\n void\n guest_channel_host_disconnect(unsigned lcore_id)\n {\ndiff --git a/lib/librte_power/guest_channel.h b/lib/librte_power/guest_channel.h\nindex 9e18af5..741339c 100644\n--- a/lib/librte_power/guest_channel.h\n+++ b/lib/librte_power/guest_channel.h\n@@ -81,6 +81,21 @@ void guest_channel_host_disconnect(unsigned lcore_id);\n  */\n int guest_channel_send_msg(struct channel_packet *pkt, unsigned lcore_id);\n \n+/**\n+ * Send a message contained in pkt over the Virtio-Serial to the host endpoint.\n+ *\n+ * @param pkt\n+ *  Pointer to a populated struct channel_packet\n+ *\n+ * @param lcore_id\n+ *  lcore_id.\n+ *\n+ * @return\n+ *  - 0 on success.\n+ *  - Negative on error.\n+ */\n+int rte_power_guest_channel_send_msg(struct channel_packet *pkt,\n+\t\t\tunsigned int lcore_id);\n \n #ifdef __cplusplus\n }\ndiff --git a/lib/librte_power/rte_power_version.map b/lib/librte_power/rte_power_version.map\nindex 9ae0627..96dc42e 100644\n--- a/lib/librte_power/rte_power_version.map\n+++ b/lib/librte_power/rte_power_version.map\n@@ -20,6 +20,7 @@ DPDK_2.0 {\n DPDK_17.11 {\n \tglobal:\n \n+\trte_power_guest_channel_send_msg;\n \trte_power_freq_disable_turbo;\n \trte_power_freq_enable_turbo;\n \trte_power_turbo_status;\n",
    "prefixes": [
        "dpdk-dev",
        "v7",
        "7/9"
    ]
}