From patchwork Fri Apr 16 10:34:28 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "humin (Q)" X-Patchwork-Id: 91637 X-Patchwork-Delegate: ferruh.yigit@amd.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id BCABFA0C40; Fri, 16 Apr 2021 12:34:33 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5B8C4141432; Fri, 16 Apr 2021 12:34:22 +0200 (CEST) Received: from szxga06-in.huawei.com (szxga06-in.huawei.com [45.249.212.32]) by mails.dpdk.org (Postfix) with ESMTP id A5FC0141CDE for ; Fri, 16 Apr 2021 12:34:18 +0200 (CEST) Received: from DGGEMS403-HUB.china.huawei.com (unknown [172.30.72.59]) by szxga06-in.huawei.com (SkyGuard) with ESMTP id 4FMCFg6kv6zlYKl for ; Fri, 16 Apr 2021 18:32:23 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by DGGEMS403-HUB.china.huawei.com (10.3.19.203) with Microsoft SMTP Server id 14.3.498.0; Fri, 16 Apr 2021 18:34:12 +0800 From: "Min Hu (Connor)" To: CC: , Date: Fri, 16 Apr 2021 18:34:28 +0800 Message-ID: <1618569269-55986-2-git-send-email-humin29@huawei.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1618569269-55986-1-git-send-email-humin29@huawei.com> References: <1618569269-55986-1-git-send-email-humin29@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.69.192.56] X-CFilter-Loop: Reflected Subject: [dpdk-dev] [PATCH 1/2] doc/testpmd: delete queue stats mapping description X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" From: Huisong Li 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") Cc: stable@dpdk.org Signed-off-by: Huisong Li Signed-off-by: Min Hu (Connor) Reviewed-by: Ferruh Yigit --- 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(-) diff --git a/doc/guides/testpmd_app_ug/run_app.rst b/doc/guides/testpmd_app_ug/run_app.rst index d714951..6642efc 100644 --- a/doc/guides/testpmd_app_ug/run_app.rst +++ b/doc/guides/testpmd_app_ug/run_app.rst @@ -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. diff --git a/doc/guides/testpmd_app_ug/testpmd_funcs.rst b/doc/guides/testpmd_app_ug/testpmd_funcs.rst index e3bfed5..9854b70 100644 --- a/doc/guides/testpmd_app_ug/testpmd_funcs.rst +++ b/doc/guides/testpmd_app_ug/testpmd_funcs.rst @@ -24,10 +24,10 @@ If you type a partial command and hit ```` you get a list of the available testpmd> show port - 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:: From patchwork Fri Apr 16 10:34:29 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "humin (Q)" X-Patchwork-Id: 91636 X-Patchwork-Delegate: ferruh.yigit@amd.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id BC6D7A0C40; Fri, 16 Apr 2021 12:34:27 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0E57C1411E8; Fri, 16 Apr 2021 12:34:21 +0200 (CEST) Received: from szxga06-in.huawei.com (szxga06-in.huawei.com [45.249.212.32]) by mails.dpdk.org (Postfix) with ESMTP id D74D2141CE2 for ; Fri, 16 Apr 2021 12:34:18 +0200 (CEST) Received: from DGGEMS403-HUB.china.huawei.com (unknown [172.30.72.59]) by szxga06-in.huawei.com (SkyGuard) with ESMTP id 4FMCFg6vk1zlYKq for ; Fri, 16 Apr 2021 18:32:23 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by DGGEMS403-HUB.china.huawei.com (10.3.19.203) with Microsoft SMTP Server id 14.3.498.0; Fri, 16 Apr 2021 18:34:13 +0800 From: "Min Hu (Connor)" To: CC: , Date: Fri, 16 Apr 2021 18:34:29 +0800 Message-ID: <1618569269-55986-3-git-send-email-humin29@huawei.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1618569269-55986-1-git-send-email-humin29@huawei.com> References: <1618569269-55986-1-git-send-email-humin29@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.69.192.56] X-CFilter-Loop: Reflected Subject: [dpdk-dev] [PATCH 2/2] doc: fix HiSilicon copyright syntax X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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") Cc: stable@dpdk.org Signed-off-by: Min Hu (Connor) --- doc/guides/nics/hns3.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/guides/nics/hns3.rst b/doc/guides/nics/hns3.rst index 3366562..20c7387 100644 --- a/doc/guides/nics/hns3.rst +++ b/doc/guides/nics/hns3.rst @@ -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 --------