Skip to contentSkip to conversation

doc: fix rst issues in testpmd user guide

PATCH Applied John McNamara 3 participants 4 messages Sep 28, 2015 – Oct 26, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 doc: fix rst issues in testpmd user guide

Fix a number of RST issues in the testpmd user guide and refactored the structure to:

* Remove redundant roadmap section.
* Merge Overview section into Introduction.
* Move "set fwd" to the start of its section.

---
 doc/guides/testpmd_app_ug/build_app.rst     |    4 +-
 doc/guides/testpmd_app_ug/index.rst         |    1 -
 doc/guides/testpmd_app_ug/intro.rst         |   39 +-
 doc/guides/testpmd_app_ug/overview.rst      |   35 -
 doc/guides/testpmd_app_ug/run_app.rst       |  262 ++---
 doc/guides/testpmd_app_ug/testpmd_funcs.rst | 1440 ++++++++++++++-------------
 6 files changed, 878 insertions(+), 903 deletions(-)
 delete mode 100644 doc/guides/testpmd_app_ug/overview.rst
doc/guides/testpmd_app_ug/build_app.rst +2 -2
index 8b0a857..7f32a7c 100644
@@ -31,8 +31,8 @@
 Compiling the Application
 =========================
 
-The testpmd application is compiled as part of the main compilation of the DPDK libraries and tools.
-Refer to the DPDK Getting Started Guide for details.
+The ``testpmd`` application is compiled as part of the main compilation of the DPDK libraries and tools.
+Refer to the DPDK Getting Started Guides for details.
 The basic compilation steps are:
 
 #.  Set the required environmental variables and go to the source directory:
doc/guides/testpmd_app_ug/index.rst +0 -1
index 922535c..3b163c1 100644
@@ -40,7 +40,6 @@ Testpmd Application User Guide
     :numbered:
 
     intro
-    overview
     build_app
     run_app
     testpmd_funcs
doc/guides/testpmd_app_ug/intro.rst +4 -35
index ccf57ed..8ef32e7 100644
@@ -31,42 +31,11 @@
 Introduction
 ============
 
-This document is a user guide for the testpmd example application that is shipped as part of the Data Plane Development Kit.
+This document is a user guide for the ``testpmd`` example application that is shipped as part of the Data Plane Development Kit.
 
-The testpmd application can be used to test the DPDK in a packet forwarding mode
+The ``testpmd`` application can be used to test the DPDK in a packet forwarding mode
 and also to access NIC hardware features such as Flow Director.
 It also serves as a example of how to build a more fully-featured application using the DPDK SDK.
 
-Documentation Roadmap
----------------------
-
-The following is a list of DPDK documents in the suggested reading order:
-
-*   **Release Notes** : Provides release-specific information, including supported features,
-    limitations, fixed issues, known issues and so on.
-    Also, provides the answers to frequently asked questions in FAQ format.
-
-*   **Getting Started Guide** (this document): Describes how to install and configure the DPDK;
-    designed to get users up and running quickly with the software.
-
-*   **Programmer's Guide** : Describes:
-
-    *   The software architecture and how to use it (through examples), specifically in a Linux* application (linuxapp) environment
-
-    *   The content of the DPDK, the build system
-        (including the commands that can be used in the root DPDK Makefile to build the development kit and an application)
-        and guidelines for porting an application
-
-    *   Optimizations used in the software and those that should be considered for new development
-
-    A glossary of terms is also provided.
-
-*   **API Reference** : Provides detailed information about DPDK functions, data structures and other programming constructs.
-
-*   **Sample Applications User Guide** : Describes a set of sample applications.
-    Each chapter describes a sample application that showcases specific functionality and
-    provides instructions on how to compile, run and use the sample application.
-
-.. note::
-
-    These documents are available for download as a separate documentation package at the same location as the DPDK code package.
+The guide shows how to build and run the testpmd application and
+how to configure the application from the command line and the run-time environment.
doc/guides/testpmd_app_ug/overview.rst deleted +0 -35
deleted file mode 100644
index 7937aca..0000000
@@ -1,35 +0,0 @@
-..  BSD LICENSE
-    Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
-    All rights reserved.
-
-    Redistribution and use in source and binary forms, with or without
-    modification, are permitted provided that the following conditions
-    are met:
-
-    * Redistributions of source code must retain the above copyright
-    notice, this list of conditions and the following disclaimer.
-    * Redistributions in binary form must reproduce the above copyright
-    notice, this list of conditions and the following disclaimer in
-    the documentation and/or other materials provided with the
-    distribution.
-    * Neither the name of Intel Corporation nor the names of its
-    contributors may be used to endorse or promote products derived
-    from this software without specific prior written permission.
-
-    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-    "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-    LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-    A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-    OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-    SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-    LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-    DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-    THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-    (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-    OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-Overview
-========
-
-The following sections show how to build and run the testpmd application and
-how to configure the application from the command line and the run-time environment.
doc/guides/testpmd_app_ug/run_app.rst +142 -120

537 lines not on this page · raw message

doc/guides/testpmd_app_ug/testpmd_funcs.rst +730 -710

2,365 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Signature · 1 line
1.8.1.4

Part of the diff is not shown here. View the raw message.

Acked-by on v1 1/1
#1 lore raw
Quoted 8 lines

-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of John McNamara
Sent: Monday, September 28, 2015 8:46 PM
To: [email protected]
Subject: [dpdk-dev] [PATCH] doc: fix rst issues in testpmd user guide

Quoted 8 lines

Fix a number of RST issues in the testpmd user guide and refactored the structure to:

* Remove redundant roadmap section.
* Merge Overview section into Introduction.
* Move "set fwd" to the start of its section.

#2 lore raw
Quoted 17 lines

-----Original Message-----
From: De Lara Guarch, Pablo
Sent: Thursday, October 1, 2015 5:27 PM
To: Mcnamara, John; [email protected]
Subject: RE: [dpdk-dev] [PATCH] doc: fix rst issues in testpmd user guide

Quoted 9 lines

-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of John McNamara
Sent: Monday, September 28, 2015 8:46 PM
To: [email protected]
Subject: [dpdk-dev] [PATCH] doc: fix rst issues in testpmd user guide

Fix a number of RST issues in the testpmd user guide and refactored the structure to:

Quoted 7 lines
Quoted 5 lines

* Remove redundant roadmap section.
* Merge Overview section into Introduction.
* Move "set fwd" to the start of its section.

Hi,

I know docs are low priority but can we get this one merged since there are other pending software changes to testpmd with flow director and when we add documentation for them it would be better if they were in the updated, clearer, format.

John.