summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReshma Pattan <reshma.pattan@intel.com>2017-07-03 15:17:58 +0100
committerThomas Monjalon <thomas@monjalon.net>2017-07-10 00:46:38 +0200
commit99ad488b68351111a462227d5ccbe93c1395043b (patch)
tree4d51bc5da862969dabb3bc7cce0f529951c95dc4
parent0667319395899e0cbf155f0307d14214356358ac (diff)
downloaddpdk-99ad488b68351111a462227d5ccbe93c1395043b.zip
dpdk-99ad488b68351111a462227d5ccbe93c1395043b.tar.gz
dpdk-99ad488b68351111a462227d5ccbe93c1395043b.tar.xz
doc: add note for pdump initialization
Updated note to make users aware that the packet capture framework is initialized by default only in testpmd. Other primary applications need to explicitly modify the code to do this initialization. Signed-off-by: Reshma Pattan <reshma.pattan@intel.com>
-rw-r--r--doc/guides/tools/pdump.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/guides/tools/pdump.rst b/doc/guides/tools/pdump.rst
index 57097e4..b46a92f 100644
--- a/doc/guides/tools/pdump.rst
+++ b/doc/guides/tools/pdump.rst
@@ -38,6 +38,12 @@ a DPDK secondary process and is capable of enabling packet capture on dpdk ports
.. Note::
* The ``dpdk-pdump`` tool can only be used in conjunction with a primary
application which has the packet capture framework initialized already.
+ In dpdk, only the ``testpmd`` is modified to initialize packet capture
+ framework, other applications remain untouched. So, if the ``dpdk-pdump``
+ tool has to be used with any application other than the testpmd, user
+ needs to explicitly modify that application to call packet capture
+ framework initialization code. Refer ``app/test-pmd/testpmd.c``
+ code to see how this is done.
* The ``dpdk-pdump`` tool depends on libpcap based PMD which is disabled
by default in the build configuration files,