From patchwork Fri Dec 4 07:51:08 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hideyuki Yamashita X-Patchwork-Id: 84752 X-Patchwork-Delegate: ferruh.yigit@amd.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 231F8A04B0; Fri, 4 Dec 2020 08:53:01 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E88B1C9DC; Fri, 4 Dec 2020 08:52:05 +0100 (CET) Received: from dish-sg.nttdocomo.co.jp (dish-sg.nttdocomo.co.jp [202.19.227.74]) by dpdk.org (Postfix) with ESMTP id 57B6DC9D8 for ; Fri, 4 Dec 2020 08:52:04 +0100 (CET) X-dD-Source: Outbound Received: from zssg-mailmd106.ddreams.local (zssg-mailmd900.ddreams.local [10.160.172.63]) by zssg-mailou104.ddreams.local (Postfix) with ESMTP id 9AC0512013D; Fri, 4 Dec 2020 16:52:02 +0900 (JST) Received: from zssg-mailmf101.ddreams.local (zssg-mailmf900.ddreams.local [10.160.172.84]) by zssg-mailmd106.ddreams.local (dDREAMS) with ESMTP id <0QKT00QGF1UQL140@dDREAMS>; Fri, 04 Dec 2020 16:52:02 +0900 (JST) Received: from zssg-mailmf101.ddreams.local (unknown [127.0.0.1]) by zssg-mailmf101.ddreams.local (Postfix) with ESMTP id 79FCD7E603A; Fri, 4 Dec 2020 16:52:02 +0900 (JST) Received: from zssg-mailmf101.ddreams.local (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 75C158E605D; Fri, 4 Dec 2020 16:52:02 +0900 (JST) Received: from localhost (unknown [127.0.0.1]) by IMSVA (Postfix) with SMTP id 74DE28E605C; Fri, 4 Dec 2020 16:52:02 +0900 (JST) X-IMSS-HAND-OFF-DIRECTIVE: localhost:10026 Received: from zssg-mailmf101.ddreams.local (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id AE5D08E6055; Fri, 4 Dec 2020 16:52:01 +0900 (JST) Received: from davinci.ntt-tx.co.jp (unknown [10.160.183.139]) by zssg-mailmf101.ddreams.local (Postfix) with ESMTP; Fri, 4 Dec 2020 16:52:01 +0900 (JST) From: Hideyuki Yamashita To: Maryam Tahhan , Reshma Pattan Cc: dev@dpdk.org, Hideyuki Yamashita , Hideyuki Yamashita Date: Fri, 04 Dec 2020 16:51:08 +0900 Message-id: <20201204075109.14694-5-yamashita.hideyuki@ntt-tx.co.jp> X-Mailer: git-send-email 2.28.0 In-reply-to: <20201204075109.14694-1-yamashita.hideyuki@ntt-tx.co.jp> References: <20201204075109.14694-1-yamashita.hideyuki@ntt-tx.co.jp> MIME-version: 1.0 Content-transfer-encoding: 8bit X-TM-AS-GCONF: 00 Subject: [dpdk-dev] [PATCH 4/5] docs: add description of apistats parameter into proc-info X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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 modifies document of proc-info to introduce "--apistats" parameter. Signed-off-by: Hideyuki Yamashita --- doc/guides/tools/proc_info.rst | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/doc/guides/tools/proc_info.rst b/doc/guides/tools/proc_info.rst index 9772d97..4c7b79e 100644 --- a/doc/guides/tools/proc_info.rst +++ b/doc/guides/tools/proc_info.rst @@ -18,8 +18,9 @@ The application has a number of command line options: .. code-block:: console .//app/dpdk-procinfo -- -m | [-p PORTMASK] [--stats | --xstats | - --stats-reset | --xstats-reset] [ --show-port | --show-tm | --show-crypto | - --show-ring[=name] | --show-mempool[=name] | --iter-mempool=name ] + --stats-reset | --xstats-reset | --apistats ] [ --show-port | --show-tm | + --show-crypto | --show-ring[=name] | --show-mempool[=name] | + --iter-mempool=name ] Parameters ~~~~~~~~~~ @@ -41,6 +42,11 @@ no port mask is specified, the generic stats are reset for all DPDK ports. The xstats-reset parameter controls the resetting of extended port statistics. If no port mask is specified xstats are reset for all DPDK ports. +**--apistats** +The apistats parameter controls rx_burst/tx_burst API invocation counter +statistics per core. If no port mask is specified apistats are printed for all +DPDK ports. + **-m**: Print DPDK memory information. **--show-port**