get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 29686,
    "url": "https://patches.dpdk.org/api/patches/29686/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1507206350-215367-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": "<1507206350-215367-8-git-send-email-david.hunt@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1507206350-215367-8-git-send-email-david.hunt@intel.com",
    "date": "2017-10-05T12:25:48",
    "name": "[dpdk-dev,v6,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/1507206350-215367-8-git-send-email-david.hunt@intel.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/29686/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/29686/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 56C271B1ED;\n\tThu,  5 Oct 2017 14:28:06 +0200 (CEST)",
            "from mga03.intel.com (mga03.intel.com [134.134.136.65])\n\tby dpdk.org (Postfix) with ESMTP id B369A1B1BD\n\tfor <dev@dpdk.org>; Thu,  5 Oct 2017 14:28:02 +0200 (CEST)",
            "from orsmga005.jf.intel.com ([10.7.209.41])\n\tby orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t05 Oct 2017 05:28:02 -0700",
            "from silpixa00397898.ir.intel.com ([10.237.223.116])\n\tby orsmga005.jf.intel.com with ESMTP; 05 Oct 2017 05:28:01 -0700"
        ],
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.42,481,1500966000\"; d=\"scan'208\";a=\"157056796\"",
        "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 13:25:48 +0100",
        "Message-Id": "<1507206350-215367-8-git-send-email-david.hunt@intel.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "In-Reply-To": "<1507206350-215367-1-git-send-email-david.hunt@intel.com>",
        "References": "<1507130720-48891-1-git-send-email-david.hunt@intel.com>\n\t<1507206350-215367-1-git-send-email-david.hunt@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v6 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",
        "v6",
        "7/9"
    ]
}