DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH v2] doc: add a restriction to multi-process support
@ 2017-11-28 11:10 junjie.j.chen
  2017-11-29 17:17 ` [dpdk-dev] [PATCH v3] " Junjie Chen
  0 siblings, 1 reply; 5+ messages in thread
From: junjie.j.chen @ 2017-11-28 11:10 UTC (permalink / raw)
  To: sergio.gonzalez.monroy, john.mcnamara, maryam.tahhan, dev; +Cc: Junjie Chen

From: Junjie Chen <junjie.j.chen@intel.com>

This patch add a restriction to multi-process support: secondary
processes should only run alongside primary process with same DPDK
version, so that secondary processes can use the same hugepage mmap
layout as primary process.

Signed-off-by: Junjie Chen <junjie.j.chen@intel.com>
---
 doc/guides/prog_guide/multi_proc_support.rst | 1 +
 doc/guides/tools/proc_info.rst               | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/doc/guides/prog_guide/multi_proc_support.rst b/doc/guides/prog_guide/multi_proc_support.rst
index 9a9dca7fe..0cd67ae2d 100644
--- a/doc/guides/prog_guide/multi_proc_support.rst
+++ b/doc/guides/prog_guide/multi_proc_support.rst
@@ -51,6 +51,7 @@ For now, there are two types of process specified:
 Standalone DPDK processes are primary processes,
 while secondary processes can only run alongside a primary process or
 after a primary process has already configured the hugepage shared memory for them.
+And secondary processes should only run alongside primary process with same DPDK version.
 
 To support these two process types, and other multi-process setups described later,
 two additional command-line parameters are available to the EAL:
diff --git a/doc/guides/tools/proc_info.rst b/doc/guides/tools/proc_info.rst
index fd17e278c..57c88f2f0 100644
--- a/doc/guides/tools/proc_info.rst
+++ b/doc/guides/tools/proc_info.rst
@@ -36,7 +36,8 @@ The dpdk-procinfo application is a Data Plane Development Kit (DPDK) application
 that runs as a DPDK secondary process and is capable of retrieving port
 statistics, resetting port statistics and printing DPDK memory information.
 This application extends the original functionality that was supported by
-dump_cfg.
+dump_cfg. Note that dpdk-procinfo can only run alongside primary process with
+same DPDK version.
 
 Running the Application
 -----------------------
-- 
2.15.0

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

* [dpdk-dev] [PATCH v3] doc: add a restriction to multi-process support
  2017-11-28 11:10 [dpdk-dev] [PATCH v2] doc: add a restriction to multi-process support junjie.j.chen
@ 2017-11-29 17:17 ` Junjie Chen
  2017-12-12 12:41   ` Mcnamara, John
  0 siblings, 1 reply; 5+ messages in thread
From: Junjie Chen @ 2017-11-29 17:17 UTC (permalink / raw)
  To: sergio.gonzalez.monroy, john.mcnamara, maryam.tahhan, dev; +Cc: Junjie Chen

This patch add a restriction to multi-process support: secondary
processes should only run alongside primary process with same DPDK
version, so that secondary processes can use the same hugepage mmap
layout as primary process.

Signed-off-by: Junjie Chen <junjie.j.chen@intel.com>
---
v3 changes:
 Use 'note' marker to make it clearer.

 doc/guides/prog_guide/multi_proc_support.rst | 4 ++++
 doc/guides/tools/proc_info.rst               | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/doc/guides/prog_guide/multi_proc_support.rst b/doc/guides/prog_guide/multi_proc_support.rst
index 9a9dca7fe..4ca3f2c22 100644
--- a/doc/guides/prog_guide/multi_proc_support.rst
+++ b/doc/guides/prog_guide/multi_proc_support.rst
@@ -52,6 +52,10 @@ Standalone DPDK processes are primary processes,
 while secondary processes can only run alongside a primary process or
 after a primary process has already configured the hugepage shared memory for them.
 
+.. note::
+
+    Secondary processes should run alongside primary process with same DPDK version.
+
 To support these two process types, and other multi-process setups described later,
 two additional command-line parameters are available to the EAL:
 
diff --git a/doc/guides/tools/proc_info.rst b/doc/guides/tools/proc_info.rst
index fd17e278c..1b81a7891 100644
--- a/doc/guides/tools/proc_info.rst
+++ b/doc/guides/tools/proc_info.rst
@@ -38,6 +38,10 @@ statistics, resetting port statistics and printing DPDK memory information.
 This application extends the original functionality that was supported by
 dump_cfg.
 
+.. note::
+
+    dpdk-procinfo should run alongside primary process with same DPDK version.
+
 Running the Application
 -----------------------
 The application has a number of command line options:
-- 
2.15.0

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

* Re: [dpdk-dev] [PATCH v3] doc: add a restriction to multi-process support
  2017-11-29 17:17 ` [dpdk-dev] [PATCH v3] " Junjie Chen
