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 7B122A0032; Mon, 11 Jul 2022 18:23:33 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0B67840C35; Mon, 11 Jul 2022 18:23:33 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id 5073240695 for ; Mon, 11 Jul 2022 18:23:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1657556611; x=1689092611; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=VanCCNVEzNLjQJym3F4lZTbicvqg5NVPbVH+GSjf4Ds=; b=F9A4CDwMZfuR5lqJiw4Z+b4HhKn71NkX2ZhJMEsZ8+y/AL2OD2swqRki Za4W3FgkEAxKkBQeSxCq9byS2GTQWTskLiVTsbu56Ohks7bRqR9meWdNg enPnHMfo1pr4Igc7uXxAs0drji6kOuduKG1aBgBATJOqSxI7gj87lP5We JGzo71xbJ/qlwJtCeKWDBeVWfrNFBpGf945g5ny4CQA/LwplZ0A1sD7pY wDhD4i/Z0byX88627mm9U1GKw6I2D5LCfXILdbvnRZh/im3uwL0ZAO10m mvtvd2P4SuvCoccz96tcZAyoeQckxajcZWVpWLM1rR3pPbScr5PTov+ag w==; X-IronPort-AV: E=McAfee;i="6400,9594,10405"; a="284730878" X-IronPort-AV: E=Sophos;i="5.92,263,1650956400"; d="scan'208";a="284730878" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Jul 2022 09:23:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,263,1650956400"; d="scan'208";a="684434989" Received: from silpixa00401183.ir.intel.com ([10.55.129.105]) by FMSMGA003.fm.intel.com with ESMTP; 11 Jul 2022 09:23:28 -0700 From: tadhgkearney To: dev@dpdk.org Cc: dave.hunt@intel.com, anatoly.burakov@intel.com, reshma.pattan@intel.com, tadhgkearney Subject: [PATCH v1 0/4] add uncore api to be called through l3fwd-power Date: Mon, 11 Jul 2022 16:22:56 +0000 Message-Id: <20220711162300.3308684-1-tadhg.kearney@intel.com> X-Mailer: git-send-email 2.25.1 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org This is targeting 22.11 and aims to add an API to DPDK to allow uncore frequency adjustment. This will be called through the l3fwd-power app, and gives the ability to set the min, max and specific frequency index that you want the uncore to be at. tadhgkearney (4): power: add uncore api to power library l3fwd-power: add option to call uncore api test/power: add unit tests for uncore api config: add uncore defines for x86 app/test/meson.build | 2 + app/test/test_power_uncore.c | 245 +++++++++++ config/x86/meson.build | 2 + doc/guides/prog_guide/power_man.rst | 27 ++ .../sample_app_ug/l3_forward_power_man.rst | 28 ++ examples/l3fwd-power/main.c | 154 ++++++- lib/power/meson.build | 2 + lib/power/rte_power_uncore.c | 401 ++++++++++++++++++ lib/power/rte_power_uncore.h | 159 +++++++ lib/power/version.map | 7 + 10 files changed, 1018 insertions(+), 1 deletion(-) create mode 100644 app/test/test_power_uncore.c create mode 100644 lib/power/rte_power_uncore.c create mode 100644 lib/power/rte_power_uncore.h -- 2.25.1