[dpdk-dev] [PATCH 2/3] event/dpaa2: prefetch the next DQRR entry

Nipun Gupta nipun.gupta at nxp.com
Tue Jan 23 15:17:52 CET 2018


Signed-off-by: Nipun Gupta <nipun.gupta at nxp.com>
---
 drivers/event/dpaa2/dpaa2_eventdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/event/dpaa2/dpaa2_eventdev.c b/drivers/event/dpaa2/dpaa2_eventdev.c
index 84ecd1b..c3e6fbf 100644
--- a/drivers/event/dpaa2/dpaa2_eventdev.c
+++ b/drivers/event/dpaa2/dpaa2_eventdev.c
@@ -255,9 +255,9 @@ static void dpaa2_eventdev_process_atomic(struct qbman_swp *swp,
 			}
 			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]);
-- 
1.9.1



More information about the dev mailing list