1 --- a/doc/guides/conf.py
2 +++ b/doc/guides/conf.py
4 ("tools/pdump", "dpdk-pdump",
5 "enable packet capture on dpdk ports", "", 1),
6 ("tools/proc_info", "dpdk-procinfo",
7 - "access dpdk port stats and memory info", "", 1)]
8 + "access dpdk port stats and memory info", "", 1),
9 + ("tools/pmdinfo", "dpdk-pmdinfo",
10 + "dump a PMDs hardware support info", "", 1)]
12 ######## :numref: fallback ########
13 # The following hook functions add some simple handling for the :numref:
14 --- a/doc/guides/tools/index.rst
15 +++ b/doc/guides/tools/index.rst
23 +++ b/doc/guides/tools/pmdinfo.rst
27 + Copyright(c) 2016 Canonical Limited. All rights reserved.
29 + Redistribution and use in source and binary forms, with or without
30 + modification, are permitted provided that the following conditions
33 + * Redistributions of source code must retain the above copyright
34 + notice, this list of conditions and the following disclaimer.
35 + * Redistributions in binary form must reproduce the above copyright
36 + notice, this list of conditions and the following disclaimer in
37 + the documentation and/or other materials provided with the
39 + * Neither the name of Intel Corporation nor the names of its
40 + contributors may be used to endorse or promote products derived
41 + from this software without specific prior written permission.
43 + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
44 + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
45 + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
46 + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
47 + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
48 + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
49 + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
50 + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
51 + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
52 + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
53 + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
56 +dpdk-pmdinfo Application
57 +========================
59 +The ``dpdk-pmdinfo`` tool is a Data Plane Development Kit (DPDK) utility that
60 +can dump a PMDs hardware support info.
63 +Running the Application
64 +-----------------------
66 +The tool has a number of command line options:
68 +.. code-block:: console
71 + dpdk-pmdinfo [-hrtp] [-d <pci id file] <elf-file>
73 + -h, --help Show a short help message and exit
74 + -r, --raw Dump as raw json strings
75 + -d FILE, --pcidb=FILE Specify a pci database to get vendor names from
76 + -t, --table Output information on hw support as a hex table
77 + -p, --plugindir Scan dpdk for autoload plugins
81 + * Parameters inside the square brackets represents optional parameters.