[dpdk-stable] patch 'bus/fslmc: decrease log level for unsupported devices' has been queued to LTS release 18.11.2

Kevin Traynor ktraynor at redhat.com
Thu Apr 25 17:39:43 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 05/01/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.

Queued patches can be viewed on the 18.11 branch at:
	https://github.com/kevintraynor/dpdk-stable-queue.git

Thanks.

Kevin Traynor

---
>From af32f5e208b2072df5e8384e5e635219f63dab8c Mon Sep 17 00:00:00 2001
From: Stephen Hemminger <stephen at networkplumber.org>
Date: Tue, 12 Mar 2019 10:11:51 -0700
Subject: [PATCH] bus/fslmc: decrease log level for unsupported devices

[ upstream commit a6ffe11b7245ec12d4df4b8b0577291604b5e082 ]

When fslmc is built as part of a general distribution, the
bus code will log errors when other devices are present.

This could confuse users it is not an error.

Fixes: 50245be05d1a ("bus/fslmc: support device blacklisting")

Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
Acked-by: Hemant Agrawal <hemant.agrawal at nxp.com>
Acked-by: Ilya Maximets <i.maximets at samsung.com>
---
 drivers/bus/fslmc/fslmc_bus.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/bus/fslmc/fslmc_bus.c b/drivers/bus/fslmc/fslmc_bus.c
index 2dcdca01f..c719bf7f6 100644
--- a/drivers/bus/fslmc/fslmc_bus.c
+++ b/drivers/bus/fslmc/fslmc_bus.c
@@ -247,5 +247,5 @@ rte_fslmc_parse(const char *name, void *addr)
 	    strncmp("dpmcp", t_ptr, 5) &&
 	    strncmp("dpdmai", t_ptr, 6)) {
-		DPAA2_BUS_ERR("Unknown or unsupported device");
+		DPAA2_BUS_DEBUG("Unknown or unsupported device (%s)", name);
 		goto err_out;
 	}
-- 
2.20.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2019-04-25 16:37:47.122033970 +0100
+++ 0008-bus-fslmc-decrease-log-level-for-unsupported-devices.patch	2019-04-25 16:37:46.687296276 +0100
@@ -1 +1 @@
-From a6ffe11b7245ec12d4df4b8b0577291604b5e082 Mon Sep 17 00:00:00 2001
+From af32f5e208b2072df5e8384e5e635219f63dab8c Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit a6ffe11b7245ec12d4df4b8b0577291604b5e082 ]
+
@@ -12 +13,0 @@
-Cc: stable at dpdk.org
@@ -22 +23 @@
-index 44c0827ce..a2525780c 100644
+index 2dcdca01f..c719bf7f6 100644
@@ -25,3 +26,3 @@
-@@ -250,5 +250,5 @@ rte_fslmc_parse(const char *name, void *addr)
- 	    strncmp("dpdmai", t_ptr, 6) &&
- 	    strncmp("dpdmux", t_ptr, 6)) {
+@@ -247,5 +247,5 @@ rte_fslmc_parse(const char *name, void *addr)
+ 	    strncmp("dpmcp", t_ptr, 5) &&
+ 	    strncmp("dpdmai", t_ptr, 6)) {


More information about the stable mailing list