From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tomasz Duszynski Subject: [PATCH] app/testpmd: add missing args to TM show cap cmd Date: Sun, 28 Jan 2018 16:08:14 +0100 Message-ID: <1517152094-21811-1-git-send-email-tdu@semihalf.com> Cc: wenzhuo.lu@intel.com, jingjing.wu@intel.com, john.mcnamara@intel.com, marko.kovacevic@intel.com, Tomasz Duszynski , jasvinder.singh@intel.com To: dev@dpdk.org Return-path: Received: from mail-lf0-f65.google.com (mail-lf0-f65.google.com [209.85.215.65]) by dpdk.org (Postfix) with ESMTP id 678871B28B for ; Sun, 28 Jan 2018 16:08:33 +0100 (CET) Received: by mail-lf0-f65.google.com with SMTP id a204so6390497lfa.2 for ; Sun, 28 Jan 2018 07:08:33 -0800 (PST) List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Command used for querying node or level capabilities requires argument which specifies which set of capabilities to show. Thus trying to show node/level capabilities using current documentation will not work. Fix that by adding missing arguments to command documentation. Fixes: 5b590fbe09b6 ("app/testpmd: add traffic management forwarding mode") Cc: jasvinder.singh@intel.com Signed-off-by: Tomasz Duszynski --- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/guides/testpmd_app_ug/testpmd_funcs.rst b/doc/guides/testpmd_app_ug/testpmd_funcs.rst index d8c9ef0..7ab8eea 100644 --- a/doc/guides/testpmd_app_ug/testpmd_funcs.rst +++ b/doc/guides/testpmd_app_ug/testpmd_funcs.rst @@ -2274,14 +2274,14 @@ show port traffic management capability (hierarchy level) Show traffic management hierarchy level capability of the port:: - testpmd> show port tm cap (port_id) (level_id) + testpmd> show port tm level cap (port_id) (level_id) show port traffic management capability (hierarchy node level) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Show the traffic management hierarchy node capability of the port:: - testpmd> show port tm cap (port_id) (node_id) + testpmd> show port tm node cap (port_id) (node_id) show port traffic management hierarchy node type ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- 2.7.4