Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/80896/?format=api
http://patches.dpdk.org/api/patches/80896/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1b4dd60949bbada468f9fe9fcdc3f5357aaa1ec8.1602763439.git.anatoly.burakov@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": "<1b4dd60949bbada468f9fe9fcdc3f5357aaa1ec8.1602763439.git.anatoly.burakov@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1b4dd60949bbada468f9fe9fcdc3f5357aaa1ec8.1602763439.git.anatoly.burakov@intel.com", "date": "2020-10-15T12:04:15", "name": "[v7,10/10] doc: update programmer's guide for power library", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "faa2eb8edd40c883f58ba1daa9e9e70d232579f6", "submitter": { "id": 4, "url": "http://patches.dpdk.org/api/people/4/?format=api", "name": "Burakov, Anatoly", "email": "anatoly.burakov@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/1b4dd60949bbada468f9fe9fcdc3f5357aaa1ec8.1602763439.git.anatoly.burakov@intel.com/mbox/", "series": [ { "id": 13006, "url": "http://patches.dpdk.org/api/series/13006/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=13006", "date": "2020-10-15T12:04:06", "name": "[v7,01/10] eal: add new x86 cpuid support for WAITPKG", "version": 7, "mbox": "http://patches.dpdk.org/series/13006/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/80896/comments/", "check": "warning", "checks": "http://patches.dpdk.org/api/patches/80896/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 dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 2C95BA04DB;\n\tThu, 15 Oct 2020 14:07:36 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 93DFB1E556;\n\tThu, 15 Oct 2020 14:05:17 +0200 (CEST)", "from mga06.intel.com (mga06.intel.com [134.134.136.31])\n by dpdk.org (Postfix) with ESMTP id 952341E559\n for <dev@dpdk.org>; Thu, 15 Oct 2020 14:05:09 +0200 (CEST)", "from orsmga003.jf.intel.com ([10.7.209.27])\n by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 15 Oct 2020 05:04:58 -0700", "from silpixa00399498.ir.intel.com (HELO\n silpixa00399498.ger.corp.intel.com) ([10.237.222.52])\n by orsmga003.jf.intel.com with ESMTP; 15 Oct 2020 05:04:55 -0700" ], "IronPort-SDR": [ "\n Z2EjlfoQo2oT98jvAtXvlOAyW8bVluO16Y2RTfBKj4Y2RzbcsLOfs1K6crARMaO+lxxKI2onsC\n oFTEnYvtKJ0w==", "\n fAHcWKu0to8ZF6Dmpl1GDnadcizF3OgS2UB+B1Mhd+na30YJYByVSQzdSBGI4ml/d+IldTHF+u\n 6nJ5XtUxFARA==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6000,8403,9774\"; a=\"227977241\"", "E=Sophos;i=\"5.77,378,1596524400\"; d=\"scan'208\";a=\"227977241\"", "E=Sophos;i=\"5.77,378,1596524400\"; d=\"scan'208\";a=\"314485696\"" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "From": "Anatoly Burakov <anatoly.burakov@intel.com>", "To": "dev@dpdk.org", "Cc": "Liang Ma <liang.j.ma@intel.com>, David Hunt <david.hunt@intel.com>,\n konstantin.ananyev@intel.com, jerinjacobk@gmail.com,\n bruce.richardson@intel.com, thomas@monjalon.net,\n timothy.mcdaniel@intel.com, gage.eads@intel.com, chris.macnamara@intel.com", "Date": "Thu, 15 Oct 2020 13:04:15 +0100", "Message-Id": "\n <1b4dd60949bbada468f9fe9fcdc3f5357aaa1ec8.1602763439.git.anatoly.burakov@intel.com>", "X-Mailer": "git-send-email 2.17.1", "In-Reply-To": [ "\n <da3fe4e5bbe976882c56a71d20a9055c1600e6aa.1602763439.git.anatoly.burakov@intel.com>", "\n <c6b56362a7c4773b7fcb0e788ecc852caa4192fa.1602682206.git.anatoly.burakov@intel.com>" ], "References": [ "\n <da3fe4e5bbe976882c56a71d20a9055c1600e6aa.1602763439.git.anatoly.burakov@intel.com>", "\n <c6b56362a7c4773b7fcb0e788ecc852caa4192fa.1602682206.git.anatoly.burakov@intel.com>" ], "Subject": "[dpdk-dev] [PATCH v7 10/10] doc: update programmer's guide for\n\tpower library", "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 <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", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "From: Liang Ma <liang.j.ma@intel.com>\n\nUpdate programmer's guide to document PMD power management usage.\n\nSigned-off-by: Liang Ma <liang.j.ma@intel.com>\nSigned-off-by: Anatoly Burakov <anatoly.burakov@intel.com>\nAcked-by: David Hunt <david.hunt@intel.com>\n---\n\nNotes:\n v5:\n - Moved l3fwd-power update to the l3fwd-power-related commit\n - Some rewordings and clarifications\n\n doc/guides/prog_guide/power_man.rst | 42 +++++++++++++++++++++++++++++\n 1 file changed, 42 insertions(+)", "diff": "diff --git a/doc/guides/prog_guide/power_man.rst b/doc/guides/prog_guide/power_man.rst\nindex 0a3755a901..38c64d31e4 100644\n--- a/doc/guides/prog_guide/power_man.rst\n+++ b/doc/guides/prog_guide/power_man.rst\n@@ -192,6 +192,45 @@ User Cases\n ----------\n The mechanism can applied to any device which is based on polling. e.g. NIC, FPGA.\n \n+PMD Power Management API\n+------------------------\n+\n+Abstract\n+~~~~~~~~\n+Existing power management mechanisms require developers to change application\n+design or change code to make use of it. The PMD power management API provides a\n+convenient alternative by utilizing Ethernet PMD RX callbacks, and triggering\n+power saving whenever empty poll count reaches a certain number.\n+\n+ * UMWAIT/UMONITOR\n+\n+ This power saving scheme will put the CPU into optimized power state and use\n+ the UMWAIT/UMONITOR instructions to monitor the Ethernet PMD RX descriptor\n+ address, and wake the CPU up whenever there's new traffic.\n+\n+ * Pause\n+\n+ This power saving scheme will use the `rte_pause` function to avoid busy\n+ polling.\n+\n+ * Frequency scaling\n+\n+ This power saving scheme will use existing power library functionality to\n+ scale the core frequency up/down depending on traffic volume.\n+\n+\n+.. note::\n+\n+ Currently, this power management API is limited to mandatory mapping of 1\n+ queue to 1 core (multiple queues are supported, but they must be polled from\n+ different cores).\n+\n+API Overview for PMD Power Management\n+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n+* **Queue Enable**: Enable specific power scheme for certain queue/port/core\n+\n+* **Queue Disable**: Disable power scheme for certain queue/port/core\n+\n References\n ----------\n \n@@ -200,3 +239,6 @@ References\n \n * The :doc:`../sample_app_ug/vm_power_management`\n chapter in the :doc:`../sample_app_ug/index` section.\n+\n+* The :doc:`../sample_app_ug/rxtx_callbacks`\n+ chapter in the :doc:`../sample_app_ug/index` section.\n", "prefixes": [ "v7", "10/10" ] }{ "id": 80896, "url": "