doc: fix description of TM function in testpmd
Fixes: 5b590fbe09
("app/testpmd: add traffic management forwarding mode")
Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com>
Acked-by: John McNamara <john.mcnamara@intel.com>
This commit is contained in:
parent
6b663dae3f
commit
448c23320f
@ -2238,7 +2238,8 @@ Add nonleaf node to port traffic management hiearchy::
|
|||||||
|
|
||||||
testpmd> add port tm nonleaf node (port_id) (node_id) (parent_node_id) \
|
testpmd> add port tm nonleaf node (port_id) (node_id) (parent_node_id) \
|
||||||
(priority) (weight) (level_id) (shaper_profile_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:
|
where:
|
||||||
|
|
||||||
@ -2251,10 +2252,10 @@ where:
|
|||||||
* ``level_id``: Hiearchy level of the node.
|
* ``level_id``: Hiearchy level of the node.
|
||||||
* ``shaper_profile_id``: Shaper profile ID of the private shaper to be used by
|
* ``shaper_profile_id``: Shaper profile ID of the private shaper to be used by
|
||||||
the node.
|
the node.
|
||||||
* ``shared_shaper_id``: Shared shaper id.
|
|
||||||
* ``n_shared_shapers``: Number of shared shapers.
|
|
||||||
* ``n_sp_priorities``: Number of strict priorities.
|
* ``n_sp_priorities``: Number of strict priorities.
|
||||||
* ``stats_mask``: Mask of statistics counter types 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.
|
||||||
|
|
||||||
Add port traffic management hierarchy leaf node
|
Add port traffic management hierarchy leaf node
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
@ -2263,8 +2264,8 @@ Add leaf node to port traffic management hiearchy::
|
|||||||
|
|
||||||
testpmd> add port tm leaf node (port_id) (node_id) (parent_node_id) \
|
testpmd> add port tm leaf node (port_id) (node_id) (parent_node_id) \
|
||||||
(priority) (weight) (level_id) (shaper_profile_id) \
|
(priority) (weight) (level_id) (shaper_profile_id) \
|
||||||
(shared_shaper_id) (n_shared_shapers) (cman_mode) \
|
(cman_mode) (wred_profile_id) (stats_mask) (n_shared_shapers) \
|
||||||
(wred_profile_id) (stats_mask) \
|
[(shared_shaper_id) (shared_shaper_id) ...] \
|
||||||
|
|
||||||
where:
|
where:
|
||||||
|
|
||||||
@ -2277,11 +2278,11 @@ where:
|
|||||||
* ``level_id``: Hiearchy level of the node.
|
* ``level_id``: Hiearchy level of the node.
|
||||||
* ``shaper_profile_id``: Shaper profile ID of the private shaper to be used by
|
* ``shaper_profile_id``: Shaper profile ID of the private shaper to be used by
|
||||||
the node.
|
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.
|
* ``cman_mode``: Congestion management mode to be enabled for this node.
|
||||||
* ``wred_profile_id``: WRED profile id 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.
|
* ``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
|
Delete port traffic management hierarchy node
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
Loading…
Reference in New Issue
Block a user