event/dpaa: support select based event
authorHemant Agrawal <hemant.agrawal@nxp.com>
Tue, 25 Sep 2018 07:02:35 +0000 (12:32 +0530)
committerJerin Jacob <jerin.jacob@caviumnetworks.com>
Thu, 4 Oct 2018 14:38:54 +0000 (16:38 +0200)
commit77b5311d0ece90b1c197c1dc0f38bc6dbdcc28a8
tree747579026d14a13a8a64308aaf8587d9ea53d56a
parente7bbddb846278bef7689e6e68f6a93a25c674d0f
event/dpaa: support select based event

This patch add support to use select call with qman portal fd
for timeout based dequeue request for eventdev.

If there is a event available qman portal fd will be set
and the function will be awakened. If no event is available,
it will only wait till the given timeout value.

In case of interrupt the timeout ticks are used as usecs.

Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
doc/guides/eventdevs/dpaa.rst
drivers/event/dpaa/dpaa_eventdev.c
drivers/event/dpaa/dpaa_eventdev.h