Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/112272/?format=api
http://patches.dpdk.org/api/patches/112272/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20220602151339.86968-1-kevin.laatz@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": "<20220602151339.86968-1-kevin.laatz@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20220602151339.86968-1-kevin.laatz@intel.com", "date": "2022-06-02T15:13:35", "name": "[v6,0/4] Add APIs for configurable power options", "commit_ref": null, "pull_url": null, "state": null, "archived": false, "hash": null, "submitter": { "id": 921, "url": "http://patches.dpdk.org/api/people/921/?format=api", "name": "Kevin Laatz", "email": "kevin.laatz@intel.com" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20220602151339.86968-1-kevin.laatz@intel.com/mbox/", "series": [], "comments": "http://patches.dpdk.org/api/patches/112272/comments/", "check": "pending", "checks": "http://patches.dpdk.org/api/patches/112272/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 27B9EA0548;\n\tThu, 2 Jun 2022 17:12:15 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 151D240691;\n\tThu, 2 Jun 2022 17:12:15 +0200 (CEST)", "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n by mails.dpdk.org (Postfix) with ESMTP id CE0004021E\n for <dev@dpdk.org>; Thu, 2 Jun 2022 17:12:13 +0200 (CEST)", "from orsmga003.jf.intel.com ([10.7.209.27])\n by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 02 Jun 2022 08:11:40 -0700", "from silpixa00401122.ir.intel.com ([10.237.213.29])\n by orsmga003.jf.intel.com with ESMTP; 02 Jun 2022 08:11:39 -0700" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1654182734; x=1685718734;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=gfyUsi3FPUbRgeSyFjaqR2bnqBBCmq90zh7F5zGQw78=;\n b=OVa87JDyk8ljL++b9xqvXvUPDSNV4xB/iRy8zVncGzMBHc4LwiUDs5CB\n xAp9c5/TwdLEqlGHVvMXcoQybNIwjjEYU3vY8YhFX+mzheYKKVeoCG4RQ\n BF6mHyyh9UVM9pBNx6M+eSRiGjdAyIBjr1At5/aP2fS6OkmeehGXoOPQT\n iH/mUDvdKYYFDYVz3goyqdtagl4sGMKHn4ZTcgfhIW84N3rVMkXP5Xee+\n ePdAocRSudiw10E5oVP5410haNSWKGtEBzgOP3ZjL9Qfm9GN12Znkof+h\n GC7suw2DB9OShIEqY2v3vO1bpMFiDbcwKMK7CHImFD1kDVCg3pJCG4e4s A==;", "X-IronPort-AV": [ "E=McAfee;i=\"6400,9594,10366\"; a=\"275707553\"", "E=Sophos;i=\"5.91,271,1647327600\"; d=\"scan'208\";a=\"275707553\"", "E=Sophos;i=\"5.91,271,1647327600\"; d=\"scan'208\";a=\"530610110\"" ], "X-ExtLoop1": "1", "From": "Kevin Laatz <kevin.laatz@intel.com>", "To": "dev@dpdk.org", "Cc": "anatoly.burakov@intel.com,\n\tKevin Laatz <kevin.laatz@intel.com>", "Subject": "[PATCH v6 0/4] Add APIs for configurable power options ", "Date": "Thu, 2 Jun 2022 16:13:35 +0100", "Message-Id": "<20220602151339.86968-1-kevin.laatz@intel.com>", "X-Mailer": "git-send-email 2.31.1", "In-Reply-To": "<20220408140847.1319312-1-kevin.laatz@intel.com>", "References": "<20220408140847.1319312-1-kevin.laatz@intel.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <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 <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org" }, "content": "The power library contains some variables which are currently set by\ndefines, hard-coded values or set using sysfs values. In order to\nconfigure these, code changes and recompiles are required, making\nconfiguring these variables tedious.\n\nThis patchset introduces some new get/set APIs which allow users and\napplications to configure there settings to suit their use-cases.\nIn addition, CLI options have been added to l3fwd_power to demonstrate\nhow an application could use these APIs to expose the options to users\nwithout needing code changes to configure them.\n\n---\nv6:\n* fix units in doc API descriptions\n\nv5:\n* add doc updates for new APIs\n\nv4:\n* fix return value when scaling_freq_max is not set\n* fix mismatching comments\n\nv3:\n* move setters from arg parse function to init\n* consider 0 as 'not set' for scaling_freq_max\n* other minor fixes\n\nv2:\n* add doc update for l3fwd-power\n* order version.map additions alphabetically\n\nKevin Laatz (4):\n lib/power: add get and set API for emptypoll max\n lib/power: add get and set API for pause duration\n lib/power: add get and set API for scaling freq min and max with\n pstate mode\n examples/l3fwd_power: add cli for configurable options\n\n doc/guides/prog_guide/power_man.rst | 24 +++\n .../sample_app_ug/l3_forward_power_man.rst | 8 +\n examples/l3fwd-power/main.c | 86 ++++++++++-\n lib/power/power_pstate_cpufreq.c | 24 ++-\n lib/power/rte_power_pmd_mgmt.c | 123 +++++++++++++++-\n lib/power/rte_power_pmd_mgmt.h | 139 ++++++++++++++++++\n lib/power/version.map | 10 ++\n 7 files changed, 403 insertions(+), 11 deletions(-)", "diff": null, "prefixes": [ "v6", "0/4" ] }{ "id": 112272, "url": "