doc: add a restriction to multi-process support
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
@@ -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
@@ -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
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
@@ -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
@@ -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
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.
Signed-off-by Junjie Chen <[email protected]>
Could you mark the previous version of this patch as "Superseded":
Otherwise:
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 supportQuoted 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 supportQuoted 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.
Signed-off-by Junjie Chen <[email protected]>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 <[email protected]>
Thomas Monjalon
AppliedQuoted 8 lines
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.
Signed-off-by Junjie Chen <[email protected]>Acked-by John McNamara <[email protected]>
Applied, thanks