From patchwork Tue Oct 27 12:49:54 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Hunt, David" X-Patchwork-Id: 82323 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2E7E9A04B5; Tue, 27 Oct 2020 13:50:02 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 096B74C8B; Tue, 27 Oct 2020 13:50:01 +0100 (CET) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id 439264C89 for ; Tue, 27 Oct 2020 13:49:58 +0100 (CET) IronPort-SDR: MATLeqkzD6xOdq0WxnUS95GfUIoyUCgTjXuudCWz4uNgubxudL+bywApZhb6rjSn0sjUjvYQMH QCViG+09WImw== X-IronPort-AV: E=McAfee;i="6000,8403,9786"; a="147355329" X-IronPort-AV: E=Sophos;i="5.77,423,1596524400"; d="scan'208";a="147355329" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Oct 2020 05:49:57 -0700 IronPort-SDR: dgtJF8zz66elvrrsLRYxR8sCakYEE+Z0zjp+IlbepuMw8F7xT2qsDFtj/Rh1eECV0Gk7M6TEbR Xnt2Uo/oHJMg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,423,1596524400"; d="scan'208";a="355525868" 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:49:56 -0700 From: David Hunt To: dev@dpdk.org Cc: david.hunt@intel.com Date: Tue, 27 Oct 2020 12:49:54 +0000 Message-Id: <20201027124954.21896-1-david.hunt@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dpdk-dev] [PATCH v2] 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.