examples/eventdev: probe max events
authorPavan Nikhilesh <pbhagavatula@marvell.com>
Fri, 1 Mar 2019 07:16:42 +0000 (07:16 +0000)
committerJerin Jacob <jerinj@marvell.com>
Fri, 15 Mar 2019 05:46:50 +0000 (06:46 +0100)
commit84f4c73f7d85a50e4ca9c799709953c254983f26
tree9b72eb60cfdb50a07475215353f87d8e9a7a778e
parent239912fa798e6e671072ca7ff987afd74c1e506c
examples/eventdev: probe max events

Some eventdevs support configuring max events to be -1 (open system).
Check eventdev and event port configuration with eventdev info before
configuring them.

Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
Acked-by: Harry van Haaren <harry.van.haaren@intel.com>
examples/eventdev_pipeline/pipeline_worker_generic.c
examples/eventdev_pipeline/pipeline_worker_tx.c