DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] doc: deprecation notice for EAL runtime path changes
@ 2018-05-25 13:38 Anatoly Burakov
  2018-05-25 13:58 ` Bruce Richardson
  2018-05-25 15:33 ` Van Haaren, Harry
  0 siblings, 2 replies; 4+ messages in thread
From: Anatoly Burakov @ 2018-05-25 13:38 UTC (permalink / raw)
  To: dev
  Cc: Neil Horman, John McNamara, Marko Kovacevic, thomas,
	bruce.richardson, harry.van.haaren

Most of this work was already done, but runtime config path is
considered to be part of public API because of high likelihood of
it being used by various tools in the DPDK ecosystem, and thus
requires a deprecation notice.

Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
---
 doc/guides/rel_notes/deprecation.rst | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst
index 1e2443c..36d2e23 100644
--- a/doc/guides/rel_notes/deprecation.rst
+++ b/doc/guides/rel_notes/deprecation.rst
@@ -8,6 +8,15 @@ API and ABI deprecation notices are to be posted here.
 Deprecation Notices
 -------------------
 
+* eal: DPDK runtime configuration file (located at
+  ``/var/run/.<prefix>_config``) will be moved. The new path will be as follows:
+  - if DPDK is running as root, path will be set to
+    ``/var/run/dpdk/<prefix>/config``
+  - if DPDK is not running as root and $XDG_RUNTIME_DIR is set, path will be set
+    to ``$XDG_RUNTIME_DIR/dpdk/<prefix>/config``
+  - if DPDK is not running as root and $XDG_RUNTIME_DIR is not set, path will be
+    set to ``/tmp/dpdk/<prefix>/config``
+
 * eal: both declaring and identifying devices will be streamlined in v18.05.
   New functions will appear to query a specific port from buses, classes of
   device and device drivers. Device declaration will be made coherent with the
-- 
2.7.4

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-dev] [PATCH] doc: deprecation notice for EAL runtime path changes
  2018-05-25 13:38 [dpdk-dev] [PATCH] doc: deprecation notice for EAL runtime path changes Anatoly Burakov
@ 2018-05-25 13:58 ` Bruce Richardson
  2018-05-28  0:28   ` Thomas Monjalon
  2018-05-25 15:33 ` Van Haaren, Harry
  1 sibling, 1 reply; 4+ messages in thread
From: Bruce Richardson @ 2018-05-25 13:58 UTC (permalink / raw)
  To: Anatoly Burakov
  Cc: dev, Neil Horman, John McNamara, Marko Kovacevic, thomas,
	harry.van.haaren

On Fri, May 25, 2018 at 02:38:43PM +0100, Anatoly Burakov wrote:
> Most of this work was already done, but runtime config path is
> considered to be part of public API because of high likelihood of
> it being used by various tools in the DPDK ecosystem, and thus
> requires a deprecation notice.
> 
> Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
> ---
Acked-by: Bruce Richardson <bruce.richardson@intel.com>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-dev] [PATCH] doc: deprecation notice for EAL runtime path changes
  2018-05-25 13:38 [dpdk-dev] [PATCH] doc: deprecation notice for EAL runtime path changes Anatoly Burakov
  2018-05-25 13:58 ` Bruce Richardson
@ 2018-05-25 15:33 ` Van Haaren, Harry
  1 sibling, 0 replies; 4+ messages in thread
From: Van Haaren, Harry @ 2018-05-25 15:33 UTC (permalink / raw)
  To: Burakov, Anatoly, dev
  Cc: Neil Horman, Mcnamara, John, Kovacevic, Marko, thomas, Richardson, Bruce

> From: Burakov, Anatoly
> Sent: Friday, May 25, 2018 2:39 PM
> To: dev@dpdk.org
> Cc: Neil Horman <nhorman@tuxdriver.com>; Mcnamara, John
> <john.mcnamara@intel.com>; Kovacevic, Marko <marko.kovacevic@intel.com>;
> thomas@monjalon.net; Richardson, Bruce <bruce.richardson@intel.com>; Van
> Haaren, Harry <harry.van.haaren@intel.com>
> Subject: [PATCH] doc: deprecation notice for EAL runtime path changes
> 
> Most of this work was already done, but runtime config path is
> considered to be part of public API because of high likelihood of
> it being used by various tools in the DPDK ecosystem, and thus
> requires a deprecation notice.
> 
> Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>

Acked-by: Harry van Haaren <harry.van.haaren@intel.com>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-dev] [PATCH] doc: deprecation notice for EAL runtime path changes
  2018-05-25 13:58 ` Bruce Richardson
@ 2018-05-28  0:28   ` Thomas Monjalon
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas Monjalon @ 2018-05-28  0:28 UTC (permalink / raw)
  To: Anatoly Burakov
  Cc: dev, Bruce Richardson, Neil Horman, John McNamara,
	Marko Kovacevic, harry.van.haaren

25/05/2018 15:58, Bruce Richardson:
> On Fri, May 25, 2018 at 02:38:43PM +0100, Anatoly Burakov wrote:
> > Most of this work was already done, but runtime config path is
> > considered to be part of public API because of high likelihood of
> > it being used by various tools in the DPDK ecosystem, and thus
> > requires a deprecation notice.
> > 
> > Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
> > ---
> Acked-by: Bruce Richardson <bruce.richardson@intel.com>

Acked-by: Thomas Monjalon <thomas@monjalon.net>

Applied, thanks

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-05-28  0:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-25 13:38 [dpdk-dev] [PATCH] doc: deprecation notice for EAL runtime path changes Anatoly Burakov
2018-05-25 13:58 ` Bruce Richardson
2018-05-28  0:28   ` Thomas Monjalon
2018-05-25 15:33 ` Van Haaren, Harry

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).