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 909C0A00C3; Tue, 19 Apr 2022 17:43:18 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 80718427EB; Tue, 19 Apr 2022 17:43:18 +0200 (CEST) Received: from mail-108-mta217.mxroute.com (mail-108-mta217.mxroute.com [136.175.108.217]) by mails.dpdk.org (Postfix) with ESMTP id 44CE3427EA for ; Tue, 19 Apr 2022 17:43:17 +0200 (CEST) Received: from filter006.mxroute.com ([140.82.40.27] 140.82.40.27.vultrusercontent.com) (Authenticated sender: mN4UYu2MZsgR) by mail-108-mta217.mxroute.com (ZoneMTA) with ESMTPSA id 180427df91a000fe85.001 for (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256); Tue, 19 Apr 2022 15:43:13 +0000 X-Zone-Loop: fe1822ba9401b299ef7a3ff38a954724882b39b232ba X-Originating-IP: [140.82.40.27] DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ashroe.eu; s=x; h=Content-Type:MIME-Version:Message-ID:Date:In-reply-to:Subject:Cc:To: From:References:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=+Durf0ySRYbu3Ucc+Fv/ZC2f2hcFkjDjdOggB05RUjM=; b=Lp3keKabT0hZVbYFQHVtaNkaOj TQZb/OQLqy+guYOf9KSe8jdRgkgrzPbrhdU2LRTkr+Z3Ii96xnTM4AUm6AbBQ+JkXE/f6NhIq3ZW2 IuX6L/9Dk4dSVr1YmRufpbLBESlIoK44wXm0P2Wv6iKnYostTLIHHTU6sSZt4TkHwgVcWisUmjndd dPpRrJoH2DoTzPd7p0JplUxS5crMv1tmXmwMB/98SR0+mfx8loHED11qArThQRbYGrSavj+vFiCvg 89HrIdcYhKuf0f9geSXS87gm/p/v6Gjofgv4P8Y6MUSaJ3pIxOEcpoi5ccI3YvPryYA5/gCSjrROm yZl1yywA==; References: <20220408140847.1319312-1-kevin.laatz@intel.com> <20220419112501.1835458-1-kevin.laatz@intel.com> <20220419112501.1835458-4-kevin.laatz@intel.com> User-agent: mu4e 1.4.15; emacs 27.1 From: Ray Kinsella To: Kevin Laatz Cc: dev@dpdk.org, David Hunt Subject: Re: [PATCH v2 3/4] lib/power: add get and set API for scaling freq min and max with pstate mode In-reply-to: <20220419112501.1835458-4-kevin.laatz@intel.com> Date: Tue, 19 Apr 2022 11:43:11 -0400 Message-ID: <87r15tnkog.fsf@mdr78.vserver.site> MIME-Version: 1.0 Content-Type: text/plain X-AuthUser: mdr@ashroe.eu 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 Kevin Laatz writes: > Add new get/set API to allow the user or application to set the minimum > and maximum frequencies to use when scaling. > Previously, the frequency range was determined by the HW capabilities of > the CPU. With this new API, the user or application can constrain this > if required. > > Signed-off-by: Kevin Laatz > --- > lib/power/power_pstate_cpufreq.c | 22 +++++++-- > lib/power/rte_power_pmd_mgmt.c | 65 ++++++++++++++++++++++++++ > lib/power/rte_power_pmd_mgmt.h | 80 ++++++++++++++++++++++++++++++++ > lib/power/version.map | 4 ++ > 4 files changed, 166 insertions(+), 5 deletions(-) > Acked-by: Ray Kinsella