Show a cover letter.

GET /api/covers/86892/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 86892,
    "url": "http://patchwork.dpdk.org/api/covers/86892/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/cover/cover.1611074697.git.anatoly.burakov@intel.com/",
    "project": {
        "id": 1,
        "url": "http://patchwork.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": "<cover.1611074697.git.anatoly.burakov@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/cover.1611074697.git.anatoly.burakov@intel.com",
    "date": "2021-01-19T16:45:54",
    "name": "[v18,0/2] Add PMD power management",
    "submitter": {
        "id": 4,
        "url": "http://patchwork.dpdk.org/api/people/4/?format=api",
        "name": "Anatoly Burakov",
        "email": "anatoly.burakov@intel.com"
    },
    "mbox": "http://patchwork.dpdk.org/project/dpdk/cover/cover.1611074697.git.anatoly.burakov@intel.com/mbox/",
    "series": [
        {
            "id": 14850,
            "url": "http://patchwork.dpdk.org/api/series/14850/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=14850",
            "date": "2021-01-19T16:45:54",
            "name": "Add PMD power management",
            "version": 18,
            "mbox": "http://patchwork.dpdk.org/series/14850/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/covers/86892/comments/",
    "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 61779A0A05;\n\tTue, 19 Jan 2021 17:46:03 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id D3F8B140E84;\n\tTue, 19 Jan 2021 17:46:02 +0100 (CET)",
            "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n by mails.dpdk.org (Postfix) with ESMTP id 1A95A140E52\n for <dev@dpdk.org>; Tue, 19 Jan 2021 17:45:59 +0100 (CET)",
            "from orsmga003.jf.intel.com ([10.7.209.27])\n by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 19 Jan 2021 08:45:58 -0800",
            "from silpixa00399498.ir.intel.com (HELO\n silpixa00399498.ger.corp.intel.com) ([10.237.222.179])\n by orsmga003.jf.intel.com with ESMTP; 19 Jan 2021 08:45:57 -0800"
        ],
        "IronPort-SDR": [
            "\n z1ctM6U0B8Wn2l6N4NmfVjbV7BbGuek+hDErfU06YaqQPU6p2BPO4Q+VozcbReorsSdX0NN6pr\n gWwQ56zdFeyQ==",
            "\n itDU76LlU4sITVgDPtgT9VQwh8QZ0WcGwXJab31y1GDem75UD83epsMbgygPKrd2auM39Cmdan\n 9EPhMmMH51fQ=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9869\"; a=\"175454694\"",
            "E=Sophos;i=\"5.79,359,1602572400\"; d=\"scan'208\";a=\"175454694\"",
            "E=Sophos;i=\"5.79,359,1602572400\"; d=\"scan'208\";a=\"350599672\""
        ],
        "X-ExtLoop1": "1",
        "From": "Anatoly Burakov <anatoly.burakov@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "thomas@monjalon.net",
        "Date": "Tue, 19 Jan 2021 16:45:54 +0000",
        "Message-Id": "<cover.1611074697.git.anatoly.burakov@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<786dff25-c6bd-c0a2-563f-4c726955aff5@intel.com>",
        "References": "<786dff25-c6bd-c0a2-563f-4c726955aff5@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH v18 0/2] Add PMD power management",
        "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",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "This patchset proposes a simple API for Ethernet drivers to cause the  \nCPU to enter a power-optimized state while waiting for packets to  \narrive. There are multiple proposed mechanisms to achieve said power\nsavings: simple frequency scaling, idle loop, and monitoring the Rx\nqueue for incoming packages. The latter is achieved through cooperation\nwith the NIC driver that will allow us to know address of wake up event,\nand wait for writes on that address.\n\nTo achieve power savings, there is a very simple mechanism used: we're \ncounting empty polls, and if a certain threshold is reached, we employ\none of the suggested power management schemes automatically, from within\na Rx callback inside the PMD. Once there's traffic again, the empty poll\ncounter is reset.\n\nWhy are we putting it into ethdev as opposed to leaving this up to the \napplication? Our customers specifically requested a way to do it with\nminimal changes to the application code. The current approach allows to \njust flip a switch and automatically have power savings.\n\nThings of note:\n\n- Only 1:1 core to queue mapping is supported, meaning that each lcore \n  must at most handle RX on a single queue\n- Support 3 type policies. Monitor/Pause/Frequency Scaling\n- Power management is enabled per-queue\n- The API doesn't extend to other device types\n\nv18:\n- Rebase on top of latest main\n- Address review comments by Thomas\n\nv17:\n- Added exception for ethdev driver-only ABI\n- Added memory barriers for monitor/wakeup (Konstantin)\n- Fixed compiled issues on non-x86 platforms (hopefully!)\n\nv16:\n- Implemented Konstantin's suggestions and comments\n- Added return values to the API\n\nv15:\n- Fixed incorrect check in UMWAIT callback\n- Fixed accidental whitespace changes\n\nv14:\n- Fixed ARM/PPC builds\n- Addressed various review comments\n\nv13:\n- Reworked the librte_power code to require less locking and handle invalid\n  parameters better\n- Fix numerous rebase errors present in v12\n\nv12:\n- Rebase on top of 21.02\n- Rework of power intrinsics code\n\nLiang Ma (2):\n  power: add PMD power management API and callback\n  examples/l3fwd-power: enable PMD power mgmt\n\n doc/guides/prog_guide/power_man.rst           |  41 ++\n doc/guides/rel_notes/release_21_02.rst        |  10 +\n .../sample_app_ug/l3_forward_power_man.rst    |  35 ++\n examples/l3fwd-power/main.c                   |  90 ++++-\n lib/librte_power/meson.build                  |   5 +-\n lib/librte_power/rte_power_pmd_mgmt.c         | 365 ++++++++++++++++++\n lib/librte_power/rte_power_pmd_mgmt.h         |  91 +++++\n lib/librte_power/version.map                  |   5 +\n 8 files changed, 638 insertions(+), 4 deletions(-)\n create mode 100644 lib/librte_power/rte_power_pmd_mgmt.c\n create mode 100644 lib/librte_power/rte_power_pmd_mgmt.h"
}