Skip to content

Commit

Permalink
app/testpmd: add postpone option to async flow destroy
Browse files Browse the repository at this point in the history
The postpone 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: ecdc927 ("app/testpmd: add async flow create/destroy operations")
Cc: stable@dpdk.org

Signed-off-by: Alexander Kozyrev <akozyrev@nvidia.com>
Reviewed-by: Dariusz Sosnowski <dsosnowski@nvidia.com>
  • Loading branch information
aleks-kozyrev authored and ferruhy committed Jul 21, 2024
1 parent ab49fdb commit 7ead15f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/test-pmd/cmdline_flow.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 7ead15f

Please sign in to comment.