From patchwork Fri Sep 21 11:46:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hemant Agrawal X-Patchwork-Id: 147244 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp713328ljw; Fri, 21 Sep 2018 04:48:25 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZda2dMXyRPAhiCRr5pyD+AXwBeubRoT741hZFjnskyls3cXA0U8wLt3ZYUs8uemjOWew8H X-Received: by 2002:a1c:1510:: with SMTP id 16-v6mr6585650wmv.74.1537530505712; Fri, 21 Sep 2018 04:48:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537530505; cv=none; d=google.com; s=arc-20160816; b=z39Htxipd+vRU4SfUtmkYykNjo3qaV5VMneYSqkIHan1T1qj9E8L+nPIRUqtt0kTfd b7Vq/NUb1NDIdGghoVOouxUgnMdrZ1NjlwzioLiRawxNNbiMDP4x0z60whGzhVl4owjW /NEKyJM0xHONYk8E8q72keg0EQT6o6sLgcVkb0UxjMphncJAyCYV/7v9wJy0f1NqtH/q 24meD9EzPbKr1K3Ejvd13+rOEtDVvePTULAl9CYnmcIV0JFYXcVuwuj7VeM7XGdN6VBI 2Tz5BCRJZ1V1O9SAWNDpF6vTvLFRSu0XiFiWQLhsYol2W5tvttpSLGUpscpKCnxuascM QwHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:references:in-reply-to :message-id:date:cc:to:from; bh=jqg+9SzWIO+J53AVRtYlNvxtsiIpluu5f2yOfYRMfuE=; b=FKp6NV+hqlJAC+WEeG1zCPefUDhE2alFY6qb5jaA7CFUYktKJXR/SnIfHJHKfseHyg 4MX4yBlpYV4FPAF9QCoTKfOkVEuHcDFcLK6t7VqzEKIueg7IDBy7lYJ2oYQrhiRr+vaz sIIfhEbWY9s3m6crqbr5fYlAWaZVqjz6+5Kl5AY1vMRHLsAxLq+wG4fkb3IquNneKp+j Gmgk03BwGP4Ow62R1uDAyXZKEYWXZeLDEho/ZMrd/6czOGAwjhE4jqyl+wI8ceWS0Py9 u1sP0ffJcCWKilOrvP8IFokPAtUEM9Yut/zc54lt87G+ddTPnm+8XPJfntXnyFCuXJE0 8JZQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from dpdk.org (dpdk.org. [92.243.14.124]) by mx.google.com with ESMTP id f17-v6si4637547wrj.147.2018.09.21.04.48.25; Fri, 21 Sep 2018 04:48:25 -0700 (PDT) Received-SPF: pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) client-ip=92.243.14.124; Authentication-Results: mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0626E4C9D; Fri, 21 Sep 2018 13:48:19 +0200 (CEST) Received: from inva020.nxp.com (inva020.nxp.com [92.121.34.13]) by dpdk.org (Postfix) with ESMTP id 686E91B19; Fri, 21 Sep 2018 13:48:15 +0200 (CEST) Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 3538B1A02C4; Fri, 21 Sep 2018 13:48:15 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id E69B51A02C3; Fri, 21 Sep 2018 13:48:12 +0200 (CEST) Received: from bf-netperf1.ap.freescale.net (bf-netperf1.ap.freescale.net [10.232.134.28]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 7E660402A9; Fri, 21 Sep 2018 19:48:09 +0800 (SGT) From: Hemant Agrawal To: dev@dpdk.org Cc: jerin.jacob@caviumnetworks.com, Hemant Agrawal , stable@dpdk.org Date: Fri, 21 Sep 2018 17:16:02 +0530 Message-Id: <1537530366-4722-1-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1535609039-10869-1-git-send-email-hemant.agrawal@nxp.com> References: <1535609039-10869-1-git-send-email-hemant.agrawal@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Subject: [dpdk-dev] [PATCH v2 1/5] event/dpaa2: fix mbuf assignment in atomic processing X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Fixes: 7b6edb640b73 ("event/dpaa2: have separate structure to hold dqrr entries") Cc: stable@dpdk.org Signed-off-by: Hemant Agrawal --- drivers/event/dpaa2/dpaa2_eventdev.c | 1 + 1 file changed, 1 insertion(+) -- 2.7.4 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