@ 2017-12-12 12:41   ` Mcnamara, John
  2017-12-12 13:13     ` Chen, Junjie J
  2018-02-01  2:17     ` Thomas Monjalon
  0 siblings, 2 replies; 5+ messages in thread
From: Mcnamara, John @ 2017-12-12 12:41 UTC (permalink / raw)
  To: Chen, Junjie J, Gonzalez Monroy, Sergio, Tahhan, Maryam, dev



> -----Original Message-----
> From: Chen, Junjie J
> Sent: Wednesday, November 29, 2017 5:17 PM
> To: Gonzalez Monroy, Sergio <sergio.gonzalez.monroy@intel.com>; Mcnamara,
> John <john.mcnamara@intel.com>; Tahhan, Maryam <maryam.tahhan@intel.com>;
> dev@dpdk.org
> Cc: Chen, Junjie J <junjie.j.chen@intel.com>
> Subject: [PATCH v3] doc: add a restriction to multi-process support
> 
> This patch add a restriction to multi-process support: secondary processes
> should only run alongside primary process with same DPDK version, so that
> secondary processes can use the same hugepage mmap layout as primary
> process.
> 
> Signed-off-by: Junjie Chen <junjie.j.chen@intel.com>

Could you mark the previous version of this patch as "Superseded":

http://dpdk.org/dev/patchwork/project/dpdk/list/?submitter=&state=&q=restriction+to+multi-process+support&archive=&delegate=


Otherwise:

Acked-by: John McNamara <john.mcnamara@intel.com>

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

* Re: [dpdk-dev] [PATCH v3] doc: add a restriction to multi-process support
  2017-12-12 12:41   ` Mcnamara, John
@ 2017-12-12 13:13     ` Chen, Junjie J
  2018-02-01  2:17     ` Thomas Monjalon
  1 sibling, 0 replies; 5+ messages in thread
From: Chen, Junjie J @ 2017-12-12 13:13 UTC (permalink / raw)
  To: Mcnamara, John, Gonzalez Monroy, Sergio, Tahhan, Maryam, dev

Done!

Cheers
JJ

> -----Original Message-----
> From: Mcnamara, John
> Sent: Tuesday, December 12, 2017 8:41 PM
> To: Chen, Junjie J <junjie.j.chen@intel.com>; Gonzalez Monroy, Sergio
> <sergio.gonzalez.monroy@intel.com>; Tahhan, Maryam
> <maryam.tahhan@intel.com>; dev@dpdk.org
> Subject: RE: [PATCH v3] doc: add a restriction to multi-process support
> 
> 
> 
> > -----Original Message-----
> > From: Chen, Junjie J
> > Sent: Wednesday, November 29, 2017 5:17 PM
> > To: Gonzalez Monroy, Sergio <sergio.gonzalez.monroy@intel.com>;
> > Mcnamara, John <john.mcnamara@intel.com>; Tahhan, Maryam
> > <maryam.tahhan@intel.com>; dev@dpdk.org
> > Cc: Chen, Junjie J <junjie.j.chen@intel.com>
> > Subject: [PATCH v3] doc: add a restriction to multi-process support
> >
> > This patch add a restriction to multi-process support: secondary
> > processes should only run alongside primary process with same DPDK
> > version, so that secondary processes can use the same hugepage mmap
> > layout as primary process.
> >
> > Signed-off-by: Junjie Chen <junjie.j.chen@intel.com>
> 
> Could you mark the previous version of this patch as "Superseded":
> 
> http://dpdk.org/dev/patchwork/project/dpdk/list/?submitter=&state=&q=restri
> ction+to+multi-process+support&archive=&delegate=
> 
> 
> Otherwise:
> 
> Acked-by: John McNamara <john.mcnamara@intel.com>
> 

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

* Re: [dpdk-dev] [PATCH v3] doc: add a restriction to multi-process support
  2017-12-12 12:41   ` Mcnamara, John
  2017-12-12 13:13     ` Chen, Junjie J
@ 2018-02-01  2:17     ` Thomas Monjalon
  1 sibling, 0 replies; 5+ messages in thread
From: Thomas Monjalon @ 2018-02-01  2:17 UTC (permalink / raw)
  To: Chen, Junjie J
  Cc: dev, Mcnamara, John, Gonzalez Monroy, Sergio, Tahhan, Maryam

> > This patch add a restriction to multi-process support: secondary processes
> > should only run alongside primary process with same DPDK version, so that
> > secondary processes can use the same hugepage mmap layout as primary
> > process.
> > 
> > Signed-off-by: Junjie Chen <junjie.j.chen@intel.com>
> 
> Acked-by: John McNamara <john.mcnamara@intel.com>

Applied, thanks

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

end of thread, other threads:[~2018-02-01  2:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-28 11:10 [dpdk-dev] [PATCH v2] doc: add a restriction to multi-process support junjie.j.chen
2017-11-29 17:17 ` [dpdk-dev] [PATCH v3] " Junjie Chen
2017-12-12 12:41   ` Mcnamara, John
2017-12-12 13:13     ` Chen, Junjie J
2018-02-01  2:17     ` Thomas Monjalon

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