summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorVipin Varghese <vipin.varghese@intel.com>2019-04-04 14:25:15 +0530
committerThomas Monjalon <thomas@monjalon.net>2019-04-22 21:45:16 +0200
commitb2854d5317e834afe22e71412befe95b63aded4b (patch)
tree878a8f2166e399de8b738295787aae01e5018f1e /doc
parente442df31121abae2b11410ac89e24cac4fe9c4f2 (diff)
downloaddpdk-draft-windows-b2854d5317e834afe22e71412befe95b63aded4b.zip
dpdk-draft-windows-b2854d5317e834afe22e71412befe95b63aded4b.tar.gz
dpdk-draft-windows-b2854d5317e834afe22e71412befe95b63aded4b.tar.xz
app/pdump: support multi-core capture
Add option --multi, to enhance pdump application to allow capture on unique cores for each --pdump option. If option --multi is ignored the default capture occurs on single core for all --pdump options. Signed-off-by: Vipin Varghese <vipin.varghese@intel.com> Acked-by: Reshma Pattan <reshma.pattan@intel.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/guides/tools/pdump.rst8
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/guides/tools/pdump.rst b/doc/guides/tools/pdump.rst
index 7c2b73e..53cd2b4 100644
--- a/doc/guides/tools/pdump.rst
+++ b/doc/guides/tools/pdump.rst
@@ -35,6 +35,7 @@ The tool has a number of command line options:
.. code-block:: console
./build/app/dpdk-pdump --
+ [--multi]
--pdump '(port=<port id> | device_id=<pci id or vdev name>),
(queue=<queue_id>),
(rx-dev=<iface or pcap file> |
@@ -43,6 +44,10 @@ The tool has a number of command line options:
[mbuf-size=<mbuf data size>],
[total-num-mbufs=<number of mbufs>]'
+The ``--multi`` command line option is optional argument. If passed, capture
+will be running on unique cores for all ``--pdump`` options. If ignored,
+capture will be running on single core for all ``--pdump`` options.
+
The ``--pdump`` command line option is mandatory and it takes various sub arguments which are described in
below section.
@@ -112,4 +117,5 @@ Example
.. code-block:: console
- $ sudo ./build/app/dpdk-pdump -- --pdump 'port=0,queue=*,rx-dev=/tmp/rx.pcap'
+ $ sudo ./build/app/dpdk-pdump -l 3 -- --pdump 'port=0,queue=*,rx-dev=/tmp/rx.pcap'
+ $ sudo ./build/app/dpdk-pdump -l 3,4,5 -- --multi --pdump 'port=0,queue=*,rx-dev=/tmp/rx-1.pcap' --pdump 'port=1,queue=*,rx-dev=/tmp/rx-2.pcap'