<snip>

>  app/test-pmd/cmdline.c    |  27 +++
>  app/test-pmd/cmdline_tm.c | 526
> ++++++++++++++++++++++++++++++++++++++++++++++
>  app/test-pmd/cmdline_tm.h |   5 +
>  3 files changed, 558 insertions(+)
> 
> diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c index
> d89583c..c6b35ba 100644
> --- a/app/test-pmd/cmdline.c
> +++ b/app/test-pmd/cmdline.c
> @@ -683,6 +683,28 @@ static void cmd_help_long_parsed(void
> *parsed_result,
>                       "del port tm node wred profile (port_id)
> (wred_profile_id)\n"
>                       "       Delete port tm node wred profile.\n\n"
> 
> +                     "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"
> +                     "       Add port tm nonleaf node.\n\n"
> +
> +                     "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)
> (n_sp_priorities)"
> +                     " (cman_mode) (wred_profile_id) (stats_mask)\n"
> +                     "       Add port tm leaf node.\n\n"
> +
> 
> For leaf node , it should not have "n_sp_priorities" parameter.
> 
Forgot to edit here in help. Thanks. Will fix in the next version.

Reply via email to