DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH v1] app/testpmd: fix metering and policing command for rfc4115
@ 2022-05-13  3:57 Shun Hao
  2022-05-16 17:50 ` Dumitrescu, Cristian
  0 siblings, 1 reply; 2+ messages in thread
From: Shun Hao @ 2022-05-13  3:57 UTC (permalink / raw)
  To: viacheslavo, matan, orika, Xiaoyun Li, Aman Singh, Yuying Zhang,
	Jingjing Wu, Jasvinder Singh, Adrien Mazarguil,
	Cristian Dumitrescu
  Cc: dev, rasland, stable

Add CLI command support for metering and policing of trtcm_rfc4115.

Fixes: 30ffb4e67ee3 ("app/testpmd: add commands traffic metering and policing")
Cc: stable@dpdk.org

Signed-off-by: Shun Hao <shunh@nvidia.com>
Acked-by: Matan Azard <matan@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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: [PATCH v1] app/testpmd: fix metering and policing command for rfc4115
  2022-05-13  3:57 [PATCH v1] app/testpmd: fix metering and policing command for rfc4115 Shun Hao
@ 2022-05-16 17:50 ` Dumitrescu, Cristian
  0 siblings, 0 replies; 2+ messages in thread
From: Dumitrescu, Cristian @ 2022-05-16 17:50 UTC (permalink / raw)
  To: Shun Hao, viacheslavo, matan, orika, Li, Xiaoyun, Singh,
	Aman Deep, Zhang, Yuying, Wu, Jingjing, Singh, Jasvinder,
	Adrien Mazarguil
  Cc: dev, rasland, stable



> -----Original Message-----
> From: Shun Hao <shunh@nvidia.com>
> Sent: Friday, May 13, 2022 4:58 AM
> To: viacheslavo@nvidia.com; matan@nvidia.com; orika@nvidia.com; Li,
> Xiaoyun <xiaoyun.li@intel.com>; Singh, Aman Deep
> <aman.deep.singh@intel.com>; Zhang, Yuying <yuying.zhang@intel.com>; Wu,
> Jingjing <jingjing.wu@intel.com>; Singh, Jasvinder
> <jasvinder.singh@intel.com>; Adrien Mazarguil
> <adrien.mazarguil@6wind.com>; Dumitrescu, Cristian
> <cristian.dumitrescu@intel.com>
> Cc: dev@dpdk.org; rasland@nvidia.com; stable@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@dpdk.org
> 
> Signed-off-by: Shun Hao <shunh@nvidia.com>
> Acked-by: Matan Azard <matan@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@intel.com>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-05-16 17:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-13  3:57 [PATCH v1] app/testpmd: fix metering and policing command for rfc4115 Shun Hao
2022-05-16 17:50 ` Dumitrescu, Cristian

DPDK patches and discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.dpdk.org/dev/0 dev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dev dev/ http://inbox.dpdk.org/dev \
		dev@dpdk.org
	public-inbox-index dev

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dev


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git