Show a patch.

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

{
    "id": 446,
    "url": "https://patches.dpdk.org/api/patches/446/",
    "web_url": "https://patches.dpdk.org/patch/446/",
    "project": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/projects/1/",
        "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"
    },
    "msgid": "<1411410879-28872-9-git-send-email-alan.carew@intel.com>",
    "date": "2014-09-22T18:34:37",
    "name": "[dpdk-dev,08/10] Build system integration for VM Power Management(Guest and Host)",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "5131d5d14785cdb085061a7846bf23a947b9a592",
    "submitter": {
        "id": 72,
        "url": "https://patches.dpdk.org/api/people/72/",
        "name": "Alan Carew",
        "email": "alan.carew@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/patch/446/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/446/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/446/checks/",
    "tags": {},
    "headers": {
        "Delivered-To": "patchwork@dpdk.org",
        "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "X-Original-To": "patchwork@dpdk.org",
        "Date": "Mon, 22 Sep 2014 19:34:37 +0100",
        "In-Reply-To": "<1411410879-28872-1-git-send-email-alan.carew@intel.com>",
        "Precedence": "list",
        "X-BeenThere": "dev@dpdk.org",
        "References": "<1411410879-28872-1-git-send-email-alan.carew@intel.com>",
        "X-Mailer": "git-send-email 1.9.3",
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "To": "dev@dpdk.org",
        "Errors-To": "dev-bounces@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id 87F14B3C3;\n\tMon, 22 Sep 2014 20:29:47 +0200 (CEST)",
            "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n\tby dpdk.org (Postfix) with ESMTP id E689C231C\n\tfor <dev@dpdk.org>; Mon, 22 Sep 2014 20:29:39 +0200 (CEST)",
            "from orsmga002.jf.intel.com ([10.7.209.21])\n\tby orsmga101.jf.intel.com with ESMTP; 22 Sep 2014 11:35:29 -0700",
            "from sie-lab-212-143.ir.intel.com (HELO\n\tsilpixa00385294.ir.intel.com) ([10.237.212.143])\n\tby orsmga002.jf.intel.com with ESMTP; 22 Sep 2014 11:35:28 -0700"
        ],
        "From": "Alan Carew <alan.carew@intel.com>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "X-ExtLoop1": "1",
        "Message-Id": "<1411410879-28872-9-git-send-email-alan.carew@intel.com>",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>",
        "List-Id": "patches and discussions about DPDK <dev.dpdk.org>",
        "Subject": "[dpdk-dev] [PATCH 08/10] Build system integration for VM Power\n\tManagement(Guest and Host)",
        "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-IronPort-AV": "E=Sophos;i=\"5.04,573,1406617200\"; d=\"scan'208\";a=\"606714575\"",
        "List-Post": "<mailto:dev@dpdk.org>",
        "X-Mailman-Version": "2.1.15"
    },
    "content": "Add CONFIG_RTE_LIBRTE_POWER_VM to config/common_linuxapp, default=n\nAs both host and guest side rely on the same API(librte_power) but different\nimplementations, it requires the following configurations:\nHost: CONFIG_RTE_LIBRTE_POWER_VM=n and Add CONFIG_RTE_LIBRTE_POWER=y\nGuest: CONFIG_RTE_LIBRTE_POWER_VM=y and Add CONFIG_RTE_LIBRTE_POWER=n\n\nWhen building for either the resulting library is called rte_power.\n\nSigned-off-by: Alan Carew <alan.carew@intel.com>\n---\n config/common_linuxapp | 6 ++++++\n lib/Makefile           | 1 +\n mk/rte.app.mk          | 4 ++++\n 3 files changed, 11 insertions(+)",
    "diff": "diff --git a/config/common_linuxapp b/config/common_linuxapp\nindex 5bee910..fbecad3 100644\n--- a/config/common_linuxapp\n+++ b/config/common_linuxapp\n@@ -332,6 +332,12 @@ CONFIG_RTE_LIBRTE_POWER_DEBUG=n\n CONFIG_RTE_MAX_LCORE_FREQS=64\n \n #\n+# Compile librte_power_vm\n+#\n+CONFIG_RTE_LIBRTE_POWER_VM=n\n+CONFIG_RTE_LIBRTE_POWER_VM_DEBUG=n\n+\n+#\n # Compile librte_net\n #\n CONFIG_RTE_LIBRTE_NET=y\ndiff --git a/lib/Makefile b/lib/Makefile\nindex 10c5bb3..d291459 100644\n--- a/lib/Makefile\n+++ b/lib/Makefile\n@@ -56,6 +56,7 @@ DIRS-$(CONFIG_RTE_LIBRTE_ACL) += librte_acl\n DIRS-$(CONFIG_RTE_LIBRTE_NET) += librte_net\n DIRS-$(CONFIG_RTE_LIBRTE_IP_FRAG) += librte_ip_frag\n DIRS-$(CONFIG_RTE_LIBRTE_POWER) += librte_power\n+DIRS-$(CONFIG_RTE_LIBRTE_POWER_VM) += librte_power_vm\n DIRS-$(CONFIG_RTE_LIBRTE_METER) += librte_meter\n DIRS-$(CONFIG_RTE_LIBRTE_SCHED) += librte_sched\n DIRS-$(CONFIG_RTE_LIBRTE_KVARGS) += librte_kvargs\ndiff --git a/mk/rte.app.mk b/mk/rte.app.mk\nindex 34dff2a..ce8c684 100644\n--- a/mk/rte.app.mk\n+++ b/mk/rte.app.mk\n@@ -105,6 +105,10 @@ ifeq ($(CONFIG_RTE_LIBRTE_POWER),y)\n LDLIBS += -lrte_power\n endif\n \n+ifeq ($(CONFIG_RTE_LIBRTE_POWER_VM),y)\n+LDLIBS += -lrte_power\n+endif\n+\n ifeq ($(CONFIG_RTE_LIBRTE_ACL),y)\n LDLIBS += -lrte_acl\n endif\n",
    "prefixes": [
        "dpdk-dev",
        "08/10"
    ]
}