From patchwork Wed Apr 24 11:45:17 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hemant Agrawal X-Patchwork-Id: 162769 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp557115jan; Wed, 24 Apr 2019 04:46:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqz2Dk2iptar7nB0COya6MAqRa7atJ8O0Opmosh8vUNinawZgv7I1EU8PEoqbHl+N6BRsMK5 X-Received: by 2002:a50:f9cb:: with SMTP id a11mr20666566edq.1.1556106395248; Wed, 24 Apr 2019 04:46:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556106395; cv=none; d=google.com; s=arc-20160816; b=cQFj4D2tQ1IuirfCPBrorAKQhFJNecZqUASPv9E3AVnalLayN71MCLQtqheeR7oyTC MLpupNh5NQJITHtSaKJ5Ze75ziDUY3GIT9DI2ft0nWPWnhwO/95pxZaYmbYIdVRQzO9R Erg0d7nW9VeEK5vWk/1jp9KBLr9HTYpbELC0IzJukbMjoQYQ1QKRL17Y+8cwmWFahHSy CGUhhSMFtb6soku9rJ3VAevXvUPk7UtoCbRygEFdYzv5qYvSJ9iztKEp+6ynNKPw/sE1 DDmuVi+TXDOGDtkjTN8gAuJBlJdDHJAOdw983R6smuXK9IG+vNfyxpFv+L9LUTWCIz+B LmlQ== 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=p03su2cC08DpWYYieUhxjPNNwOwBvOPReu/lZUj1SHw=; b=pFQBVoqFuSMoJ1NHnNj8EaEsR2PxrW7bIak5X375XB3WRVtNcNYjyHDeTRTHku2T7M NjLhkz2ACCrnvx05oP8E1Z1u9W7Ac8BOpDe/l81fxzCBj6inl7hLlW4G6szy9p5DIV6N f3r+tnYomKAxJ6hNDvEIhAK80uFAz8c2MImYEjGnUN6G39dMRji1brw1rO7ztpKGNqxA NrkQpkV4SKJvl7KN+KHNOutHnHY+403K1lwzRW2ebteM1yX+q8OB9bwwKmYRUYu/p18T 6gwrev1uKkxNMcr1IhYtxiTVQmttjyglOi1lR1+/10nXtug+OQF1UNdnKR95QJATDfCs 3JeQ== 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 o22si1530804eju.165.2019.04.24.04.46.35; Wed, 24 Apr 2019 04:46:35 -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 7155F1B4BD; Wed, 24 Apr 2019 13:46:33 +0200 (CEST) Received: from inva021.nxp.com (inva021.nxp.com [92.121.34.21]) by dpdk.org (Postfix) with ESMTP id A159F1B3B7 for ; Wed, 24 Apr 2019 13:46:31 +0200 (CEST) Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 2EDFE200180; Wed, 24 Apr 2019 13:46:31 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id BEC55200195; Wed, 24 Apr 2019 13:46:29 +0200 (CEST) Received: from bf-netperf1.ap.freescale.net (bf-netperf1.ap.freescale.net [10.232.133.63]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 829C1402CB; Wed, 24 Apr 2019 19:46:27 +0800 (SGT) From: Hemant Agrawal To: dev@dpdk.org Cc: shreyansh.jain@nxp.com Date: Wed, 24 Apr 2019 17:15:17 +0530 Message-Id: <20190424114520.23655-2-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190424114520.23655-1-hemant.agrawal@nxp.com> References: <20190424114520.23655-1-hemant.agrawal@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Subject: [dpdk-dev] [PATCH 2/5] raw/dpaa2_qdma: fix spin lock 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" This shall be unlock post the lock Fixes: 4d9a3f2a0159 ("raw/dpaa2_qdma: support RBP mode") Signed-off-by: Hemant Agrawal --- drivers/raw/dpaa2_qdma/dpaa2_qdma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1 diff --git a/drivers/raw/dpaa2_qdma/dpaa2_qdma.c b/drivers/raw/dpaa2_qdma/dpaa2_qdma.c index 102d423c6..a391913b0 100644 --- a/drivers/raw/dpaa2_qdma/dpaa2_qdma.c +++ b/drivers/raw/dpaa2_qdma/dpaa2_qdma.c @@ -1013,7 +1013,7 @@ rte_qdma_vq_destroy_rbp(uint16_t vq_id) memset(qdma_vq, 0, sizeof(struct qdma_virt_queue)); - rte_spinlock_lock(&qdma_dev.lock); + rte_spinlock_unlock(&qdma_dev.lock); return 0; }