From: Apeksha Gupta Date: Thu, 23 Jul 2020 17:02:32 +0000 (+0530) Subject: app/eventdev: fix capability check in pipeline ATQ test X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=179237727e91d8eb5ab2ce6fb78a1d380ae84401;p=dpdk.git app/eventdev: fix capability check in pipeline ATQ test Add all type queue capability check before configuring event device for pipeline atq test. Fixes: 6bf570a9911 ("app/eventdev: add pipeline atq test") Cc: stable@dpdk.org Signed-off-by: Apeksha Gupta Acked-by: Pavan Nikhilesh --- diff --git a/app/test-eventdev/test_pipeline_atq.c b/app/test-eventdev/test_pipeline_atq.c index 8e8686c145..0872b25b53 100644 --- a/app/test-eventdev/test_pipeline_atq.c +++ b/app/test-eventdev/test_pipeline_atq.c @@ -495,6 +495,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; }