Skip to content

Commit

Permalink
doc: fix reference to master process
Browse files Browse the repository at this point in the history
[ upstream commit ad18592 ]

Correct terminolgy here is primary process.
This is a bug in original doc.

Fixes: fc1f275 ("doc: programmers guide")

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>
Acked-by: John McNamara <john.mcnamara@intel.com>
  • Loading branch information
shemminger authored and kevintraynor committed Aug 28, 2020
1 parent 61a4229 commit e322d08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/guides/prog_guide/thread_safety_dpdk_functions.rst
Expand Up @@ -61,8 +61,8 @@ rather than subsequently in the forwarding threads.
However, the DPDK performs checks to ensure that libraries are only initialized once.
If initialization is attempted more than once, an error is returned.

In the multi-process case, the configuration information of shared memory will only be initialized by the master process.
Thereafter, both master and secondary processes can allocate/release any objects of memory that finally rely on rte_malloc or memzones.
In the multi-process case, the configuration information of shared memory will only be initialized by the primary process.
Thereafter, both primary and secondary processes can allocate/release any objects of memory that finally rely on rte_malloc or memzones.

Interrupt Thread
----------------
Expand Down

0 comments on commit e322d08

Please sign in to comment.