[dpdk-stable] patch 'usertools/pmdinfo: fix plugin auto scan' has been queued to stable release 20.11.4
Xueming Li
xuemingl at nvidia.com
Wed Nov 10 07:31:11 CET 2021
Hi,
FYI, your patch has been queued to stable release 20.11.4
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 11/12/21. 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 are on a temporary branch at:
https://github.com/steevenlee/dpdk
This queued commit can be viewed at:
https://github.com/steevenlee/dpdk/commit/5c18947b9eae7f2b7b95a587e469cad0d9e76faf
Thanks.
Xueming Li <xuemingl at nvidia.com>
---
>From 5c18947b9eae7f2b7b95a587e469cad0d9e76faf Mon Sep 17 00:00:00 2001
From: David Marchand <david.marchand at redhat.com>
Date: Tue, 19 Oct 2021 14:52:30 +0200
Subject: [PATCH] usertools/pmdinfo: fix plugin auto scan
Cc: Xueming Li <xuemingl at nvidia.com>
[ upstream commit 4976250ea89a26122bb412f55fb10425c79e7da1 ]
Migration to argparse was incomplete.
$ dpdk-pmdinfo.py -p $(which dpdk-testpmd)
Traceback (most recent call last):
File "/usr/bin/dpdk-pmdinfo.py", line 626, in <module>
main()
File "/usr/bin/dpdk-pmdinfo.py", line 596, in main
exit(scan_for_autoload_pmds(args[0]))
TypeError: 'Namespace' object does not support indexing
Fixes: 81255f27c65c ("usertools: replace optparse with argparse")
Signed-off-by: David Marchand <david.marchand at redhat.com>
Reviewed-by: Robin Jarry <robin.jarry at 6wind.com>
---
usertools/dpdk-pmdinfo.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/usertools/dpdk-pmdinfo.py b/usertools/dpdk-pmdinfo.py
index 3381aa616c..40ef5cec6c 100755
--- a/usertools/dpdk-pmdinfo.py
+++ b/usertools/dpdk-pmdinfo.py
@@ -593,7 +593,7 @@ def main(stream=None):
exit(1)
if args.pdir:
- exit(scan_for_autoload_pmds(args[0]))
+ exit(scan_for_autoload_pmds(args.elf_file))
ldlibpath = os.environ.get('LD_LIBRARY_PATH')
if ldlibpath is None:
--
2.33.0
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2021-11-10 14:17:10.225844716 +0800
+++ 0187-usertools-pmdinfo-fix-plugin-auto-scan.patch 2021-11-10 14:17:01.997411721 +0800
@@ -1 +1 @@
-From 4976250ea89a26122bb412f55fb10425c79e7da1 Mon Sep 17 00:00:00 2001
+From 5c18947b9eae7f2b7b95a587e469cad0d9e76faf Mon Sep 17 00:00:00 2001
@@ -4,0 +5,3 @@
+Cc: Xueming Li <xuemingl at nvidia.com>
+
+[ upstream commit 4976250ea89a26122bb412f55fb10425c79e7da1 ]
@@ -17 +19,0 @@
-Cc: stable at dpdk.org
More information about the stable
mailing list