eventdev: check timer adapter status before start
authorPavan Nikhilesh <pbhagavatula@marvell.com>
Sat, 16 Mar 2019 20:27:36 +0000 (20:27 +0000)
committerJerin Jacob <jerinj@marvell.com>
Tue, 2 Apr 2019 01:10:40 +0000 (03:10 +0200)
commitd69d085883140fce1e356ccb69adfae4f0ab6869
tree4abba06f2efd490df789a6ef3b745743a0d5b31a
parent4b3997680ab61636df489299d7980102e00bcf0a
eventdev: check timer adapter status before start

Check if timer adapter is already started before starting it.
Update the unit test accordingly.

Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
Acked-by: Erik Gabriel Carrillo <erik.g.carrillo@intel.com>
app/test/test_event_timer_adapter.c
lib/librte_eventdev/rte_event_timer_adapter.c
lib/librte_eventdev/rte_event_timer_adapter.h