patches for DPDK stable branches
 help / color / mirror / Atom feed
* [dpdk-stable] patch 'eal/linux: change udev debug message' has been queued to stable release 19.11.6
@ 2020-10-28 10:42 luca.boccassi
  2020-10-28 10:42 ` [dpdk-stable] patch 'bus/pci: remove duplicate declaration' " luca.boccassi
                   ` (206 more replies)
  0 siblings, 207 replies; 374+ messages in thread
From: luca.boccassi @ 2020-10-28 10:42 UTC (permalink / raw)
  To: Stephen Hemminger; +Cc: Jeff Guo, dpdk stable

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 de0e7c4afd1301f054f54494958c8ab6e060b4e6 Mon Sep 17 00:00:00 2001
From: Stephen Hemminger <stephen@networkplumber.org>
Date: Fri, 14 Aug 2020 10:45:14 -0700
Subject: [PATCH] eal/linux: change udev debug message

[ upstream commit 64201f10598b53b2218176eefc4d3888028dcb7b ]

The debug message was poorly worded and did not include the
part that would be useful. I.e it never said what was being ignored.
Change it to print the message so that if udev changes format or
other subsystems need to be added then the necessary information
will be in the debug log.

Fixes: 0d0f478d0483 ("eal/linux: add uevent parse and process")

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Jeff Guo <jia.guo@intel.com>
---
 lib/librte_eal/linux/eal/eal_dev.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lib/librte_eal/linux/eal/eal_dev.c b/lib/librte_eal/linux/eal/eal_dev.c
index 83c9cd6607..83b6068264 100644
--- a/lib/librte_eal/linux/eal/eal_dev.c
+++ b/lib/librte_eal/linux/eal/eal_dev.c
@@ -234,8 +234,7 @@ dev_uev_handler(__rte_unused void *param)
 
 	ret = dev_uev_parse(buf, &uevent, EAL_UEV_MSG_LEN);
 	if (ret < 0) {
-		RTE_LOG(DEBUG, EAL, "It is not an valid event "
-			"that need to be handle.\n");
+		RTE_LOG(DEBUG, EAL, "Ignoring uevent '%s'\n", buf);
 		return;
 	}
 
-- 
2.20.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2020-10-28 10:35:11.838322953 +0000
+++ 0001-eal-linux-change-udev-debug-message.patch	2020-10-28 10:35:11.376828139 +0000
@@ -1,8 +1,10 @@
-From 64201f10598b53b2218176eefc4d3888028dcb7b Mon Sep 17 00:00:00 2001
+From de0e7c4afd1301f054f54494958c8ab6e060b4e6 Mon Sep 17 00:00:00 2001
 From: Stephen Hemminger <stephen@networkplumber.org>
 Date: Fri, 14 Aug 2020 10:45:14 -0700
 Subject: [PATCH] eal/linux: change udev debug message
 
+[ upstream commit 64201f10598b53b2218176eefc4d3888028dcb7b ]
+
 The debug message was poorly worded and did not include the
 part that would be useful. I.e it never said what was being ignored.
 Change it to print the message so that if udev changes format or
@@ -14,13 +16,13 @@
 Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
 Acked-by: Jeff Guo <jia.guo@intel.com>
 ---
- lib/librte_eal/linux/eal_dev.c | 3 +--
+ lib/librte_eal/linux/eal/eal_dev.c | 3 +--
  1 file changed, 1 insertion(+), 2 deletions(-)
 
-diff --git a/lib/librte_eal/linux/eal_dev.c b/lib/librte_eal/linux/eal_dev.c
+diff --git a/lib/librte_eal/linux/eal/eal_dev.c b/lib/librte_eal/linux/eal/eal_dev.c
 index 83c9cd6607..83b6068264 100644
---- a/lib/librte_eal/linux/eal_dev.c
-+++ b/lib/librte_eal/linux/eal_dev.c
+--- a/lib/librte_eal/linux/eal/eal_dev.c
++++ b/lib/librte_eal/linux/eal/eal_dev.c
 @@ -234,8 +234,7 @@ dev_uev_handler(__rte_unused void *param)
  
  	ret = dev_uev_parse(buf, &uevent, EAL_UEV_MSG_LEN);

^ permalink raw reply	[flat|nested] 374+ messages in thread