Skip to contentSkip to conversation

doc: add a restriction to multi-process support

PATCH Superseded [email protected] 3 participants 5 messages Nov 28, 2017 – Feb 1, 2018

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 doc: add a restriction to multi-process support

From: Junjie Chen <[email protected]>

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.

---
 doc/guides/prog_guide/multi_proc_support.rst | 1 +
 doc/guides/tools/proc_info.rst               | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)
doc/guides/prog_guide/multi_proc_support.rst +1 -0
index 9a9dca7fe..0cd67ae2d 100644
@@ -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:
doc/guides/tools/proc_info.rst +2 -1
index fd17e278c..57c88f2f0 100644
@@ -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
 -----------------------
Signature · 1 line
2.15.0
#1 lore raw

PATCH v3 1/1 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.

---
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(+)
doc/guides/prog_guide/multi_proc_support.rst +4 -0
index 9a9dca7fe..4ca3f2c22 100644
@@ -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:
 
doc/guides/tools/proc_info.rst +4 -0
index fd17e278c..1b81a7891 100644
@@ -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:
Signature · 1 line
2.15.0
Acked-by on v3 1/1
#2 lore raw
Quoted 11 lines

-----Original Message-----
From: Chen, Junjie J
Sent: Wednesday, November 29, 2017 5:17 PM
To: Gonzalez Monroy, Sergio <[email protected]>; Mcnamara, John <[email protected]>; Tahhan, Maryam <[email protected]>; [email protected]
Cc: Chen, Junjie J <[email protected]>
Subject: [PATCH v3] doc: add a restriction to multi-process support

Quoted 6 lines

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.

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:

#3 lore raw

Done!

Cheers
JJ

Quoted 36 lines

-----Original Message-----
From: Mcnamara, John
Sent: Tuesday, December 12, 2017 8:41 PM
To: Chen, Junjie J <[email protected]>; Gonzalez Monroy, Sergio <[email protected]>; Tahhan, Maryam <[email protected]>; [email protected]
Subject: RE: [PATCH v3] doc: add a restriction to multi-process support

Quoted 9 lines

-----Original Message-----
From: Chen, Junjie J
Sent: Wednesday, November 29, 2017 5:17 PM
To: Gonzalez Monroy, Sergio <[email protected]>; Mcnamara, John <[email protected]>; Tahhan, Maryam <[email protected]>; [email protected]
Cc: Chen, Junjie J <[email protected]>
Subject: [PATCH v3] doc: add a restriction to multi-process support

Quoted 6 lines

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.

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: