[dpdk-dev,v2,10/10] doc: update testpmd guide and release note

Message ID 1446108827-7907-11-git-send-email-jingjing.wu@intel.com (mailing list archive)
State Superseded, archived
Headers

Commit Message

Jingjing Wu Oct. 29, 2015, 8:53 a.m. UTC
  Signed-off-by: Jingjing Wu <jingjing.wu@intel.com>
---
 doc/guides/rel_notes/release_2_2.rst        |  6 ++++++
 doc/guides/testpmd_app_ug/testpmd_funcs.rst | 12 +++++++-----
 2 files changed, 13 insertions(+), 5 deletions(-)
  

Comments

Thomas Monjalon Oct. 30, 2015, 10:26 a.m. UTC | #1
2015-10-29 16:53, Jingjing Wu:
> Signed-off-by: Jingjing Wu <jingjing.wu@intel.com>
> ---
>  doc/guides/rel_notes/release_2_2.rst        |  6 ++++++
>  doc/guides/testpmd_app_ug/testpmd_funcs.rst | 12 +++++++-----

These changes would be easier to understand if they were in the context
of the code changes. I suggest to update docs in the same patch as code change.
  

Patch

diff --git a/doc/guides/rel_notes/release_2_2.rst b/doc/guides/rel_notes/release_2_2.rst
index de6916e..7c0737a 100644
--- a/doc/guides/rel_notes/release_2_2.rst
+++ b/doc/guides/rel_notes/release_2_2.rst
@@ -11,6 +11,12 @@  New Features
 
 * **Added vhost-user multiple queue support.**
 
+* **Added i40e DCB support.**
+
+  *  Added support to the i40e driver for DCB on PF.
+  *  Provided new API rte_eth_dev_get_dcb_info to query DCB information.
+  *  Changes the testpmd DCB forwarding stream to make it based on TC.
+
 
 Resolved Issues
 ---------------
diff --git a/doc/guides/testpmd_app_ug/testpmd_funcs.rst b/doc/guides/testpmd_app_ug/testpmd_funcs.rst
index 71d831b..b7659d0 100644
--- a/doc/guides/testpmd_app_ug/testpmd_funcs.rst
+++ b/doc/guides/testpmd_app_ug/testpmd_funcs.rst
@@ -50,10 +50,10 @@  If you type a partial command and hit ``<TAB>`` you get a list of the available
 
    testpmd> show port <TAB>
 
-       info [Mul-choice STRING]: show|clear port info|stats|fdir|stat_qmap X
-       info [Mul-choice STRING]: show|clear port info|stats|fdir|stat_qmap all
-       stats [Mul-choice STRING]: show|clear port info|stats|fdir|stat_qmap X
-       stats [Mul-choice STRING]: show|clear port info|stats|fdir|stat_qmap all
+       info [Mul-choice STRING]: show|clear port info|stats|fdir|stat_qmap|dcb_tc X
+       info [Mul-choice STRING]: show|clear port info|stats|fdir|stat_qmap|dcb_tc all
+       stats [Mul-choice STRING]: show|clear port info|stats|fdir|stat_qmap|dcb_tc X
+       stats [Mul-choice STRING]: show|clear port info|stats|fdir|stat_qmap|dcb_tc all
        ...
 
 
@@ -128,7 +128,7 @@  show port
 
 Display information for a given port or all ports::
 
-   testpmd> show port (info|stats|fdir|stat_qmap) (port_id|all)
+   testpmd> show port (info|stats|fdir|stat_qmap|dcb_tc) (port_id|all)
 
 The available information categories are:
 
@@ -140,6 +140,8 @@  The available information categories are:
 
 * ``stat_qmap``: Queue statistics mapping.
 
+* ``dcb_tc``: DCB information such as TC mapping.
+
 For example:
 
 .. code-block:: console