-----Original Message----- > Date: Tue, 25 Sep 2018 12:32:35 +0530 > From: Hemant Agrawal <hemant.agra...@nxp.com> > To: dev@dpdk.org > CC: jerin.ja...@caviumnetworks.com > Subject: [PATCH v2 2/2] event/dpaa: add select based event support > X-Mailer: git-send-email 2.7.4 > > > 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.agra...@nxp.com> > --- > Note: This patch has a dependency on following patch series: > http://mails.dpdk.org/archives/dev/2018-September/112433.html > which is now part of dpdk-next-net tree.
I will pull this patch when the depended patch show up on master branch. Currently it has following build errors, I assume it is due to dependency patch. /export/dpdk-next-eventdev/drivers/event/dpaa/dpaa_eventdev.c: In function ‘drain_4_bytes’: /export/dpdk-next-eventdev/drivers/event/dpaa/dpaa_eventdev.c:121:24: error: implicit declaration of function ‘qman_thread_fd’; did you mean ‘qman_thread_irq’? [-Werror=implicit-function-declaration] ssize_t sjunk = read(qman_thread_fd(), &junk, sizeof(junk)); ^~~~~~~~~~~~~~ qman_thread_irq /export/dpdk-next-eventdev/drivers/event/dpaa/dpaa_eventdev.c:121:24: error: nested extern declaration of ‘qman_thread_fd’ [-Werror=nested-externs] /export/dpdk-next-eventdev/drivers/event/dpaa/dpaa_eventdev.c: In function ‘dpaa_event_dequeue_wait’: /export/dpdk-next-eventdev/drivers/event/dpaa/dpaa_eventdev.c:148:2: error: implicit declaration of function ‘qman_irqsource_add’; did you mean ‘qman_reserve_fqid’? [-Werror=implicit-function-declaration] qman_irqsource_add(QM_PIRQ_DQRI); ^~~~~~~~~~~~~~~~~~ qman_reserve_fqid /export/dpdk-next-eventdev/drivers/event/dpaa/dpaa_eventdev.c:148:2: error: nested extern declaration of ‘qman_irqsource_add’ [-Werror=nested-externs] /export/dpdk-next-eventdev/drivers/event/dpaa/dpaa_eventdev.c:159:2: error: implicit declaration of function ‘qman_irqsource_remove’; did you mean ‘qman_reserve_pool’? [-Werror=implicit-function-declaration] qman_irqsource_remove(~0); ^~~~~~~~~~~~~~~~~~~~~ qman_reserve_pool /export/dpdk-next-eventdev/drivers/event/dpaa/dpaa_eventdev.c:159:2: error: nested extern declaration of ‘qman_irqsource_remove’ [-Werror=nested-externs] >