From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 8BCA71BABD for ; Thu, 26 Oct 2017 12:54:14 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga104.jf.intel.com with ESMTP; 26 Oct 2017 03:54:13 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.43,434,1503385200"; d="scan'208";a="1235554921" Received: from silpixa00381635.ir.intel.com (HELO silpixa00381635.ger.corp.intel.com) ([10.237.222.149]) by fmsmga002.fm.intel.com with ESMTP; 26 Oct 2017 03:54:11 -0700 From: Jasvinder Singh To: dev@dpdk.org Cc: john.mcnamara@intel.com Date: Thu, 26 Oct 2017 12:06:50 +0100 Message-Id: <20171026110650.79643-1-jasvinder.singh@intel.com> X-Mailer: git-send-email 2.9.3 Subject: [dpdk-dev] [PATCH] doc: fix description of traffic management function in testpmd 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: , X-List-Received-Date: Thu, 26 Oct 2017 10:54:14 -0000 Fixes: 5b590fbe09b6 ("app/testpmd: add traffic management forwarding mode") Signed-off-by: Jasvinder Singh --- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/doc/guides/testpmd_app_ug/testpmd_funcs.rst b/doc/guides/testpmd_app_ug/testpmd_funcs.rst index 46e4db5..3f1e0d2 100644 --- a/doc/guides/testpmd_app_ug/testpmd_funcs.rst +++ b/doc/guides/testpmd_app_ug/testpmd_funcs.rst @@ -2227,7 +2227,8 @@ Add nonleaf node to port traffic management hiearchy:: testpmd> add port tm nonleaf node (port_id) (node_id) (parent_node_id) \ (priority) (weight) (level_id) (shaper_profile_id) \ - (shared_shaper_id) (n_shared_shapers) (n_sp_priorities) (stats_mask) \ + (n_sp_priorities) (stats_mask) (n_shared_shapers) \ + [(shared_shaper_0) (shared_shaper_1) ...] \ where: @@ -2240,10 +2241,10 @@ where: * ``level_id``: Hiearchy level of the node. * ``shaper_profile_id``: Shaper profile ID of the private shaper to be used by the node. -* ``shared_shaper_id``: Shared shaper id. -* ``n_shared_shapers``: Number of shared shapers. * ``n_sp_priorities``: Number of strict priorities. * ``stats_mask``: Mask of statistics counter types to be enabled for this node. +* ``n_shared_shapers``: Number of shared shapers. +* ``shared_shaper_id``: Shared shaper id. Add port traffic management hierarchy leaf node ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2252,8 +2253,8 @@ Add leaf node to port traffic management hiearchy:: testpmd> add port tm leaf node (port_id) (node_id) (parent_node_id) \ (priority) (weight) (level_id) (shaper_profile_id) \ - (shared_shaper_id) (n_shared_shapers) (cman_mode) \ - (wred_profile_id) (stats_mask) \ + (cman_mode) (wred_profile_id) (stats_mask) (n_shared_shapers) \ + [(shared_shaper_id) (shared_shaper_id) ...] \ where: @@ -2266,11 +2267,11 @@ where: * ``level_id``: Hiearchy level of the node. * ``shaper_profile_id``: Shaper profile ID of the private shaper to be used by the node. -* ``shared_shaper_id``: Shared shaper id. -* ``n_shared_shapers``: Number of shared shapers. * ``cman_mode``: Congestion management mode to be enabled for this node. * ``wred_profile_id``: WRED profile id to be enabled for this node. * ``stats_mask``: Mask of statistics counter types to be enabled for this node. +* ``n_shared_shapers``: Number of shared shapers. +* ``shared_shaper_id``: Shared shaper id. Delete port traffic management hierarchy node ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- 2.9.3