From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 4E981A04B5; Tue, 27 Oct 2020 13:52:34 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2B2E44C91; Tue, 27 Oct 2020 13:52:33 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 0E6104C8B for ; Tue, 27 Oct 2020 13:52:31 +0100 (CET) IronPort-SDR: mBQGyB7VAUPvMNY6zhTslN9cLpZvBBaN0/YMbyIqrxCQaM1Z9xevLcUu6ErxcaBK4ikmGMHMuv TdjrQkfXIJuw== X-IronPort-AV: E=McAfee;i="6000,8403,9786"; a="155850428" X-IronPort-AV: E=Sophos;i="5.77,423,1596524400"; d="scan'208";a="155850428" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Oct 2020 05:52:29 -0700 IronPort-SDR: Jk3RTeNnF1JsC7R7jswny30zDQtZob5xfxyGXTz5mnAr/Q/QLSAI1ZLyGq2QwEM377cPndQKs6 LuOLk6Rp1OBw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,423,1596524400"; d="scan'208";a="355526358" Received: from silpixa00399952.ir.intel.com (HELO silpixa00399952.ger.corp.intel.com) ([10.237.222.38]) by fmsmga002.fm.intel.com with ESMTP; 27 Oct 2020 05:52:28 -0700 From: David Hunt To: dev@dpdk.org Cc: david.hunt@intel.com Date: Tue, 27 Oct 2020 12:52:27 +0000 Message-Id: <20201027125227.21946-1-david.hunt@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201027124954.21896-1-david.hunt@intel.com> References: <20201027124954.21896-1-david.hunt@intel.com> Subject: [dpdk-dev] [PATCH v3] lib/power: remove set env deprecation notice 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" Remove notice announcing an already-implemented change. In 19.05, rte_power_set_env was changed to return -1 in cases where the envorinment was already set up, and for the same release, a deprecation notice was added for the following commit: 'commit 5a5f3178d4a8 ("power: return error when environment already set")' This patch removes that notice. The API change was tested by calling rte_power_set_env twice. The first call succeeded, and the second call failed, as expected. Signed-off-by: David Hunt --- doc/guides/rel_notes/deprecation.rst | 5 ----- 1 file changed, 5 deletions(-) diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst index 76a83968c..ed82df52a 100644 --- a/doc/guides/rel_notes/deprecation.rst +++ b/doc/guides/rel_notes/deprecation.rst @@ -172,11 +172,6 @@ Deprecation Notices * metrics: The function ``rte_metrics_init`` will have a non-void return in order to notify errors instead of calling ``rte_exit``. -* power: ``rte_power_set_env`` function will no longer return 0 on attempt - to set new power environment if power environment was already initialized. - In this case the function will return -1 unless the environment is unset first - (using ``rte_power_unset_env``). Other function usage scenarios will not change. - * cmdline: ``cmdline`` structure will be made opaque to hide platform-specific content. On Linux and FreeBSD, supported prior to DPDK 20.11, original structure will be kept until DPDK 21.11. -- 2.17.1