test/event: improve compatibility for timer adapter
authorPavan Nikhilesh <pbhagavatula@marvell.com>
Sat, 16 Mar 2019 20:27:39 +0000 (20:27 +0000)
committerJerin Jacob <jerinj@marvell.com>
Tue, 2 Apr 2019 01:10:40 +0000 (03:10 +0200)
Check if eventdev is open system eventdevs i.e. max_num_events = -1
before asserting.
Allow event timer adapter to adjust the resolution using
RTE_EVENT_TIMER_ADAPTER_F_ADJUST_RES and re-calculate timeout ticks
based on the adjusted resolution.

Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
Acked-by: Erik Gabriel Carrillo <erik.g.carrillo@intel.com>

No differences found