Skip to contentSkip to conversation

app/testpmd: add postpone option to async flow destroy

PATCH Applied Alexander Kozyrev 3 participants 3 messages Jul 17, 2024 – Jul 22, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 app/testpmd: add postpone option to async flow destroy

The potpone option is not available in the async flow destroy CLI. Only flow creation can be postponed in the testpmd application. Insert this option into the async flow destroy CLI before the rule ID.

Fixes ecdc927b99 ("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 a76b44bf39..fb6a552863 100644
@@ -3703,7 +3703,7 @@ static const struct token token_list[] = {
 	[QUEUE_DESTROY] = {
 		.name = "destroy",
 		.help = "destroy a flow rule",
-		.next = NEXT(NEXT_ENTRY(QUEUE_DESTROY_ID),
+		.next = NEXT(NEXT_ENTRY(QUEUE_DESTROY_POSTPONE),
 			     NEXT_ENTRY(COMMON_QUEUE_ID)),
 		.args = ARGS(ARGS_ENTRY(struct buffer, queue)),
 		.call = parse_qo_destroy,
Signature · 1 line
2.18.2
#1 lore raw
Quoted 11 lines

-----Original Message-----
From: Alexander Kozyrev <[email protected]>
Sent: Wednesday, July 17, 2024 16:20
To: [email protected]
Cc: [email protected]; Raslan Darawsheh <[email protected]>; Slava Ovsiienko <[email protected]>; Matan Azrad <[email protected]>; Dariusz Sosnowski <[email protected]>; Bing Zhao <[email protected]>; Ori Kam <[email protected]>; Suanming Mou <[email protected]>
Subject: [PATCH] app/testpmd: add postpone option to async flow destroy

The potpone option is not available in the async flow destroy CLI.

Typo: s/potpone/postpone/

Quoted 4 lines

Only flow creation can be postponed in the testpmd application. Insert this option into the async flow destroy CLI before the rule ID.

Fixes ecdc927b99 ("app/testpmd: add async flow create/destroy operations")

Could you please add Cc: [email protected]?
It's better that we keep this tag in git log. It helps LTS maintainers with backports.

Quoted 20 lines
---
 app/test-pmd/cmdline_flow.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
app/test-pmd/cmdline_flow.c index renamed from app/test-pmd/cmdline_flow.c +0 -0

a76b44bf39..fb6a552863 100644

app/test-pmd/cmdline_flow.c +1 -2
@@ -3703,7 +3703,7 @@ static const struct token token_list[] = {
 	[QUEUE_DESTROY] = {
 		.name = "destroy",
 		.help = "destroy a flow rule",
-		.next = NEXT(NEXT_ENTRY(QUEUE_DESTROY_ID),
+		.next = NEXT(NEXT_ENTRY(QUEUE_DESTROY_POSTPONE),
 			     NEXT_ENTRY(COMMON_QUEUE_ID)),
 		.args = ARGS(ARGS_ENTRY(struct buffer, queue)),
 		.call = parse_qo_destroy,
--
Quoted 1 line

2.18.2

Best regards,
Dariusz Sosnowski

Reviewed-by Dariusz Sosnowski Applied
#2 lore raw
Quoted 10 lines · Dariusz Sosnowski
Quoted 10 lines

-----Original Message-----
From: Alexander Kozyrev <[email protected]>
Sent: Wednesday, July 17, 2024 16:20
To: [email protected]
Cc: [email protected]; Raslan Darawsheh <[email protected]>; Slava Ovsiienko <[email protected]>; Matan Azrad <[email protected]>; Dariusz Sosnowski <[email protected]>; Bing Zhao <[email protected]>; Ori Kam <[email protected]>; Suanming Mou <[email protected]>
Subject: [PATCH] app/testpmd: add postpone option to async flow destroy

Quoted 4 lines
Quoted 1 line

The potpone option is not available in the async flow destroy CLI.

Typo: s/potpone/postpone/

Fixed while merging

Quoted 8 lines
Quoted 4 lines

Only flow creation can be postponed in the testpmd application. Insert this option into the async flow destroy CLI before the rule ID.

Fixes ecdc927b99 ("app/testpmd: add async flow create/destroy operations")

Could you please add Cc: [email protected]?
It's better that we keep this tag in git log. It helps LTS maintainers with backports.

Tag added while merging

Quoted 6 lines
Quoted 6 lines
---
 app/test-pmd/cmdline_flow.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 16 lines
Quoted 14 lines
app/test-pmd/cmdline_flow.c index renamed from app/test-pmd/cmdline_flow.c +0 -0

a76b44bf39..fb6a552863 100644

app/test-pmd/cmdline_flow.c +1 -2
@@ -3703,7 +3703,7 @@ static const struct token token_list[] = {
 	[QUEUE_DESTROY] = {
 		.name = "destroy",
 		.help = "destroy a flow rule",
-		.next = NEXT(NEXT_ENTRY(QUEUE_DESTROY_ID),
+		.next = NEXT(NEXT_ENTRY(QUEUE_DESTROY_POSTPONE),
 			     NEXT_ENTRY(COMMON_QUEUE_ID)),
 		.args = ARGS(ARGS_ENTRY(struct buffer, queue)),
 		.call = parse_qo_destroy,
--
Quoted 1 line

2.18.2

Adding explicit review tag:

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