DPDK patches and discussions
 help / color / mirror / Atom feed
From: Hajkowski <marcinx.hajkowski@intel.com>
To: david.hunt@intel.com
Cc: dev@dpdk.org, Marcin Hajkowski <marcinx.hajkowski@intel.com>,
	Rami Rosen <ramirose@gmail.com>,
	Anatoly Burakov <anatoly.burakov@intel.com>,
	Bruce Richardson <bruce.richardson@intel.com>
Subject: [dpdk-dev] [PATCH v2] doc: announce change in power API
Date: Mon, 13 May 2019 15:52:10 +0200	[thread overview]
Message-ID: <20190513135210.13532-1-marcinx.hajkowski@intel.com> (raw)
Message-ID: <20190513135210.1UzceuNjNX3ozPA_5xAjrc7H_VD0mYzPOZnfe4-h6hI@z> (raw)
In-Reply-To: <20190313192107.696-1-marcinx.hajkowski@intel.com>

From: Marcin Hajkowski <marcinx.hajkowski@intel.com>

Function rte_power_set_env will no longer return
success on attempt to set env in initialized state.

Signed-off-by: Marcin Hajkowski <marcinx.hajkowski@intel.com>
Reviewed-by: Rami Rosen <ramirose@gmail.com>
Acked-by: David Hunt <david.hunt@intel.com>
Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
---
 doc/guides/rel_notes/deprecation.rst | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst
index b47c8c254..504ca7ec6 100644
--- a/doc/guides/rel_notes/deprecation.rst
+++ b/doc/guides/rel_notes/deprecation.rst
@@ -82,3 +82,8 @@ Deprecation Notices
 * cryptodev: the ``uint8_t *data`` member of ``key`` structure in the xforms
   structure (``rte_crypto_cipher_xform``, ``rte_crypto_auth_xform``, and
   ``rte_crypto_aead_xform``) will be changed to ``const uint8_t *data``.
+
+* 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.
-- 
2.17.2


  parent reply	other threads:[~2019-05-13 13:54 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-13 19:21 [dpdk-dev] [PATCH 1/1] " Hajkowski
2019-03-13 19:21 ` Hajkowski
2019-03-14 18:50 ` Rami Rosen
2019-03-14 18:50   ` Rami Rosen
2019-04-18 14:33 ` Hunt, David
2019-04-18 14:33   ` Hunt, David
2019-05-09 23:28   ` Thomas Monjalon
2019-05-09 23:28     ` Thomas Monjalon
2019-05-10  9:28     ` Bruce Richardson
2019-05-10  9:28       ` Bruce Richardson
2019-05-10  9:33       ` Bruce Richardson
2019-05-10  9:33         ` Bruce Richardson
2019-05-10  9:26 ` Burakov, Anatoly
2019-05-10  9:26   ` Burakov, Anatoly
2019-05-13 13:52 ` Hajkowski [this message]
2019-05-13 13:52   ` [dpdk-dev] [PATCH v2] " Hajkowski
2019-05-13 21:35   ` Thomas Monjalon
2019-05-13 21:35     ` Thomas Monjalon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190513135210.13532-1-marcinx.hajkowski@intel.com \
    --to=marcinx.hajkowski@intel.com \
    --cc=anatoly.burakov@intel.com \
    --cc=bruce.richardson@intel.com \
    --cc=david.hunt@intel.com \
    --cc=dev@dpdk.org \
    --cc=ramirose@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).