[dpdk-dev] doc: update procinfo for shared library

Message ID 1517314622-19439-1-git-send-email-vipin.varghese@intel.com (mailing list archive)
State Accepted, archived
Delegated to: Thomas Monjalon
Headers

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation success Compilation OK

Commit Message

Varghese, Vipin Jan. 30, 2018, 12:17 p.m. UTC
  added note category to procinfo guide, to intimate users in shared
library mode. Procinfo requires same NIC libraries to probe the NIC
devices as Primary Application.

Signed-off-by: Vipin Varghese <vipin.varghese@intel.com>
---
 doc/guides/tools/proc_info.rst | 6 ++++++
 1 file changed, 6 insertions(+)
  

Comments

Kovacevic, Marko Jan. 30, 2018, 1:39 p.m. UTC | #1
> added note category to procinfo guide, to intimate users in shared library mode.
> Procinfo requires same NIC libraries to probe the NIC devices as Primary
> Application.
> 
> Signed-off-by: Vipin Varghese <vipin.varghese@intel.com>
>
>  doc/guides/tools/proc_info.rst | 6 ++++++

Acked-by: Marko Kovacevic <marko.kovacevic@intel.com>
  
Thomas Monjalon Feb. 1, 2018, 2:23 a.m. UTC | #2
30/01/2018 14:39, Kovacevic, Marko:
> > added note category to procinfo guide, to intimate users in shared library mode.
> > Procinfo requires same NIC libraries to probe the NIC devices as Primary
> > Application.
> > 
> > Signed-off-by: Vipin Varghese <vipin.varghese@intel.com>
> >
> >  doc/guides/tools/proc_info.rst | 6 ++++++
> 
> Acked-by: Marko Kovacevic <marko.kovacevic@intel.com>

Applied, thanks
  

Patch

diff --git a/doc/guides/tools/proc_info.rst b/doc/guides/tools/proc_info.rst
index fd17e27..78c5a9e 100644
--- a/doc/guides/tools/proc_info.rst
+++ b/doc/guides/tools/proc_info.rst
@@ -38,6 +38,12 @@  statistics, resetting port statistics and printing DPDK memory information.
 This application extends the original functionality that was supported by
 dump_cfg.
 
+.. Note::
+   When running `dpdk-procinfo`` with shared library mode, it is required to
+   pass the same NIC PMD libraries as used for the primary application. Any
+   mismatch in PMD library arguments can lead to undefined behaviour and results
+   affecting primary application too.
+
 Running the Application
 -----------------------
 The application has a number of command line options: