Skip to contentSkip to conversation

app/testpmd: fix metering and policing command for rfc4115

PATCH Applied Shun Hao 3 participants 3 messages May 13, 2022 – May 20, 2022

lore
Share & tools
lore

Shun Hao

author
#0 lore raw

PATCH 1/1 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")
---
 app/test-pmd/cmdline.c | 1 +
 1 file changed, 1 insertion(+)
app/test-pmd/cmdline.c +1 -0
index 6ffea8e21a..34410fe9f7 100644
@@ -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,
Signature · 1 line
2.20.0
Acked-by on v1 1/1
#1 lore raw
Quoted 40 lines

-----Original Message-----
From: Shun Hao <[email protected]>
Sent: Friday, May 13, 2022 4:58 AM
To: [email protected]; [email protected]; [email protected]; Li, Xiaoyun <[email protected]>; Singh, Aman Deep <[email protected]>; Zhang, Yuying <[email protected]>; Wu, Jingjing <[email protected]>; Singh, Jasvinder <[email protected]>; Adrien Mazarguil <[email protected]>; Dumitrescu, Cristian <[email protected]>
Cc: [email protected]; [email protected]; [email protected]
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: [email protected]

---
 app/test-pmd/cmdline.c | 1 +
 1 file changed, 1 insertion(+)
app/test-pmd/cmdline.c +1 -0
index 6ffea8e21a..34410fe9f7 100644
@@ -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,
Quoted 3 lines

(cmdline_parse_inst_t *)&cmd_enable_port_meter,
--
2.20.0

Applied
#2 lore raw
Quoted 18 lines · Cristian
Quoted 18 lines

-----Original Message-----
From: Shun Hao <[email protected]>
Sent: Friday, May 13, 2022 4:58 AM
To: [email protected]; [email protected]; [email protected]; Li, Xiaoyun <[email protected]>; Singh, Aman Deep <[email protected]>; Zhang, Yuying <[email protected]>; Wu, Jingjing <[email protected]>; Singh, Jasvinder <[email protected]>; Adrien Mazarguil <[email protected]>; Dumitrescu, Cristian <[email protected]>
Cc: [email protected]; [email protected]; [email protected]
Subject: [PATCH v1] app/testpmd: fix metering and policing command for rfc4115

Add CLI command support for metering and policing of trtcm_rfc4115.

Quoted 8 lines
Quoted 6 lines
Fixes 30ffb4e67ee3 ("app/testpmd: add commands traffic metering and

policing")
Cc: [email protected]

Applied to dpdk-next-net/main, thanks.