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 DFE4DA00C5 for ; Wed, 20 Jul 2022 10:25:13 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DA09F4280D; Wed, 20 Jul 2022 10:25:13 +0200 (CEST) Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1anam02on2047.outbound.protection.outlook.com [40.107.96.47]) by mails.dpdk.org (Postfix) with ESMTP id 851BE41147 for ; Wed, 20 Jul 2022 10:25:12 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nd8R+lBS1+PI8pcdorpYQEIszojqygf6lH7Akoy4+QOxCp8MLwNxsVOrrUnRybgISJEoVJG93faNl/mD1W3cyuIg3JUNPp3pJlcesnBcpeXTb8fJ+Y66zpjbvtfJn2VdXfBkMtynQoV0tblEcs3jd36arTEzM2RBPCWvdWBRNwUn5Y7N46fgVeH1EYhOYOPwA2iYeNwMjOVaSfgnNV+vz31tpzBm2o/Y8qDq/szATMzmZhSsxf9Uac204von8xoKs+qI9uLZKH+I15xeE+UDQHuz+LfmWYQP4BD1jR56LoY8oovJ4x//Fmn8kngWyka0QdYrUHz4BRh7y1uqcq56wg== 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=cvboZ2c5E9BDYaBAEKfgRJ/kaPjU/YnkvFfTiuVV3fE=; b=RGgZpdatscUCPhrJqbZD12riIa+bUi6HzLaOlHIxf7B3eWha2c3daJZA+IIiGPQBq1Uosn4WR0UEEMH6lTvst8kC6sdIhf1eDr8/6/UBHGZKKv2UoCvTJ7gzL59I6f2VaBRvQE4FsKyqO3FY7BfdWG7OJzrIaIXUgUtXmCj05JVsDUZGH6OErMYxKC5ykaMa0/t1QQ6wY0SECv8UO9Rx91ABPtJE/XksJsrBdBy8W60yZuiBgPN0S0Wbanzcj9eneCSx+Wl1ERZFUB9hFiwHfr0bmJBh4Nhn3lpQRUTElV9uAR74+5QQC0uTqWtpw3IDeaypo6Aze8FPQIMx7s8V/w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 12.22.5.236) smtp.rcpttodomain=smartsharesystems.com smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject 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=cvboZ2c5E9BDYaBAEKfgRJ/kaPjU/YnkvFfTiuVV3fE=; b=BIQKBPFW+kafhN0abqPy8hWS+FhdyC/X2m7Y11SZI7I2fzWUPJYCQyOvjSVoEDBG6NRcEYtLpo2bi6qyYEDcMxyqD4F8XwfsGC8x+i2sN8xHDVu5z/2jRZ9oFKYhJ6nwogEWAGndIss+gg5eVlAp4zF+fEDi/xpGEIOufXyYtuyNU8q5NPeLwO8FDEmOqAGMJtixxKBWVyvW6BauV8nA06CFHOht1xiKOTSdT36Kz1Whz+hU7r3K6PtZVQjyNzn2L+l+aSVbxNeD342jAsSZdbrmEiCXfbQ9OaWe928LU09tMcbbjch4BeEJC9SiysDMrxEcvgRbIRoRp4oapL0OjA== Received: from DM6PR08CA0015.namprd08.prod.outlook.com (2603:10b6:5:80::28) by BYAPR12MB2597.namprd12.prod.outlook.com (2603:10b6:a03:6e::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5438.22; Wed, 20 Jul 2022 08:25:08 +0000 Received: from DM6NAM11FT017.eop-nam11.prod.protection.outlook.com (2603:10b6:5:80:cafe::76) by DM6PR08CA0015.outlook.office365.com (2603:10b6:5:80::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5438.14 via Frontend Transport; Wed, 20 Jul 2022 08:25:08 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 12.22.5.236) 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 12.22.5.236 as permitted sender) receiver=protection.outlook.com; client-ip=12.22.5.236; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (12.22.5.236) by DM6NAM11FT017.mail.protection.outlook.com (10.13.172.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.5458.17 via Frontend Transport; Wed, 20 Jul 2022 08:25:07 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by DRHQMAIL109.nvidia.com (10.27.9.19) with Microsoft SMTP Server (TLS) id 15.0.1497.32; Wed, 20 Jul 2022 08:25:06 +0000 Received: from nvidia.com (10.126.231.35) by rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.26; Wed, 20 Jul 2022 01:25:04 -0700 From: Xueming Li To: Subendu Santra CC: , Stephen Hemminger , =?UTF-8?q?Morten=20Br=C3=B8rup?= , dpdk stable Subject: patch 'app/procinfo: show all non-owned ports' has been queued to stable release 20.11.6 Date: Wed, 20 Jul 2022 11:21:07 +0300 Message-ID: <20220720082132.3954126-38-xuemingl@nvidia.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20220720082132.3954126-1-xuemingl@nvidia.com> References: <20220621080301.2315720-1-xuemingl@nvidia.com> <20220720082132.3954126-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [10.126.231.35] X-ClientProxiedBy: rnnvmail202.nvidia.com (10.129.68.7) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 97117b12-5558-4956-a0eb-08da6a295ab0 X-MS-TrafficTypeDiagnostic: BYAPR12MB2597:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: =?utf-8?B?T29tNjFrYXd1S3hBbmNqMUNUczZSaHNrS3p0NVlNRGRHRTRXRVdaZUZsLzgx?= =?utf-8?B?cVRmaEFlT1gxUnU0aWEvRHV1MlFPeW95VnBZcEErWS9yZ1lPZTNvWlQ0Q29m?= =?utf-8?B?UC9xSkVxNldLUHRLa1pRV1dySFZhRXRpOUJFUC9iMUVvUTNTVmRvZmdSR1oy?= =?utf-8?B?S2RZTzZoM3lPYzNPNTRoYkw4YjhycXM5dmdxaVJuVXFIRGJ0YVUzS2NPMlB6?= =?utf-8?B?Mmo3NitDcC81NXowV0k5K2xzU1dGOWd3OE1xdGZwUUN6Y3BFZHVtTWhocUha?= =?utf-8?B?YW9aa0ZCVGZhUWl2cUJMV3R2TnZqK3VUcytMUlRkckpnSUF2VjlkNzRQYkFi?= =?utf-8?B?NlhnNUFhNkdnUERlVTZRdEVPd0ErSnU2dXZuMVdMQmY4WUlJdnNwQUtDSjRs?= =?utf-8?B?clkvK0JZMlgwalVKaFBXclFiN1NKQVppbERXZ0kzaHpqc21HN2tHVjFGcnlk?= =?utf-8?B?UE4rZkNTalF6MkVmbXFhTnM3T3NWdFFha2c3eXUvQ0dzTnpibkpqVWQ2MVQ0?= =?utf-8?B?c0dUU25udXJITGJtN3dyNlZKVGo0ZU5GU293dS9pWGN0b3NrVGZRdkVrYUFR?= =?utf-8?B?ZFo2TmMrYlBGOU5Lam9KaWVsSDFncldLUHg0Wi9IVDlSdTdseWF1YkJOWWVE?= =?utf-8?B?eW50U3F5ZjQvYWFCRFQwOUxoNU9oU3hiNjlROXdxcXhaVzZQUEVyVzk0SmE3?= =?utf-8?B?K3FqSE9xYlVremJ5T3JrajBhaUxRSGJhME5LUzRUSVVMOHJoL0dwRVE1VHJa?= =?utf-8?B?L2cweEZJa1Byb2x1WFRJSjI2M1psOUJHbVJ5bUs3S0hnZUZiMlRPeStLODQy?= =?utf-8?B?WFpacERTQmoyRWlSMHdoQzhFWkhkdU5qK2dhVkRuZlkzNStGSHJaNzBPeEFz?= =?utf-8?B?S3FabXdpeSt6SVBZUXZndERSSVRXQnFUc09PTmdOUVdxVUljU1owK2EvcE1i?= =?utf-8?B?NkF5MVV2bEVmb0Y2SWQyVm1uNnJpejRqbXFGbVVZM0Z0eHFXSVRHN1hBYUt1?= =?utf-8?B?L3VVVVh0OXFINFlZdTNTcS9jUHpSbVpZcWxKNEM1WTB4Y1ZXeFFKRnliQW5G?= =?utf-8?B?eXZQOTk5a2JUNkxONFM5OW90R0JNN1JybnI0bEhGYm1JSWhXT1NmZkJnbUxH?= =?utf-8?B?ZVZ3ZXoxOXIxbEMyRzdaSHdONjBDSDBZcjBIN1Z1Y1prbS9KVmF5ZzZuRE5j?= =?utf-8?B?VXNHWFdRR1NZaTc5TXN2c1R2enZUSmQ1VzFQVnVyWlZuQnUyU011cGJTME9n?= =?utf-8?B?VzdiVGtwRzZwbjZ6ZTQ5eHlSREpnZkZhaVI4Q2dYTENkMVZzdz09?= X-Forefront-Antispam-Report: CIP:12.22.5.236; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:InfoNoRecords; CAT:NONE; SFS:(13230016)(4636009)(376002)(136003)(396003)(39860400002)(346002)(46966006)(40470700004)(36840700001)(316002)(82310400005)(4326008)(8936002)(2906002)(8676002)(36756003)(53546011)(70586007)(70206006)(81166007)(40460700003)(7696005)(82740400003)(6916009)(356005)(41300700001)(83380400001)(26005)(55016003)(2616005)(1076003)(426003)(186003)(66574015)(16526019)(336012)(6286002)(5660300002)(36860700001)(47076005)(478600001)(86362001)(40480700001)(966005)(54906003)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jul 2022 08:25:07.2824 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 97117b12-5558-4956-a0eb-08da6a295ab0 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[12.22.5.236]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: DM6NAM11FT017.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR12MB2597 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 Hi, FYI, your patch has been queued to stable release 20.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 07/22/22. 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/ef31c19b768d1c70efacc542287618ec324a6920 Thanks. Xueming Li --- >From ef31c19b768d1c70efacc542287618ec324a6920 Mon Sep 17 00:00:00 2001 From: Subendu Santra Date: Tue, 24 May 2022 22:46:05 -0700 Subject: [PATCH] app/procinfo: show all non-owned ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Xueming Li [ upstream commit 379e1d62f1d6d29315fc2063c71cbda3f63fe38b ] Show all non-owned ports when no port mask is specified. The show-port option, without the mask option, was showing only the last non-owned port. Show all the non-owned ports instead. Fixes: 1dd6cffb6571 ("app/procinfo: provide way to request info on owned ports") Signed-off-by: Subendu Santra Acked-by: Stephen Hemminger Acked-by: Morten Brørup --- app/proc-info/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/proc-info/main.c b/app/proc-info/main.c index 2d1bf24f1c..40bfbefad8 100644 --- a/app/proc-info/main.c +++ b/app/proc-info/main.c @@ -1403,10 +1403,10 @@ main(int argc, char **argv) if (nb_ports == 0) rte_exit(EXIT_FAILURE, "No Ethernet ports - bye\n"); - /* If no port mask was specified, then show non-owned ports */ + /* If no port mask was specified, then show all non-owned ports */ if (enabled_port_mask == 0) { RTE_ETH_FOREACH_DEV(i) - enabled_port_mask = 1ul << i; + enabled_port_mask |= 1ul << i; } for (i = 0; i < RTE_MAX_ETHPORTS; i++) { -- 2.35.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2022-07-20 15:01:00.552527422 +0800 +++ 0038-app-procinfo-show-all-non-owned-ports.patch 2022-07-20 15:00:58.744333776 +0800 @@ -1 +1 @@ -From 379e1d62f1d6d29315fc2063c71cbda3f63fe38b Mon Sep 17 00:00:00 2001 +From ef31c19b768d1c70efacc542287618ec324a6920 Mon Sep 17 00:00:00 2001 @@ -7,0 +8,3 @@ +Cc: Xueming Li + +[ upstream commit 379e1d62f1d6d29315fc2063c71cbda3f63fe38b ] @@ -16 +18,0 @@ -Cc: stable@dpdk.org @@ -26 +28 @@ -index 56070a3317..e1ccdbbaa5 100644 +index 2d1bf24f1c..40bfbefad8 100644 @@ -29 +31 @@ -@@ -1504,10 +1504,10 @@ main(int argc, char **argv) +@@ -1403,10 +1403,10 @@ main(int argc, char **argv)