Skip to contentSkip to conversation

app/testpmd: fix incorrect flow arguments name

PATCH Applied Suanming Mou 4 participants 4 messages Sep 30, 2022 – Oct 17, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 app/testpmd: fix incorrect flow arguments name

There should be no spaces in flow command arguments name. This commit removes incorrect arguments name in queue based table template.

Fixes ecdc927b99f2 ("app/testpmd: add async flow create/destroy operations")
---
 app/test-pmd/cmdline_flow.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
app/test-pmd/cmdline_flow.c +1 -1
index 148dbc082d..e59d64ffa9 100644
@@ -2968,7 +2968,7 @@ static const struct token token_list[] = {
 	},
 	/* Queue  arguments. */
 	[QUEUE_TEMPLATE_TABLE] = {
-		.name = "template table",
+		.name = "template_table",
 		.help = "specify table id",
 		.next = NEXT(NEXT_ENTRY(QUEUE_PATTERN_TEMPLATE),
 			     NEXT_ENTRY(COMMON_TABLE_ID)),
Signature · 1 line
2.25.1
#1 lore raw
Quoted 27 lines · Suanming Mou

There should be no spaces in flow command arguments name. This commit removes incorrect arguments name in queue based table template.

Fixes ecdc927b99f2 ("app/testpmd: add async flow create/destroy operations")
---
  app/test-pmd/cmdline_flow.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
app/test-pmd/cmdline_flow.c +1 -1
index 148dbc082d..e59d64ffa9 100644
@@ -2968,7 +2968,7 @@ static const struct token token_list[] = {
  	},
  	/* Queue  arguments. */
  	[QUEUE_TEMPLATE_TABLE] = {
-		.name = "template table",
+		.name = "template_table",
  		.help = "specify table id",
  		.next = NEXT(NEXT_ENTRY(QUEUE_PATTERN_TEMPLATE),
  			     NEXT_ENTRY(COMMON_TABLE_ID)),
Acked-by
#2 lore raw
Quoted 8 lines

-----Original Message-----
From: Singh, Aman Deep <[email protected]>
Sent: Thursday, 6 October 2022 10:59

Quoted 13 lines
Quoted 5 lines · Suanming Mou

There should be no spaces in flow command arguments name. This commit removes incorrect arguments name in queue based table template.

Fixes ecdc927b99f2 ("app/testpmd: add async flow create/destroy

operations")

Quoted 6 lines

---

Thanks,
Ori

Acked-by Aman Singh Applied
#3 lore raw
Quoted 13 lines · Ori Kam
Quoted 13 lines

-----Original Message-----
From: Singh, Aman Deep <[email protected]>
Sent: Thursday, 6 October 2022 10:59

Quoted 4 lines · Suanming Mou

There should be no spaces in flow command arguments name. This commit removes incorrect arguments name in queue based table template.

Quoted 6 lines
Quoted 6 lines
Quoted 1 line
Fixes ecdc927b99f2 ("app/testpmd: add async flow create/destroy

operations")

Quoted 4 lines
Quoted 7 lines
Quoted 2 lines
Quoted 2 lines

---

Thanks,
Ori

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