[dpdk-stable] patch 'raw/dpaa2_qdma: fix reset' has been queued to stable release 19.11.6

luca.boccassi at gmail.com luca.boccassi at gmail.com
Wed Oct 28 11:44:50 CET 2020


Hi,

FYI, your patch has been queued to stable release 19.11.6

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 10/30/20. So please
shout if anyone has objections.

Also note that after the patch there's a diff of the upstream commit vs the
patch applied to the branch. This will indicate if there was any rebasing
needed to apply to the stable branch. If there were code changes for rebasing
(ie: not only metadata diffs), please double check that the rebase was
correctly done.

Thanks.

Luca Boccassi

---
>From d4a043f08be87f7ddb97c4969e3fd2f6beef5cda Mon Sep 17 00:00:00 2001
From: Yunjian Wang <wangyunjian at huawei.com>
Date: Wed, 9 Sep 2020 09:11:46 +0800
Subject: [PATCH] raw/dpaa2_qdma: fix reset

[ upstream commit f4eb44f81d8c47d157523f893fbab9baeb38f9c1 ]

This issue detected by coverity, CID#279443(Structurally dead code).

Coverity issue: 279443
Fixes: c22fab9a6c34 ("raw/dpaa2_qdma: support configuration APIs")

Signed-off-by: Yunjian Wang <wangyunjian at huawei.com>
Acked-by: Nipun Gupta <nipun.gupta at nxp.com>
---
 drivers/raw/dpaa2_qdma/dpaa2_qdma.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/raw/dpaa2_qdma/dpaa2_qdma.c b/drivers/raw/dpaa2_qdma/dpaa2_qdma.c
index c905954004..b31d7aacb3 100644
--- a/drivers/raw/dpaa2_qdma/dpaa2_qdma.c
+++ b/drivers/raw/dpaa2_qdma/dpaa2_qdma.c
@@ -455,9 +455,10 @@ rte_qdma_reset(void)
 	/* In case there are pending jobs on any VQ, return -EBUSY */
 	for (i = 0; i < qdma_dev.max_vqs; i++) {
 		if (qdma_vqs[i].in_use && (qdma_vqs[i].num_enqueues !=
-		    qdma_vqs[i].num_dequeues))
+		    qdma_vqs[i].num_dequeues)) {
 			DPAA2_QDMA_ERR("Jobs are still pending on VQ: %d", i);
 			return -EBUSY;
+		}
 	}
 
 	/* Reset HW queues */
-- 
2.20.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2020-10-28 10:35:15.817124946 +0000
+++ 0131-raw-dpaa2_qdma-fix-reset.patch	2020-10-28 10:35:11.704832968 +0000
@@ -1,13 +1,14 @@
-From f4eb44f81d8c47d157523f893fbab9baeb38f9c1 Mon Sep 17 00:00:00 2001
+From d4a043f08be87f7ddb97c4969e3fd2f6beef5cda Mon Sep 17 00:00:00 2001
 From: Yunjian Wang <wangyunjian at huawei.com>
 Date: Wed, 9 Sep 2020 09:11:46 +0800
 Subject: [PATCH] raw/dpaa2_qdma: fix reset
 
+[ upstream commit f4eb44f81d8c47d157523f893fbab9baeb38f9c1 ]
+
 This issue detected by coverity, CID#279443(Structurally dead code).
 
 Coverity issue: 279443
 Fixes: c22fab9a6c34 ("raw/dpaa2_qdma: support configuration APIs")
-Cc: stable at dpdk.org
 
 Signed-off-by: Yunjian Wang <wangyunjian at huawei.com>
 Acked-by: Nipun Gupta <nipun.gupta at nxp.com>
@@ -16,10 +17,10 @@
  1 file changed, 2 insertions(+), 1 deletion(-)
 
 diff --git a/drivers/raw/dpaa2_qdma/dpaa2_qdma.c b/drivers/raw/dpaa2_qdma/dpaa2_qdma.c
-index 0b9c4e3d72..4b8474951e 100644
+index c905954004..b31d7aacb3 100644
 --- a/drivers/raw/dpaa2_qdma/dpaa2_qdma.c
 +++ b/drivers/raw/dpaa2_qdma/dpaa2_qdma.c
-@@ -452,9 +452,10 @@ rte_qdma_reset(void)
+@@ -455,9 +455,10 @@ rte_qdma_reset(void)
  	/* In case there are pending jobs on any VQ, return -EBUSY */
  	for (i = 0; i < qdma_dev.max_vqs; i++) {
  		if (qdma_vqs[i].in_use && (qdma_vqs[i].num_enqueues !=


More information about the stable mailing list