Skip to contentSkip to conversation

bugfix for doc

PATCH In review Min Hu (Connor) 2 participants 5 messages Apr 16, 2021

lore
Share & tools
lore
#0 lore raw

cover bugfix for doc

This patchset contains 2 patches, to fix testpmd doc and hns3 doc.

Huisong Li (1):
doc/testpmd: delete queue stats mapping description

Min Hu (Connor) (1):
doc: fix HiSilicon copyright syntax

 doc/guides/nics/hns3.rst                    |  6 +++---
 doc/guides/testpmd_app_ug/run_app.rst       |  8 --------
 doc/guides/testpmd_app_ug/testpmd_funcs.rst | 14 ++++++--------
 3 files changed, 9 insertions(+), 19 deletions(-)
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/2 doc/testpmd: delete queue stats mapping description

From: Huisong Li <[email protected]>

The "--tx-queue-stats-mapping" and "--rx-queue-stats-mapping" , and display and clear of "stats_map" have been removed from testpmd.

This patch deletes some descriptions about queue stats mapping in testpmd doc.

Fixes 08dcd1870686 ("app/testpmd: fix queue stats mapping configuration")
---
 doc/guides/testpmd_app_ug/run_app.rst       |  8 --------
 doc/guides/testpmd_app_ug/testpmd_funcs.rst | 14 ++++++--------
 2 files changed, 6 insertions(+), 16 deletions(-)
doc/guides/testpmd_app_ug/run_app.rst +0 -8
index d714951..6642efc 100644
@@ -356,14 +356,6 @@ The command line options are:
     Set the transmit RS bit threshold of TX rings to N, where 0 <= N <= value of ``--txd``.
     The default value is 0.
 
-*   ``--rx-queue-stats-mapping=(port,queue,mapping)[,(port,queue,mapping)]``
-
-    Set the RX queues statistics counters mapping 0 <= mapping <= 15.
-
-*   ``--tx-queue-stats-mapping=(port,queue,mapping)[,(port,queue,mapping)]``
-
-    Set the TX queues statistics counters mapping 0 <= mapping <= 15.
-
 *   ``--no-flush-rx``
 
     Don't flush the RX streams before starting forwarding. Used mainly with the PCAP PMD.
doc/guides/testpmd_app_ug/testpmd_funcs.rst +6 -8
index e3bfed5..9854b70 100644
@@ -24,10 +24,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|xstats|fdir|stat_qmap|dcb_tc X
-       info [Mul-choice STRING]: show|clear port info|stats|xstats|fdir|stat_qmap|dcb_tc all
-       stats [Mul-choice STRING]: show|clear port info|stats|xstats|fdir|stat_qmap|dcb_tc X
-       stats [Mul-choice STRING]: show|clear port info|stats|xstats|fdir|stat_qmap|dcb_tc all
+       info [Mul-choice STRING]: show|clear port info|stats|xstats|fdir|dcb_tc|cap X
+       info [Mul-choice STRING]: show|clear port info|stats|xstats|fdir|dcb_tc|cap all
+       stats [Mul-choice STRING]: show|clear port info|stats|xstats|fdir|dcb_tc|cap X
+       stats [Mul-choice STRING]: show|clear port info|stats|xstats|fdir|dcb_tc|cap all
        ...
 
 
@@ -159,7 +159,7 @@ show port
 
 Display information for a given port or all ports::
 
-   testpmd> show port (info|summary|stats|xstats|fdir|stat_qmap|dcb_tc) (port_id|all)
+   testpmd> show port (info|summary|stats|xstats|fdir|dcb_tc|cap) (port_id|all)
 
 The available information categories are:
 
@@ -173,8 +173,6 @@ The available information categories are:
 
 * ``fdir``: Flow Director information and statistics.
 
-* ``stat_qmap``: Queue statistics mapping.
-
 * ``dcb_tc``: DCB information such as TC mapping.
 
 For example:
@@ -244,7 +242,7 @@ clear port
 
 Clear the port statistics and forward engine statistics for a given port or for all ports::
 
-   testpmd> clear port (info|stats|xstats|fdir|stat_qmap) (port_id|all)
+   testpmd> clear port (info|stats|xstats|fdir) (port_id|all)
 
 For example::
 
Signature · 1 line
2.7.4
Reviewed-by on v1 1/2
#2 lore raw

Re: [dpdk-dev] [PATCH 1/2] doc/testpmd: delete queue stats mapping description

Quoted 6 lines · Min Hu (Connor)

From: Huisong Li <[email protected]>

The "--tx-queue-stats-mapping" and "--rx-queue-stats-mapping" , and display and clear of "stats_map" have been removed from testpmd.

Quoted 8 lines

This patch deletes some descriptions about queue stats mapping in testpmd doc.

Fixes 08dcd1870686 ("app/testpmd: fix queue stats mapping configuration")
#3 lore raw

PATCH 2/2 doc: fix HiSilicon copyright syntax

In reply to Min Hu (Connor)

This patch fixes HiSilicon copyright syntax.

According to the suggestion of our legal department, to standardize the copyright license of our code to avoid potential copyright risks, we make a unified modification to the "Hisilicon", which was nonstandard, in the main modules we maintain.

We change it to "HiSilicon", which is consistent with the terms used on the following official website:
https://www.hisilicon.com/en/terms-of-use.

Fixes 565829db8b8f ("net/hns3: add build and doc infrastructure")
---
 doc/guides/nics/hns3.rst | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
doc/guides/nics/hns3.rst +3 -3
index 3366562..20c7387 100644
@@ -1,12 +1,12 @@
 ..  SPDX-License-Identifier: BSD-3-Clause
-    Copyright(c) 2018-2019 Hisilicon Limited.
+    Copyright(c) 2018-2019 HiSilicon Limited.
 
 HNS3 Poll Mode Driver
 ===============================
 
 The hns3 PMD (**librte_net_hns3**) provides poll mode driver support
-for the inbuilt Hisilicon Network Subsystem(HNS) network engine
-found in the Hisilicon Kunpeng 920 SoC.
+for the inbuilt HiSilicon Network Subsystem(HNS) network engine
+found in the HiSilicon Kunpeng 920 SoC.
 
 Features
 --------
Signature · 1 line
2.7.4
#4 lore raw
In reply to Min Hu (Connor)
Quoted 8 lines · Min Hu (Connor)

This patchset contains 2 patches, to fix testpmd doc and hns3 doc.

Huisong Li (1):
doc/testpmd: delete queue stats mapping description

Min Hu (Connor) (1):
doc: fix HiSilicon copyright syntax

Series applied to dpdk-next-net/main, thanks.