git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fea6787
)
app/eventdev: fix capability check in pipeline ATQ test
author
Apeksha Gupta
<apeksha.gupta@nxp.com>
Thu, 23 Jul 2020 17:02:32 +0000
(22:32 +0530)
committer
Jerin Jacob
<jerinj@marvell.com>
Fri, 24 Jul 2020 05:22:41 +0000
(07:22 +0200)
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 <apeksha.gupta@nxp.com>
Acked-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
app/test-eventdev/test_pipeline_atq.c
patch
|
blob
|
history
diff --git
a/app/test-eventdev/test_pipeline_atq.c
b/app/test-eventdev/test_pipeline_atq.c
index
8e8686c
..
0872b25
100644
(file)
--- 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;
}