[PATCH v1] app/testpmd: fix metering and policing command for rfc4115

Dumitrescu, Cristian cristian.dumitrescu at intel.com
Mon May 16 19:50:05 CEST 2022



> -----Original Message-----
> From: Shun Hao <shunh at nvidia.com>
> Sent: Friday, May 13, 2022 4:58 AM
> To: viacheslavo at nvidia.com; matan at nvidia.com; orika at nvidia.com; Li,
> Xiaoyun <xiaoyun.li at intel.com>; Singh, Aman Deep
> <aman.deep.singh at intel.com>; Zhang, Yuying <yuying.zhang at intel.com>; Wu,
> Jingjing <jingjing.wu at intel.com>; Singh, Jasvinder
> <jasvinder.singh at intel.com>; Adrien Mazarguil
> <adrien.mazarguil at 6wind.com>; Dumitrescu, Cristian
> <cristian.dumitrescu at intel.com>
> Cc: dev at dpdk.org; rasland at nvidia.com; stable at dpdk.org
> Subject: [PATCH v1] app/testpmd: fix metering and policing command for
> rfc4115
> 
> Add CLI command support for metering and policing of trtcm_rfc4115.
> 
> Fixes: 30ffb4e67ee3 ("app/testpmd: add commands traffic metering and
> policing")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Shun Hao <shunh at nvidia.com>
> Acked-by: Matan Azard <matan at nvidia.com>
> ---
>  app/test-pmd/cmdline.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c
> index 6ffea8e21a..34410fe9f7 100644
> --- a/app/test-pmd/cmdline.c
> +++ b/app/test-pmd/cmdline.c
> @@ -17966,6 +17966,7 @@ cmdline_parse_ctx_t main_ctx[] = {
>  	(cmdline_parse_inst_t *)&cmd_show_port_meter_cap,
>  	(cmdline_parse_inst_t *)&cmd_add_port_meter_profile_srtcm,
>  	(cmdline_parse_inst_t *)&cmd_add_port_meter_profile_trtcm,
> +	(cmdline_parse_inst_t
> *)&cmd_add_port_meter_profile_trtcm_rfc4115,
>  	(cmdline_parse_inst_t *)&cmd_del_port_meter_profile,
>  	(cmdline_parse_inst_t *)&cmd_create_port_meter,
>  	(cmdline_parse_inst_t *)&cmd_enable_port_meter,
> --
> 2.20.0

Acked-by: Cristian Dumitrescu <cristian.dumitrescu at intel.com>



More information about the stable mailing list