From: Hemant Agrawal Date: Fri, 21 Sep 2018 11:46:02 +0000 (+0530) Subject: event/dpaa2: fix mbuf assignment in atomic processing X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=be0c42bfa88cf85c15d195a70ac793b1a1272e27;p=dpdk.git event/dpaa2: fix mbuf assignment in atomic processing Fixes: 7b6edb640b73 ("event/dpaa2: have separate structure to hold dqrr entries") Cc: stable@dpdk.org Signed-off-by: Hemant Agrawal --- diff --git a/drivers/event/dpaa2/dpaa2_eventdev.c b/drivers/event/dpaa2/dpaa2_eventdev.c index ea1e5cc670..ea9d8683e0 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