[dpdk-dev,v2] doc: update the usage for shared library

Message ID 1517926143-16585-1-git-send-email-vipin.varghese@intel.com (mailing list archive)
State Superseded, 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 Feb. 6, 2018, 2:09 p.m. UTC
  Add note information to intimate about use of option '-d' for shared
library in DPDK application.

Signed-off-by: Vipin Varghese <vipin.varghese@intel.com>
---

V2 Changes:
 - updated the space - John
 - updated testpmd to dpdk-testpmd - John
---
 doc/guides/nics/build_and_test.rst | 5 +++++
 1 file changed, 5 insertions(+)
  

Comments

John McNamara Feb. 6, 2018, 3:31 p.m. UTC | #1
> -----Original Message-----
> From: Varghese, Vipin
> Sent: Tuesday, February 6, 2018 2:09 PM
> To: dev@dpdk.org; Mcnamara, John <john.mcnamara@intel.com>
> Cc: stable@dpdk.org; Kovacevic, Marko <marko.kovacevic@intel.com>;
> Varghese, Vipin <vipin.varghese@intel.com>
> Subject: [PATCH v2] doc: update the usage for shared library
> 
> Add note information to intimate about use of option '-d' for shared
> library in DPDK application.
> 
> Signed-off-by: Vipin Varghese <vipin.varghese@intel.com>
> ---
> 
> V2 Changes:
>  - updated the space - John
>  - updated testpmd to dpdk-testpmd - John

Hi,

It should be the other way around. dpdk-testpmd should be changed to
testpmd:


> +
> +      When ``dpdk-testpmd`` is built with shared library, use option ``-
> d`` to
> +      load the dynamic PMD for ``rte_eal_init``.
  

Patch

diff --git a/doc/guides/nics/build_and_test.rst b/doc/guides/nics/build_and_test.rst
index 62ac52c..9c4e7b2 100644
--- a/doc/guides/nics/build_and_test.rst
+++ b/doc/guides/nics/build_and_test.rst
@@ -151,3 +151,8 @@  This section demonstrates how to setup and run ``testpmd`` in Linux.
 
    Refer to the :ref:`testpmd runtime functions <testpmd_runtime>` for a list
    of available commands.
+
+   .. note::
+
+      When ``dpdk-testpmd`` is built with shared library, use option ``-d`` to
+      load the dynamic PMD for ``rte_eal_init``.