[dpdk-stable] patch 'mempool/dpaa2: fix continuous print on empty pool' has been queued to LTS release 18.11.2

Kevin Traynor ktraynor at redhat.com
Wed Apr 10 18:43:40 CEST 2019


Hi,

FYI, your patch has been queued to LTS release 18.11.2

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 04/16/19. 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.

Kevin Traynor

---
>From 261a9831bd69033289f4aaaba54eda0950a0e64d Mon Sep 17 00:00:00 2001
From: Hemant Agrawal <hemant.agrawal at nxp.com>
Date: Fri, 22 Feb 2019 11:15:59 +0000
Subject: [PATCH] mempool/dpaa2: fix continuous print on empty pool

[ upstream commit f8f9f645226ed63f3b55dd487faa22f766078e53 ]

Changing the print to DP_DEBUG to avoid continuous prints when
buffer pools runs out of buffers

Fixes: 3646ccf0b036 ("mempool/dpaa2: support dynamic logging")

Signed-off-by: Hemant Agrawal <hemant.agrawal at nxp.com>
---
 drivers/mempool/dpaa2/dpaa2_hw_mempool.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/mempool/dpaa2/dpaa2_hw_mempool.c b/drivers/mempool/dpaa2/dpaa2_hw_mempool.c
index 790cded80..e26b0ba15 100644
--- a/drivers/mempool/dpaa2/dpaa2_hw_mempool.c
+++ b/drivers/mempool/dpaa2/dpaa2_hw_mempool.c
@@ -317,6 +317,6 @@ rte_dpaa2_mbuf_alloc_bulk(struct rte_mempool *pool,
 		 */
 		if (ret <= 0) {
-			DPAA2_MEMPOOL_ERR("Buffer acquire failed with"
-					  " err code: %d", ret);
+			DPAA2_MEMPOOL_DP_DEBUG(
+				"Buffer acquire failed with err code: %d", ret);
 			/* The API expect the exact number of requested bufs */
 			/* Releasing all buffers allocated */
-- 
2.20.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2019-04-10 14:06:10.382606757 +0100
+++ 0032-mempool-dpaa2-fix-continuous-print-on-empty-pool.patch	2019-04-10 14:06:07.903293350 +0100
@@ -1,13 +1,14 @@
-From f8f9f645226ed63f3b55dd487faa22f766078e53 Mon Sep 17 00:00:00 2001
+From 261a9831bd69033289f4aaaba54eda0950a0e64d Mon Sep 17 00:00:00 2001
 From: Hemant Agrawal <hemant.agrawal at nxp.com>
 Date: Fri, 22 Feb 2019 11:15:59 +0000
 Subject: [PATCH] mempool/dpaa2: fix continuous print on empty pool
 
+[ upstream commit f8f9f645226ed63f3b55dd487faa22f766078e53 ]
+
 Changing the print to DP_DEBUG to avoid continuous prints when
 buffer pools runs out of buffers
 
 Fixes: 3646ccf0b036 ("mempool/dpaa2: support dynamic logging")
-Cc: stable at dpdk.org
 
 Signed-off-by: Hemant Agrawal <hemant.agrawal at nxp.com>
 ---
@@ -15,10 +16,10 @@
  1 file changed, 2 insertions(+), 2 deletions(-)
 
 diff --git a/drivers/mempool/dpaa2/dpaa2_hw_mempool.c b/drivers/mempool/dpaa2/dpaa2_hw_mempool.c
-index 335eae40e..da66577cc 100644
+index 790cded80..e26b0ba15 100644
 --- a/drivers/mempool/dpaa2/dpaa2_hw_mempool.c
 +++ b/drivers/mempool/dpaa2/dpaa2_hw_mempool.c
-@@ -327,6 +327,6 @@ rte_dpaa2_mbuf_alloc_bulk(struct rte_mempool *pool,
+@@ -317,6 +317,6 @@ rte_dpaa2_mbuf_alloc_bulk(struct rte_mempool *pool,
  		 */
  		if (ret <= 0) {
 -			DPAA2_MEMPOOL_ERR("Buffer acquire failed with"


More information about the stable mailing list