Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/44614/?format=api
https://patches.dpdk.org/api/patches/44614/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20180912144930.50578-3-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": "<20180912144930.50578-3-david.hunt@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20180912144930.50578-3-david.hunt@intel.com", "date": "2018-09-12T14:49:25", "name": "[v2,2/7] lib/power: add changes for host commands/policies", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "aa6a0d4036d3fa0abb0f2afae652eb28a9c0266e", "submitter": { "id": 342, "url": "https://patches.dpdk.org/api/people/342/?format=api", "name": "Hunt, David", "email": "david.hunt@intel.com" }, "delegate": { "id": 1, "url": "https://patches.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20180912144930.50578-3-david.hunt@intel.com/mbox/", "series": [ { "id": 1295, "url": "https://patches.dpdk.org/api/series/1295/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=1295", "date": "2018-09-12T14:49:23", "name": "add json power policy interface for containers", "version": 2, "mbox": "https://patches.dpdk.org/series/1295/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/44614/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/44614/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 A45614D3A;\n\tWed, 12 Sep 2018 16:50:51 +0200 (CEST)", "from mga14.intel.com (mga14.intel.com [192.55.52.115])\n\tby dpdk.org (Postfix) with ESMTP id 4FE9D4CA1\n\tfor <dev@dpdk.org>; Wed, 12 Sep 2018 16:50:48 +0200 (CEST)", "from fmsmga005.fm.intel.com ([10.253.24.32])\n\tby fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t12 Sep 2018 07:50:46 -0700", "from silpixa00399952.ir.intel.com (HELO\n\tsilpixa00399952.ger.corp.intel.com) ([10.237.223.64])\n\tby fmsmga005.fm.intel.com with ESMTP; 12 Sep 2018 07:49:35 -0700" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.53,365,1531810800\"; d=\"scan'208\";a=\"261983214\"", "From": "David Hunt <david.hunt@intel.com>", "To": "dev@dpdk.org", "Cc": "john.mcnamara@intel.com, stephen@networkplumber.org, lei.a.yao@intel.com,\n\tDavid Hunt <david.hunt@intel.com>", "Date": "Wed, 12 Sep 2018 15:49:25 +0100", "Message-Id": "<20180912144930.50578-3-david.hunt@intel.com>", "X-Mailer": "git-send-email 2.17.1", "In-Reply-To": "<20180912144930.50578-1-david.hunt@intel.com>", "References": "<20180830105422.1198-1-david.hunt@intel.com>\n\t<20180912144930.50578-1-david.hunt@intel.com>", "Subject": "[dpdk-dev] [PATCH v2 2/7] lib/power: add changes for host\n\tcommands/policies", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "Signed-off-by: David Hunt <david.hunt@intel.com>\n---\n lib/librte_power/channel_commands.h | 5 +++++\n 1 file changed, 5 insertions(+)", "diff": "diff --git a/lib/librte_power/channel_commands.h b/lib/librte_power/channel_commands.h\nindex ee638eefa..e7b93a797 100644\n--- a/lib/librte_power/channel_commands.h\n+++ b/lib/librte_power/channel_commands.h\n@@ -19,6 +19,7 @@ extern \"C\" {\n #define CPU_POWER 1\n #define CPU_POWER_CONNECT 2\n #define PKT_POLICY 3\n+#define PKT_POLICY_REMOVE 4\n \n /* CPU Power Command Scaling */\n #define CPU_POWER_SCALE_UP 1\n@@ -58,6 +59,9 @@ struct traffic {\n \tuint32_t max_max_packet_thresh;\n };\n \n+#define CORE_TYPE_VIRTUAL 0\n+#define CORE_TYPE_PHYSICAL 1\n+\n struct channel_packet {\n \tuint64_t resource_id; /**< core_num, device */\n \tuint32_t unit; /**< scale down/up/min/max */\n@@ -70,6 +74,7 @@ struct channel_packet {\n \tuint8_t vcpu_to_control[MAX_VCPU_PER_VM];\n \tuint8_t num_vcpu;\n \tstruct timer_profile timer_policy;\n+\tbool core_type;\n \tenum workload workload;\n \tenum policy_to_use policy_to_use;\n \tstruct t_boost_status t_boost_status;\n", "prefixes": [ "v2", "2/7" ] }{ "id": 44614, "url": "