multi_proc_support.rst: updated file location for config file in documentation

Message ID 20220317061945.14845-1-jawad.hussain@emumba.com (mailing list archive)
State Superseded, archived
Delegated to: Thomas Monjalon
Headers
Series multi_proc_support.rst: updated file location for config file in documentation |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation success Compilation OK
ci/intel-Testing success Testing PASS
ci/iol-mellanox-Performance success Performance Testing PASS
ci/github-robot: build success github build: passed
ci/iol-intel-Performance success Performance Testing PASS
ci/iol-intel-Functional success Functional Testing PASS
ci/iol-aarch64-unit-testing success Testing PASS
ci/iol-x86_64-compile-testing success Testing PASS
ci/iol-x86_64-unit-testing success Testing PASS
ci/iol-abi-testing success Testing PASS
ci/iol-aarch64-compile-testing success Testing PASS
ci/iol-broadcom-Functional fail Functional Testing issues

Commit Message

Muhammad Jawad Hussain March 17, 2022, 6:19 a.m. UTC
  previously .rte_config was made at /var/run/.rte_config
for root users and $HOME/.rte_config for non-root users
now the file is renamed to config
 and is created at /var/run/dpdk/rte/config
for root users and /run/user/$EUID/dpdk/rte/config for non-root users
the docmentation of multi_proc_support has been updated
 to reflect this change

Signed-off-by: Muhammad Jawad Hussain <jawad.hussain@emumba.com>
---
 doc/guides/prog_guide/multi_proc_support.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
  

Comments

Muhammad Jawad Hussain Aug. 11, 2022, 1:02 p.m. UTC | #1
Hi,
I've submitted a patch on 17th March, 2022. One of the tests is failing
and it is not related to the patch.
Following test is failing:
- ci/iol-broadcom-Functional

Can you please rerun the tests so that the patch can be submitted.

Regards,
-Jawad


On Thu, Mar 17, 2022 at 11:19 AM Muhammad Jawad Hussain <
jawad.hussain@emumba.com> wrote:

> previously .rte_config was made at /var/run/.rte_config
> for root users and $HOME/.rte_config for non-root users
> now the file is renamed to config
>  and is created at /var/run/dpdk/rte/config
> for root users and /run/user/$EUID/dpdk/rte/config for non-root users
> the docmentation of multi_proc_support has been updated
>  to reflect this change
>
> Signed-off-by: Muhammad Jawad Hussain <jawad.hussain@emumba.com>
> ---
>  doc/guides/prog_guide/multi_proc_support.rst | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/doc/guides/prog_guide/multi_proc_support.rst
> b/doc/guides/prog_guide/multi_proc_support.rst
> index 815e8bdc43..a409769b9c 100644
> --- a/doc/guides/prog_guide/multi_proc_support.rst
> +++ b/doc/guides/prog_guide/multi_proc_support.rst
> @@ -113,8 +113,8 @@ Support for this usage scenario is provided using the
> ``--file-prefix`` paramete
>
>  By default, the EAL creates hugepage files on each hugetlbfs filesystem
> using the rtemap_X filename,
>  where X is in the range 0 to the maximum number of hugepages -1.
> -Similarly, it creates shared configuration files, memory mapped in each
> process, using the /var/run/.rte_config filename,
> -when run as root (or $HOME/.rte_config when run as a non-root user;
> +Similarly, it creates shared configuration files, memory mapped in each
> process, using the /var/run/dpdk/rte/config filename,
> +when run as root (or /run/user/$EUID/dpdk/rte/config when run as a
> non-root user;
>  if filesystem and device permissions are set up to allow this).
>  The rte part of the filenames of each of the above is configurable using
> the file-prefix parameter.
>
> --
> 2.32.0
>
>
  

Patch

diff --git a/doc/guides/prog_guide/multi_proc_support.rst b/doc/guides/prog_guide/multi_proc_support.rst
index 815e8bdc43..a409769b9c 100644
--- a/doc/guides/prog_guide/multi_proc_support.rst
+++ b/doc/guides/prog_guide/multi_proc_support.rst
@@ -113,8 +113,8 @@  Support for this usage scenario is provided using the ``--file-prefix`` paramete
 
 By default, the EAL creates hugepage files on each hugetlbfs filesystem using the rtemap_X filename,
 where X is in the range 0 to the maximum number of hugepages -1.
-Similarly, it creates shared configuration files, memory mapped in each process, using the /var/run/.rte_config filename,
-when run as root (or $HOME/.rte_config when run as a non-root user;
+Similarly, it creates shared configuration files, memory mapped in each process, using the /var/run/dpdk/rte/config filename,
+when run as root (or /run/user/$EUID/dpdk/rte/config when run as a non-root user;
 if filesystem and device permissions are set up to allow this).
 The rte part of the filenames of each of the above is configurable using the file-prefix parameter.