From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 48F6CA0096 for ; Fri, 15 Mar 2019 10:35:23 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A6D514CA6; Fri, 15 Mar 2019 10:35:19 +0100 (CET) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 179634C9D for ; Fri, 15 Mar 2019 10:35:16 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Mar 2019 02:35:16 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,481,1544515200"; d="scan'208";a="214419952" Received: from mhajkowx-mobl.ger.corp.intel.com ([10.104.12.175]) by orsmga001.jf.intel.com with ESMTP; 15 Mar 2019 02:35:13 -0700 From: Hajkowski To: david.hunt@intel.com Cc: dev@dpdk.org, Marcin Hajkowski Date: Fri, 15 Mar 2019 10:34:16 +0100 Message-Id: <20190315093420.9812-1-marcinx.hajkowski@intel.com> X-Mailer: git-send-email 2.20.1.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH 0/4] rte_power APIs enhancement X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" Content-Type: text/plain; charset="UTF-8" Message-ID: <20190315093416.ZyuSakkJBQFydNrqgycMeXp__JGuKfhz18nlfg6ACg0@z> From: Marcin Hajkowski Modifications to assure thread safety of rte_power APIs for power env set and unset, better user notification by returning more suitable value and internal data cleaning corrections. Marcin Hajkowski (4): power: fix non thread-safe power env modification power: return error in set env when power env already set power: reset function pointers on unset env power: add UTs for all power env types app/test/test_power.c | 155 +++++++++++++++++++------ doc/guides/rel_notes/release_19_05.rst | 6 + lib/librte_power/rte_power.c | 52 +++++++-- lib/librte_power/rte_power.h | 3 +- 4 files changed, 170 insertions(+), 46 deletions(-) -- 2.17.2