doc: fix description of traffic management function in testpmd
PATCH 1/1 doc: fix description of traffic management function in testpmd
Fixes 5b590fbe09b6 ("app/testpmd: add traffic management forwarding mode")
Signed-off-by Jasvinder Singh <[email protected]>
--- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-)
doc/guides/testpmd_app_ug/testpmd_funcs.rst +8 -7
@@ -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 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Signature · 1 line
2.9.3
Quoted 10 lines
-----Original Message-----
From: Singh, Jasvinder
Sent: Thursday, October 26, 2017 12:07 PM
To: [email protected]
Cc: Mcnamara, John <[email protected]>
Subject: [PATCH] doc: fix description of traffic management function in testpmd
Quoted 4 lines
Fixes 5b590fbe09b6 ("app/testpmd: add traffic management forwardingmode")
Signed-off-by Jasvinder Singh <[email protected]>
Acked-by John McNamara <[email protected]>
Ferruh Yigit
AppliedQuoted 10 lines · John
Quoted 10 lines
-----Original Message-----
From: Singh, Jasvinder
Sent: Thursday, October 26, 2017 12:07 PM
To: [email protected]
Cc: Mcnamara, John <[email protected]>
Subject: [PATCH] doc: fix description of traffic management function in testpmd
Quoted 6 lines
Quoted 4 lines
Fixes 5b590fbe09b6 ("app/testpmd: add traffic management forwardingmode")
Signed-off-by Jasvinder Singh <[email protected]>Acked-by John McNamara <[email protected]>
Applied to dpdk/master, thanks.