Skip to content

Commit

Permalink
app/eventdev: fix capability check in pipeline ATQ test
Browse files Browse the repository at this point in the history
[ upstream commit 1792377 ]

Add all type queue capability check before configuring event device
for pipeline atq test.

Fixes: 6bf570a ("app/eventdev: add pipeline atq test")

Signed-off-by: Apeksha Gupta <apeksha.gupta@nxp.com>
Acked-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
  • Loading branch information
Apeksha Gupta authored and kevintraynor committed Aug 27, 2020
1 parent 2915e71 commit f531ddb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/test-eventdev/test_pipeline_atq.c
Expand Up @@ -504,6 +504,8 @@ pipeline_atq_capability_check(struct evt_options *opt)
evt_nr_active_lcores(opt->wlcores),
dev_info.max_event_ports);
}
if (!evt_has_all_types_queue(opt->dev_id))
return false;

return true;
}
Expand Down

0 comments on commit f531ddb

Please sign in to comment.