[dpdk-dev] [PATCH v6 3/3] app/test-pmd: add CLI for TM nodes and hierarchy commit

Singh, Jasvinder jasvinder.singh at intel.com
Wed Oct 11 10:51:18 CEST 2017


<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.


More information about the dev mailing list