event/dpaa2: enchance timeout handling
authorHemant Agrawal <hemant.agrawal@nxp.com>
Fri, 21 Sep 2018 11:46:04 +0000 (17:16 +0530)
committerJerin Jacob <jerin.jacob@caviumnetworks.com>
Mon, 1 Oct 2018 14:47:12 +0000 (16:47 +0200)
commit5d024f0f86b3a5b5d3463624f35763ceebbb99de
tree78f3e9634582e12ae0118d6cde12937106a121ee
parent047188552bc5ed74f74ff701b6808feecf0501e1
event/dpaa2: enchance timeout handling

This patch enhances:
1. Configure the dequeue time out value as per the given
method or per dequeue, global or default.
2. The timeout values were being mixed as ns or ms timeouts,
Now the values are stored as ns and scale is in ms.

Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
drivers/event/dpaa2/dpaa2_eventdev.c
drivers/event/dpaa2/dpaa2_eventdev.h