[PATCH] app/testpmd: fix incorrect flow arguments name
Suanming Mou
suanmingm at nvidia.com
Fri Sep 30 13:39:50 CEST 2022
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")
Cc: akozyrev at nvidia.com
Signed-off-by: Suanming Mou <suanmingm at nvidia.com>
---
app/test-pmd/cmdline_flow.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/test-pmd/cmdline_flow.c b/app/test-pmd/cmdline_flow.c
index 148dbc082d..e59d64ffa9 100644
--- a/app/test-pmd/cmdline_flow.c
+++ b/app/test-pmd/cmdline_flow.c
@@ -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)),
--
2.25.1
More information about the dev
mailing list