Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/53911/?format=api
http://patches.dpdk.org/api/patches/53911/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20190530161517.11916-2-marcinx.hajkowski@intel.com/", "project": { "id": 1, "url": "http://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": "<20190530161517.11916-2-marcinx.hajkowski@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20190530161517.11916-2-marcinx.hajkowski@intel.com", "date": "2019-05-30T16:15:15", "name": "[1/3] power: add new packet type for capabilities", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "fee6895ec991448b99d01575d7746f2284591fd4", "submitter": { "id": 1246, "url": "http://patches.dpdk.org/api/people/1246/?format=api", "name": "Marcin Hajkowski", "email": "marcinx.hajkowski@intel.com" }, "delegate": { "id": 1, "url": "http://patches.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20190530161517.11916-2-marcinx.hajkowski@intel.com/mbox/", "series": [ { "id": 4828, "url": "http://patches.dpdk.org/api/series/4828/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=4828", "date": "2019-05-30T16:15:14", "name": "Core capabilities query", "version": 1, "mbox": "http://patches.dpdk.org/series/4828/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/53911/comments/", "check": "fail", "checks": "http://patches.dpdk.org/api/patches/53911/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 E483F2B9A;\n\tThu, 30 May 2019 18:16:15 +0200 (CEST)", "from mga06.intel.com (mga06.intel.com [134.134.136.31])\n\tby dpdk.org (Postfix) with ESMTP id D77D42B9A\n\tfor <dev@dpdk.org>; Thu, 30 May 2019 18:16:11 +0200 (CEST)", "from orsmga001.jf.intel.com ([10.7.209.18])\n\tby orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t30 May 2019 09:16:11 -0700", "from mhajkowx-mobl.ger.corp.intel.com ([10.104.14.177])\n\tby orsmga001.jf.intel.com with ESMTP; 30 May 2019 09:16:09 -0700" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "From": "Hajkowski <marcinx.hajkowski@intel.com>", "To": "david.hunt@intel.com", "Cc": "dev@dpdk.org,\n\tMarcin Hajkowski <marcinx.hajkowski@intel.com>", "Date": "Thu, 30 May 2019 18:15:15 +0200", "Message-Id": "<20190530161517.11916-2-marcinx.hajkowski@intel.com>", "X-Mailer": "git-send-email 2.20.1.windows.1", "In-Reply-To": "<20190530161517.11916-1-marcinx.hajkowski@intel.com>", "References": "<20190530161517.11916-1-marcinx.hajkowski@intel.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH 1/3] power: add new packet type for capabilities", "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": "From: Marcin Hajkowski <marcinx.hajkowski@intel.com>\n\nAdd new packet type and commands for capabilities query.\n\nSigned-off-by: Marcin Hajkowski <marcinx.hajkowski@intel.com>\n---\n lib/librte_power/channel_commands.h | 14 ++++++++++++++\n 1 file changed, 14 insertions(+)", "diff": "diff --git a/lib/librte_power/channel_commands.h b/lib/librte_power/channel_commands.h\nindex ce587283c..b1f5584a8 100644\n--- a/lib/librte_power/channel_commands.h\n+++ b/lib/librte_power/channel_commands.h\n@@ -34,6 +34,8 @@ extern \"C\" {\n /* CPU Power Queries */\n #define CPU_POWER_QUERY_FREQ_LIST 7\n #define CPU_POWER_QUERY_FREQ 8\n+#define CPU_POWER_QUERY_CAPS_LIST 9\n+#define CPU_POWER_QUERY_CAPS 10\n \n /* --- Outgoing messages --- */\n \n@@ -43,6 +45,7 @@ extern \"C\" {\n \n /* CPU Power Query Responses */\n #define CPU_POWER_FREQ_LIST 3\n+#define CPU_POWER_CAPS_LIST 4\n \n #define HOURS 24\n \n@@ -106,6 +109,17 @@ struct channel_packet_freq_list {\n \tuint8_t num_vcpu;\n };\n \n+struct channel_packet_caps_list {\n+\tuint64_t resource_id; /**< core_num, device */\n+\tuint32_t unit; /**< scale down/up/min/max */\n+\tuint32_t command; /**< Power, IO, etc */\n+\tchar vm_name[VM_MAX_NAME_SZ];\n+\n+\tuint64_t turbo[MAX_VCPU_PER_VM];\n+\tuint64_t priority[MAX_VCPU_PER_VM];\n+\tuint8_t num_vcpu;\n+};\n+\n \n #ifdef __cplusplus\n }\n", "prefixes": [ "1/3" ] }{ "id": 53911, "url": "