From: Nipun Gupta Date: Tue, 23 Jan 2018 14:17:52 +0000 (+0530) Subject: event/dpaa2: prefetch the next DQRR entry X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=c409ed1bb0aa86d9fc56b781ba48d59489e826c6;p=dpdk.git event/dpaa2: prefetch the next DQRR entry Signed-off-by: Nipun Gupta --- diff --git a/drivers/event/dpaa2/dpaa2_eventdev.c b/drivers/event/dpaa2/dpaa2_eventdev.c index 84ecd1b86b..c3e6fbff10 100644 --- a/drivers/event/dpaa2/dpaa2_eventdev.c +++ b/drivers/event/dpaa2/dpaa2_eventdev.c @@ -255,9 +255,9 @@ dpaa2_eventdev_dequeue_burst(void *port, struct rte_event ev[], } return num_pkts; } + qbman_swp_prefetch_dqrr_next(swp); fd = qbman_result_DQ_fd(dq); - rxq = (struct dpaa2_queue *)qbman_result_DQ_fqd_ctx(dq); if (rxq) { rxq->cb(swp, fd, dq, rxq, &ev[num_pkts]);