diff mbox series

[v2,1/5] event/dpaa2: fix mbuf assignment in atomic processing

Message ID 1537530366-4722-1-git-send-email-hemant.agrawal@nxp.com
State New
Headers show
Series [v2,1/5] event/dpaa2: fix mbuf assignment in atomic processing | expand

Commit Message

Hemant Agrawal Sept. 21, 2018, 11:46 a.m. UTC
Fixes: 7b6edb640b73 ("event/dpaa2: have separate structure to hold dqrr entries")
Cc: stable@dpdk.org

Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>

---
 drivers/event/dpaa2/dpaa2_eventdev.c | 1 +
 1 file changed, 1 insertion(+)

-- 
2.7.4

Comments

Jerin Jacob Sept. 23, 2018, 7:52 a.m. UTC | #1
-----Original Message-----
> Date: Fri, 21 Sep 2018 17:16:02 +0530

> From: Hemant Agrawal <hemant.agrawal@nxp.com>

> To: dev@dpdk.org

> CC: jerin.jacob@caviumnetworks.com, Hemant Agrawal

>  <hemant.agrawal@nxp.com>, stable@dpdk.org

> Subject: [PATCH v2 1/5] event/dpaa2: fix mbuf assignment in atomic

>  processing

> X-Mailer: git-send-email 2.7.4

> 

> 

> Fixes: 7b6edb640b73 ("event/dpaa2: have separate structure to hold dqrr entries")

> Cc: stable@dpdk.org

> 

> Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>


Applied the series to dpdk-next-eventdev/master with minor git comment changes. Thanks.
diff mbox series

Patch

diff --git a/drivers/event/dpaa2/dpaa2_eventdev.c b/drivers/event/dpaa2/dpaa2_eventdev.c
index ea1e5cc..ea9d868 100644
--- a/drivers/event/dpaa2/dpaa2_eventdev.c
+++ b/drivers/event/dpaa2/dpaa2_eventdev.c
@@ -197,6 +197,7 @@  static void dpaa2_eventdev_process_atomic(struct qbman_swp *swp,
 	ev->mbuf->seqn = dqrr_index + 1;
 	DPAA2_PER_LCORE_DQRR_SIZE++;
 	DPAA2_PER_LCORE_DQRR_HELD |= 1 << dqrr_index;
+	DPAA2_PER_LCORE_DQRR_MBUF(dqrr_index) = ev->mbuf;
 }
 
 static uint16_t