From: Nipun Gupta Date: Wed, 17 Jan 2018 11:39:11 +0000 (+0530) Subject: event/dpaa2: use dqrr index to consume the DQRR entry X-Git-Tag: spdx-start~151 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=7c9e094fe5fc361e9c1780b8f917c1cb82a20afd;p=dpdk.git event/dpaa2: use dqrr index to consume the DQRR entry Signed-off-by: Nipun Gupta Acked-by: Hemant Agrawal --- diff --git a/drivers/event/dpaa2/dpaa2_eventdev.c b/drivers/event/dpaa2/dpaa2_eventdev.c index 542bccca52..65c2c7a5e9 100644 --- a/drivers/event/dpaa2/dpaa2_eventdev.c +++ b/drivers/event/dpaa2/dpaa2_eventdev.c @@ -237,8 +237,7 @@ dpaa2_eventdev_dequeue_burst(void *port, struct rte_event ev[], /* Check if there are atomic contexts to be released */ while (DPAA2_PER_LCORE_DPIO->dqrr_size) { if (DPAA2_PER_LCORE_DPIO->dqrr_held & (1 << i)) { - dq = qbman_get_dqrr_from_idx(swp, i); - qbman_swp_dqrr_consume(swp, dq); + qbman_swp_dqrr_idx_consume(swp, i); DPAA2_PER_LCORE_DPIO->dqrr_size--; } i++;