Re: [dpdk-dev] [PATCH 2/2] test/event_timer: improve unit test compatability

2019-03-25 Thread Carrillo, Erik G
> -Original Message- > From: Pavan Nikhilesh Bhagavatula [mailto:pbhagavat...@marvell.com] > Sent: Saturday, March 16, 2019 3:28 PM > To: Jerin Jacob Kollanukkaran ; Carrillo, Erik G > > Cc: dev@dpdk.org; Pavan Nikhilesh Bhagavatula > > Subject: [dpdk-dev] [PAT

[dpdk-dev] [PATCH 2/2] test/event_timer: improve unit test compatability

2019-03-16 Thread Pavan Nikhilesh Bhagavatula
From: Pavan Nikhilesh 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 Nikhiles