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 8DD79A04E7; Wed, 4 Nov 2020 10:28:35 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 68071C8BC; Wed, 4 Nov 2020 10:28:18 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id C7C59C8A6; Wed, 4 Nov 2020 10:28:15 +0100 (CET) IronPort-SDR: Iscl9QsjUzYcRluTGjveCMdbXy1Gqo+y0NJlr1HOxDUArHGBBmMI75rRoloF7rwO+I+16+YhNm pR36HHhl1lyA== X-IronPort-AV: E=McAfee;i="6000,8403,9794"; a="156180167" X-IronPort-AV: E=Sophos;i="5.77,450,1596524400"; d="scan'208";a="156180167" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Nov 2020 01:28:13 -0800 IronPort-SDR: mrpTQJvncYCbVoeleWtpZGu9UQKVq55Ix03dvNM4Cx0te+jNQL9Y2FSvs4qZ2SboIp5kNNcrT9 9XeO0Och/K8A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,450,1596524400"; d="scan'208";a="363363829" Received: from silpixa00399952.ir.intel.com (HELO silpixa00399952.ger.corp.intel.com) ([10.237.222.38]) by FMSMGA003.fm.intel.com with ESMTP; 04 Nov 2020 01:28:12 -0800 From: David Hunt To: dev@dpdk.org Cc: david.hunt@intel.com, stable@dpdk.org Date: Wed, 4 Nov 2020 09:28:10 +0000 Message-Id: <20201104092810.29135-1-david.hunt@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201027132413.23116-1-david.hunt@intel.com> References: <20201027132413.23116-1-david.hunt@intel.com> Subject: [dpdk-dev] [PATCH v5] 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 Fixes: 5a5f3178d4a8 ("power: return error when environment already set") CC: stable@dpdk.org --- v1 initial version (with typo in the title) v2 fix typo but forgot --in-reply-to v3 add -in-reply-to v4 add in version info, and cc stable in case it needs to be backported v5 add in Fixes line. Note: CC'ing stable in case the deprecation notice should also be removed from 19.11. It looks to me like the patch making the change and the patch adding the notice were both added in 19.11, so the notice is no longer needed in that version. --- --- 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 43e0e09be..7e40f2d72 100644 --- a/doc/guides/rel_notes/deprecation.rst +++ b/doc/guides/rel_notes/deprecation.rst @@ -141,11 +141,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