git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4170dbe
)
event/dpaa2: use dqrr index to consume the DQRR entry
author
Nipun Gupta
<nipun.gupta@nxp.com>
Wed, 17 Jan 2018 11:39:11 +0000
(17:09 +0530)
committer
Jerin Jacob
<jerin.jacob@caviumnetworks.com>
Fri, 19 Jan 2018 15:09:56 +0000
(16:09 +0100)
Signed-off-by: Nipun Gupta <nipun.gupta@nxp.com>
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
drivers/event/dpaa2/dpaa2_eventdev.c
patch
|
blob
|
history
diff --git
a/drivers/event/dpaa2/dpaa2_eventdev.c
b/drivers/event/dpaa2/dpaa2_eventdev.c
index
542bccc
..
65c2c7a
100644
(file)
--- 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++;