From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6E986A034F for ; Wed, 10 Nov 2021 07:53:26 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 647F24068B; Wed, 10 Nov 2021 07:53:26 +0100 (CET) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2081.outbound.protection.outlook.com [40.107.223.81]) by mails.dpdk.org (Postfix) with ESMTP id A48FE40E03 for ; Wed, 10 Nov 2021 07:53:25 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LKLDgBMaelSS87az7UiyhP3trKE4QNCK/bZQ5aX9zpbnzFXiH+DbTwNF9aHTx1KTG1F5Ap3qjUU3wpJu7Xp5BGgXDHUxtsd916nzHvicQDqtnxcy07+Bg3wbdFJmGf2yK9IE0GJF805OpdSMZYpgI09atPDfj0mH8o+PqVy6WOqgq4BiCxKY7SiyNQwlRG/oNYOORBAVgUYQL3NBKTvsWAyDLg8fFGTp3vA1QAgwL8lrqrgB83kTDWGHQeg8ZAMXCKhPUQf7xfJPfpELIKyzwtI0veZoazW6RvPpp83OMXrqxUtS8WutHuKC3UiKViauIFldwt3V7XpbI4iW/VgC0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=H8K2d6UmV0G0zznkT/eJg12Z5nMxHp+1myNpQWtdTQU=; b=Rhr9q24ThUfABsUIIfxS/ZfPBp0dQ35n5uq+tDFwA4+SgaNZ2u3ISKb57rvG9YdsZL9qu6jc5yicCV6zmGIHREOsLVV2E3KRNlO8kKhob3sOXaup9k7dgxxq2pW7hNGeF6SycjxdYbqlk8ReoicpqS4zGTqhjmY6WjotdzIpAVpnQSXRC4bUrRasdKun3CXkHyYGuplMJHI27cgbEim9DjFsk8PbPhk+tjeyVLRvHNOx8cCGrdnXcKDpx3+jjXn+aCBM7RgCPo7IBshzRwTI+zcMYK/YR+zQYkzHl8Fj7fpA0Us4KI9/M8dq2Y6ZBoh7eTIyE5j2ZyBnmBBd+4G30g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.34) smtp.rcpttodomain=6wind.com smtp.mailfrom=nvidia.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=H8K2d6UmV0G0zznkT/eJg12Z5nMxHp+1myNpQWtdTQU=; b=eWCdfkz41Qi8SIp75aSbGNz9SXZRg/m0eZYLFvwuVDKVhPqF3m4XgZMptkYyojqnc8Q5C3scsCrZTNH5JMJlq+3Uk1P1L89KEaD3QtxZ66E60PG8/gDgOKG0M5CxZVU+S/miSgXmUcRjN7MSkUve74h1v5lhWc/xBSWWnpKTCDjR2mxkaEhxJlyFgFeQ1FATlqMRtfhfroqbVqkDXW3AHQZrbBfiBe+o7BdBlWysRpHcNwBDcKhOREzcOanEb6L1SCAfVk74oz2ULuGgmJiq209gWebJB9EDZUVRT3L9wQjzvLSDjtW4mpGjNmothVR6HopRPOOfP+tuSVWR3yi0Bw== Received: from BN0PR04CA0037.namprd04.prod.outlook.com (2603:10b6:408:e8::12) by BY5PR12MB4036.namprd12.prod.outlook.com (2603:10b6:a03:210::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.16; Wed, 10 Nov 2021 06:53:24 +0000 Received: from BN8NAM11FT068.eop-nam11.prod.protection.outlook.com (2603:10b6:408:e8:cafe::6c) by BN0PR04CA0037.outlook.office365.com (2603:10b6:408:e8::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.11 via Frontend Transport; Wed, 10 Nov 2021 06:53:24 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.112.34 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.112.34; helo=mail.nvidia.com; Received: from mail.nvidia.com (216.228.112.34) by BN8NAM11FT068.mail.protection.outlook.com (10.13.177.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4690.15 via Frontend Transport; Wed, 10 Nov 2021 06:53:23 +0000 Received: from nvidia.com (172.20.187.5) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Wed, 10 Nov 2021 06:53:18 +0000 From: Xueming Li To: David Marchand CC: Luca Boccassi , Robin Jarry , dpdk stable Date: Wed, 10 Nov 2021 14:31:11 +0800 Message-ID: <20211110063216.2744012-188-xuemingl@nvidia.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211110063216.2744012-1-xuemingl@nvidia.com> References: <20211110063216.2744012-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.20.187.5] X-ClientProxiedBy: HQMAIL101.nvidia.com (172.20.187.10) To HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e6c85e4e-d225-4c1a-fded-08d9a416ca15 X-MS-TrafficTypeDiagnostic: BY5PR12MB4036: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:10000; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: wPuigbWkqhL9bcbhX34aNqvcWynZMae4zE3qgcvg8RgL7DUsBDvffsNQyY6NZutgXMjkheF6QA7klPr/NRkx08YTR3nGr76yj75NR5ZoBUGzD0I5EvsAZ6BRhjAHiSrSpx4bVgEtzDro5jaYBWIoTO/ZAbuDyrS1gac7NvW5dLBJGQZMcRDalc+otUMKt/neI7BCkf2uQ5TfTOzims99mYGT1iJUqqlwPCbWiBUcazyNNkFbXUxo3tz+IwIbaKrcERQMrC7S5MnGjg29NGjHwhy4j6IEo89y6+YNBQ/F2zRUlsA01ILUp2PkzEXCFuBTvBmelJwJYF9DNPL3L0Y9/+MHIscZ5qj13TErhdqph7lR0WAUHi2LZiRiELNphJvv/f6dFZ+UI7jyGeu1YnR+UyG8IKEFkeB9ofKEXETHXl+Azk6sEG4t8hCYXW3QTFm/m5AK853xAEWhVNtHnCcmllSvteSzXo1kI3QiV0u1+ceS/QG07ZGlr6ghaMoXSc+SwgFkelNeXh2bj2QNhSlyWlO/INpUNZ0sijbJRCzM8B/anFX9q4ajLw4lmWPJYDVALit1Sd4bNyGffLjECWUjVAi/gdCcJ5oefell6df4bIuUj2iKc03NuAygU7iSHXeNDOrg+/RyGJ9zmqpyq4Rz46VApPvG17uZVjuct7BDzGXiW98gu+rUy5yJ2eWehOG0l9rc8695oS+CtfBKxA0tbEK8hbyYZC8Qb8DUh4uBLv8/Fajz4TLe1gkgoAXmiSQg527xhUD23JuYwMQogsIKm2fkPbVducfaRsoN9tp9z1J+Xi9ghYGauK1zApLeSGD4uf1ajDYU9K08fItcLVyG8g== X-Forefront-Antispam-Report: CIP:216.228.112.34; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:schybrid03.nvidia.com; CAT:NONE; SFS:(4636009)(36840700001)(46966006)(36860700001)(2906002)(86362001)(36756003)(5660300002)(356005)(47076005)(55016002)(6286002)(8676002)(7636003)(966005)(426003)(6916009)(4001150100001)(54906003)(316002)(1076003)(508600001)(83380400001)(16526019)(8936002)(336012)(186003)(82310400003)(53546011)(26005)(70206006)(7696005)(6666004)(70586007)(4326008)(2616005); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Nov 2021 06:53:23.4161 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e6c85e4e-d225-4c1a-fded-08d9a416ca15 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.112.34]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT068.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR12MB4036 Subject: [dpdk-stable] patch 'usertools/pmdinfo: fix plugin auto scan' has been queued to stable release 20.11.4 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" 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 --- >From 5c18947b9eae7f2b7b95a587e469cad0d9e76faf Mon Sep 17 00:00:00 2001 From: David Marchand Date: Tue, 19 Oct 2021 14:52:30 +0200 Subject: [PATCH] usertools/pmdinfo: fix plugin auto scan Cc: Xueming Li [ 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 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 Reviewed-by: Robin Jarry --- 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 + +[ upstream commit 4976250ea89a26122bb412f55fb10425c79e7da1 ] @@ -17 +19,0 @@ -Cc: stable@dpdk.org