[dpdk-stable] patch 'usertools/devbind: fix kernel module reporting' has been queued to LTS release 17.11.1
Yuanhan Liu
yliu at fridaylinux.org
Wed Feb 7 09:56:58 CET 2018
Hi,
FYI, your patch has been queued to LTS release 17.11.1
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 02/09/18. So please
shout if anyone has objections.
Thanks.
--yliu
---
>From 64d138435894ae01ee5820d1d2ddadac5b8ea696 Mon Sep 17 00:00:00 2001
From: Anatoly Burakov <anatoly.burakov at intel.com>
Date: Wed, 24 Jan 2018 10:26:12 +0000
Subject: [PATCH] usertools/devbind: fix kernel module reporting
[ upstream commit c76a10ec1531b3e5d182b8e9bbd27c48365f91aa ]
lspci reports kernel modules in "Module" string, but devbind
expects it to be "Module_str". Fix it up similar to how we fix
up "Driver" to be "Driver_str".
Fixes: c3ce205d5729 ("usertools: optimize lspci invocation")
Signed-off-by: Anatoly Burakov <anatoly.burakov at intel.com>
---
usertools/dpdk-devbind.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/usertools/dpdk-devbind.py b/usertools/dpdk-devbind.py
index f9f7aee..df9b21a 100755
--- a/usertools/dpdk-devbind.py
+++ b/usertools/dpdk-devbind.py
@@ -278,6 +278,8 @@ def get_device_details(devices_type):
# of dictionary key names
if "Driver" in dev.keys():
dev["Driver_str"] = dev.pop("Driver")
+ if "Module" in dev.keys():
+ dev["Module_str"] = dev.pop("Module")
# use dict to make copy of dev
devices[dev["Slot"]] = dict(dev)
# Clear previous device's data
--
2.7.4
More information about the stable
mailing list