From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id EB825A0524; Tue, 1 Jun 2021 14:00:42 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B38AD40DF7; Tue, 1 Jun 2021 14:00:42 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id A9C6040041 for ; Tue, 1 Jun 2021 14:00:41 +0200 (CEST) IronPort-SDR: tHF1vyAIUfjUdU1UAI7SptmdxFOgSglnGc1rXIW+D9loZT8Ds2DlvmMtGJdIBk8g7+qq7TeJfs ZeYaOkP810hw== X-IronPort-AV: E=McAfee;i="6200,9189,10001"; a="203528462" X-IronPort-AV: E=Sophos;i="5.83,239,1616482800"; d="scan'208";a="203528462" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Jun 2021 05:00:39 -0700 IronPort-SDR: Kw/W+cO6Ie1Ptpd/WMqt7PjJSBblHwQ/IdMjt6fFKEI1ql58hP1w35KI66zIsmHVQUfF6gzDKK Izh8QDGQj+AA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.83,239,1616482800"; d="scan'208";a="549706968" Received: from silpixa00399498.ir.intel.com (HELO silpixa00399498.ger.corp.intel.com) ([10.237.222.54]) by fmsmga001.fm.intel.com with ESMTP; 01 Jun 2021 05:00:37 -0700 From: Anatoly Burakov To: dev@dpdk.org Cc: ciara.loftus@intel.com, david.hunt@intel.com Date: Tue, 1 Jun 2021 12:00:29 +0000 Message-Id: X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v1 0/7] Enhancements for PMD power management X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" This patchset introduces several changes related to PMD power management: - Add inverted checks to monitor intrinsics, based on previous patchset [1] but incorporating feedback [2] - this hopefully will make it possible to add support for .get_monitor_addr in virtio - Add a new intrinsic to monitor multiple addresses, based on RTM instruction set and the TPAUSE instruction - Add support for PMD power management on multiple queues, as well as all accompanying infrastructure and example apps changes [1] http://patches.dpdk.org/project/dpdk/list/?series=16930&state=* [2] http://patches.dpdk.org/project/dpdk/patch/819ef1ace187365a615d3383e54579e3d9fb216e.1620747068.git.anatoly.burakov@intel.com/#133274 Anatoly Burakov (7): power_intrinsics: allow monitor checks inversion net/af_xdp: add power monitor support eal: add power monitor for multiple events power: remove thread safety from PMD power API's power: support callbacks for multiple Rx queues power: support monitoring multiple Rx queues l3fwd-power: support multiqueue in PMD pmgmt modes drivers/net/af_xdp/rte_eth_af_xdp.c | 25 + examples/l3fwd-power/main.c | 39 +- lib/eal/arm/rte_power_intrinsics.c | 11 + lib/eal/include/generic/rte_cpuflags.h | 2 + .../include/generic/rte_power_intrinsics.h | 39 ++ lib/eal/ppc/rte_power_intrinsics.c | 11 + lib/eal/version.map | 3 + lib/eal/x86/rte_cpuflags.c | 2 + lib/eal/x86/rte_power_intrinsics.c | 74 ++- lib/power/meson.build | 3 + lib/power/rte_power_pmd_mgmt.c | 500 +++++++++++++----- lib/power/rte_power_pmd_mgmt.h | 40 ++ lib/power/version.map | 3 + 13 files changed, 596 insertions(+), 156 deletions(-) -- 2.25.1